X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib.h;h=df0ec28fa9ea9982af40d6588612aa5eaae00029;hb=3de1ec66f778edda19865482d685bc6f4e17faf7;hp=9a5e4a3c6b6f3e6928782eb141813f43fc6f749c;hpb=4355f268543a3e79faefb4225c242fce32c49336;p=wimlib diff --git a/include/wimlib.h b/include/wimlib.h index 9a5e4a3c..df0ec28f 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -12,7 +12,7 @@ /** * @mainpage * - * This is the documentation for the library interface of wimlib 1.7.4, a C + * This is the documentation for the library interface of wimlib 1.8.0, a C * library for creating, modifying, extracting, and mounting files in the * Windows Imaging Format. This documentation is intended for developers only. * If you have installed wimlib and want to know how to use the @b wimlib-imagex @@ -376,10 +376,10 @@ #define WIMLIB_MAJOR_VERSION 1 /** Minor version of the library (for example, the 2 in 1.2.5). */ -#define WIMLIB_MINOR_VERSION 7 +#define WIMLIB_MINOR_VERSION 8 /** Patch version of the library (for example, the 5 in 1.2.5). */ -#define WIMLIB_PATCH_VERSION 4 +#define WIMLIB_PATCH_VERSION 0 #ifdef __cplusplus extern "C" { @@ -1449,7 +1449,11 @@ struct wimlib_resource_entry { * solid resource in the WIM. */ uint64_t raw_resource_compressed_size; - uint64_t reserved[2]; + /** If @p packed is 1, then this will specify the uncompressed size of + * the solid resource in the WIM. */ + uint64_t raw_resource_uncompressed_size; + + uint64_t reserved[1]; }; /** @@ -2218,7 +2222,7 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour #define WIMLIB_WRITE_FLAG_RETAIN_GUID 0x00000800 /** - * When writing streams in the resulting WIM file, combine multiple streams into + * When writing streams to the resulting WIM file, combine multiple streams into * a single compressed resource instead of compressing them independently. This * is also known as creating a "solid archive". This tends to produce a better * compression ratio at the cost of much slower random access. @@ -2240,7 +2244,7 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour * the WIM's main compression type and chunk size; you can have a WIM that * nominally uses LZX compression and 32768 byte chunks but actually contains * LZMS-compressed solid resources, for example. However, if including solid - * blocks, I suggest that you set the WIM's main compression type to LZMS as + * resources, I suggest that you set the WIM's main compression type to LZMS as * well, either by creating the WIM with * ::wimlib_create_new_wim(::WIMLIB_COMPRESSION_TYPE_LZMS, ...) or by calling * ::wimlib_set_output_compression_type(..., ::WIMLIB_COMPRESSION_TYPE_LZMS). @@ -4673,7 +4677,7 @@ wimlib_get_compressor_needed_memory(enum wimlib_compression_type ctype, * Therefore, it is a compressor-only parameter and does not need to be * passed to the decompressor. *
- * Since wimlib v1.7.5, this parameter can be OR-ed with the flag + * Since wimlib v1.8.0, this parameter can be OR-ed with the flag * ::WIMLIB_COMPRESSOR_FLAG_DESTRUCTIVE. This creates the compressor in a * mode where it is allowed to modify the input buffer. Specifically, in * this mode, if compression succeeds, the input buffer may have been