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
struct pattern_list compression_exclusion_list;
struct pattern_list alignment_list;
char *config_str;
+ char *prefix;
+ size_t prefix_len;
};
/* hardlink.c */
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 *,