X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib.h;h=4743f0fa31f01aeb06b4b255534db36079456663;hp=7b4cb376680819449e292c88b9cf829a2e26b9ae;hb=a69a213a7f2727ea9db6442c54e9d4395845460f;hpb=e6f045aee3beec549744e7f1bd3ba04a75ed67e8 diff --git a/include/wimlib.h b/include/wimlib.h index 7b4cb376..4743f0fa 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -1757,6 +1757,16 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour */ #define WIMLIB_ADD_FLAG_SNAPSHOT 0x00008000 +/** + * Since wimlib v1.9.0: permit the library to discard file paths after the + * initial scan. If the application won't use + * WIMLIB_WRITE_FLAG_SEND_DONE_WITH_FILE_MESSAGES while writing the WIM archive, + * this flag can be used to allow the library to enable optimizations such as + * opening files by inode number rather than by path. Currently this only makes + * a difference on Windows. + */ +#define WIMLIB_ADD_FLAG_FILE_PATHS_UNNEEDED 0x00010000 + /** @} */ /** @addtogroup G_modifying_wims * @{ */ @@ -1896,9 +1906,6 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour * only allows the Administrator to create symbolic links. */ #define WIMLIB_EXTRACT_FLAG_STRICT_SYMLINKS 0x00008000 -/** Reserved for future use. */ -#define WIMLIB_EXTRACT_FLAG_RESUME 0x00010000 - /** For wimlib_extract_paths() and wimlib_extract_pathlist() only: Treat the * paths to extract as wildcard patterns ("globs") which may contain the * wildcard characters @c ? and @c *. The @c ? character matches any @@ -2237,12 +2244,6 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour */ #define WIMLIB_WRITE_FLAG_SOLID 0x00001000 -/** - * Deprecated: this is the old name for ::WIMLIB_WRITE_FLAG_SOLID, retained for - * source compatibility. - */ -#define WIMLIB_WRITE_FLAG_PACK_STREAMS WIMLIB_WRITE_FLAG_SOLID - /** * Send ::WIMLIB_PROGRESS_MSG_DONE_WITH_FILE messages while writing the WIM * file. This is only needed in the unusual case that the library user needs to