]> wimlib.net Git - wimlib/blobdiff - src/wimlib_internal.h
Relative file exclusion
[wimlib] / src / wimlib_internal.h
index b6a90bab71d16769f8c3fb84597859f253805b66..a8ef2dc1e3addd9ccaf8f3ca1857f19e9d2ff05f 100644 (file)
@@ -324,6 +324,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,7 +353,8 @@ 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,