X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fdentry.h;h=f61060e4a3f113cb6b15d0e3f911dbdd8b67b532;hb=02c88b0b316e3ece9b488c7f078bf6a24c660928;hp=22f0aff55e7bfa562c378f2255d321917bdc4497;hpb=1fc939b7bd0b37900d974b1cd5b11df128df71f5;p=wimlib diff --git a/include/wimlib/dentry.h b/include/wimlib/dentry.h index 22f0aff5..f61060e4 100644 --- a/include/wimlib/dentry.h +++ b/include/wimlib/dentry.h @@ -151,16 +151,17 @@ 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 or contains invalid - * characters). Otherwise this will always be 0. */ + * 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; - /* For extraction operations, this flag will be set on dentries in the - * tree being extracted. */ - u8 in_extraction_tree : 1; - /* During extraction extractions, this flag will be set after the * "skeleton" of the dentry has been extracted. */ u8 skeleton_extracted : 1; @@ -445,10 +446,16 @@ extern int set_dentry_name(struct wim_dentry *dentry, const tchar *new_name); +/* Note: the NTFS-3g headers define CASE_SENSITIVE, hence the WIMLIB prefix. */ typedef enum { - /* NTFS-3g headers define CASE_SENSITIVE... */ + /* Use either case-sensitive or case-insensitive search, depending on + * the variable @default_ignore_case. */ WIMLIB_CASE_PLATFORM_DEFAULT = 0, + + /* Use case-sensitive search. */ WIMLIB_CASE_SENSITIVE = 1, + + /* Use case-insensitive search. */ WIMLIB_CASE_INSENSITIVE = 2, } CASE_SENSITIVITY_TYPE;