]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
Allow 'wimextract' to use wildcard paths on command line
[wimlib] / include / wimlib.h
index c2c32a8c164712ed6001e788d280676726e48c41..8e851aeb5f20cd312d5f9d7d064a73b6a98b5fe4 100644 (file)
@@ -1517,6 +1517,12 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour
 /** Do not extract Windows file attributes such as readonly, hidden, etc.  */
 #define WIMLIB_EXTRACT_FLAG_NO_ATTRIBUTES              0x00100000
 
+/** For wimlib_extract_paths() and wimlib_extract_pathlist() only:  Do not
+ * preserve the directory structure of the archive when extracting --- that is,
+ * place each extracted files or directory tree directly in the target
+ * directory.  */
+#define WIMLIB_EXTRACT_FLAG_NO_PRESERVE_DIR_STRUCTURE  0x00200000
+
 /** @} */
 /** @ingroup G_mounting_wim_images
  * @{ */