X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fdentry.h;h=1629111d83d1ccc5d662436aef09e7f0a2d00e98;hp=420557ceabb6c109dd7b7e41250b3b4fac16d86b;hb=8244af933d579b3dcd6245a6995d96a86e5ab322;hpb=c45322ae535237af2de3b6e4e58f5113c08f3a68 diff --git a/src/dentry.h b/src/dentry.h index 420557ce..1629111d 100644 --- a/src/dentry.h +++ b/src/dentry.h @@ -78,12 +78,16 @@ struct wim_ads_entry { * terminating null character. */ u16 stream_name_nbytes; - /* Stream name (UTF-16LE) */ - utf16lechar *stream_name; - /* Number to identify an alternate data stream even after it's possibly * been moved or renamed. */ u32 stream_id; + + /* Stream name (UTF-16LE) */ + utf16lechar *stream_name; + + /* Unused field. We read it into memory so we can write it out + * unchanged. */ + u64 unused; }; @@ -231,13 +235,20 @@ struct wim_inode { /* Used only in NTFS-mode extraction */ u8 i_dos_name_extracted : 1; + /* Set to 0 if reparse point fixups have been done. Otherwise set to 1. + * + * Note: this actually may reflect the SYMBOLIC_LINK_RELATIVE flag. */ u16 i_not_rpfixed; /* Number of alternate data streams associated with this inode */ u16 i_num_ads; - u16 i_rp_unknown_2; + /* Unused/unknown fields that we just read into memory so we can + * re-write them unchanged. */ + u64 i_unused_1; + u64 i_unused_2; u32 i_rp_unknown_1; + u16 i_rp_unknown_2; /* A hash of the file's contents, or a pointer to the lookup table entry * for this dentry if the lookup table entries have been resolved.