X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib.h;h=02f7473288c814b386fe2682f7c78d2125e4d2f7;hp=16f4ba9c2813be433b11c7b330c2c7ede4f249e7;hb=d55cda59032e0abe5f71cd6f16ade943d2713fee;hpb=e8c3ca2d1d0cac3d64985b45a9f654d2029a7518 diff --git a/include/wimlib.h b/include/wimlib.h index 16f4ba9c..02f74732 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -722,6 +722,18 @@ struct wimlib_capture_config { /** Extract files to standard output rather than to the filesystem. */ #define WIMLIB_EXTRACT_FLAG_TO_STDOUT 0x00000400 +/** Instead of ignoring files and directories with names that cannot be + * represented on the current platform (note: Windows has more restrictions on + * filenames than UNIX), try to replace characters or append junk to the names + * so that they can be extracted in some form. */ +#define WIMLIB_EXTRACT_FLAG_REPLACE_INVALID_FILENAMES 0x00000800 + +/** On Windows, when there exist two or more files with the same case + * insensitive name (but different case sensitive names), try to extract them + * all by appending junk to the end of them, rather than extracting an + * arbitrarily only one. */ +#define WIMLIB_EXTRACT_FLAG_ALL_CASE_CONFLICTS 0x00001000 + /****************************** * WIMLIB_MOUNT_FLAG_* ******************************/ @@ -779,6 +791,9 @@ struct wimlib_capture_config { /** See ::WIMLIB_WRITE_FLAG_RECOMPRESS */ #define WIMLIB_UNMOUNT_FLAG_RECOMPRESS 0x00000008 +/** Do a "lazy" unmount (detach filesystem immediately, even if busy) */ +#define WIMLIB_UNMOUNT_FLAG_LAZY 0x00000010 + /****************************** * WIMLIB_WRITE_FLAG_* ******************************/