]> wimlib.net Git - wimlib/blobdiff - src/wimlib_internal.h
NTFS capture updates
[wimlib] / src / wimlib_internal.h
index b6a90bab71d16769f8c3fb84597859f253805b66..be4c60911648be2daee13604a5b90053698e4a49 100644 (file)
@@ -266,8 +266,10 @@ typedef struct WIMStruct {
                int add_flags;
                int write_flags;
                bool write_metadata;
-               ntfs_volume *ntfs_vol;
        };
+#ifdef WITH_NTFS_3G
+       ntfs_volume *ntfs_vol;
+#endif
 
        /* The currently selected image, indexed starting at 1.  If not 0,
         * subtract 1 from this to get the index of the current image in the
@@ -324,6 +326,8 @@ struct capture_config {
        struct pattern_list compression_exclusion_list;
        struct pattern_list alignment_list;
        char *config_str;
+       char *prefix;
+       size_t prefix_len;
 };
 
 /* hardlink.c */
@@ -351,9 +355,9 @@ extern int check_wim_integrity(WIMStruct *w, int show_progress, int *status);
 extern void destroy_image_metadata(struct image_metadata *imd,
                                   struct lookup_table *lt);
 extern bool exclude_path(const char *path,
-                        const struct capture_config *config);
+                        const struct capture_config *config,
+                        bool exclude_prefix);
 extern int do_add_image(WIMStruct *w, const char *dir, const char *name,
-                       const char *description, const char *flags_element,
                        const char *config_str, size_t config_len,
                        int flags,
                        int (*capture_tree)(struct dentry **, const char *,