X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib.h;h=4743f0fa31f01aeb06b4b255534db36079456663;hb=a69a213a7f2727ea9db6442c54e9d4395845460f;hp=4279ac21a0a31a90cd230009a89b10cb7b8cf13d;hpb=0c63eed44b5bdd46f98a29169c7b3d57732f41fd;p=wimlib diff --git a/include/wimlib.h b/include/wimlib.h index 4279ac21..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 * @{ */