X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fdentry.h;h=90127d43d71e75054682dfdc4e0f7c1667ec4ab6;hb=013617d583c028b1741bfc05c22e7a626b394174;hp=0466fb5ad17862ac45edb5d9061859a78264a6d2;hpb=a1d2684c03d066f103ae50485f48512613b84575;p=wimlib diff --git a/include/wimlib/dentry.h b/include/wimlib/dentry.h index 0466fb5a..90127d43 100644 --- a/include/wimlib/dentry.h +++ b/include/wimlib/dentry.h @@ -76,17 +76,6 @@ struct wim_dentry { * including the terminating null character. */ u32 full_path_nbytes; - /* For extraction operations, this flag will be set on dentries in the - * tree being extracted. Otherwise this will always be 0. */ - u8 in_extraction_tree : 1; - - /* For extraction operations, this flag will be set when a dentry in the - * tree being extracted is not being extracted for some reason (file - * type not supported by target filesystem, contains invalid characters, - * or not in one of the multiple sub-trees being extracted). Otherwise - * this will always be 0. */ - u8 extraction_skipped : 1; - /* During extraction extractions, this flag will be set after the * "skeleton" of the dentry has been extracted. */ u8 skeleton_extracted : 1; @@ -97,14 +86,19 @@ struct wim_dentry { * always be 0. */ u8 is_win32_name : 1; + /* Temporary flag; always reset to 0 when done using. */ u8 tmp_flag : 1; - u8 was_hardlinked : 1; + /* Set to 1 if this name was extracted as a link, so no streams need to + * be extracted to it. */ + u8 was_linked : 1; - /* Temporary list field used to make lists of dentries in a few places. - * */ + /* Temporary list field */ struct list_head tmp_list; + /* Links list of dentries being extracted */ + struct list_head extraction_list; + /* Linked list node that places this dentry in the list of aliases for * its inode (d_inode) */ struct list_head d_alias; @@ -219,12 +213,6 @@ wim_pathname_to_stream(WIMStruct *wim, u16 *stream_idx_ret); #endif -extern int -print_dentry(struct wim_dentry *dentry, void *lookup_table); - -extern int -print_dentry_full_path(struct wim_dentry *entry, void *ignore); - extern int calculate_dentry_full_path(struct wim_dentry *dentry);