]> wimlib.net Git - wimlib/blobdiff - include/wimlib/wim.h
Cache compression type in WIMStruct and wim_lookup_table_entry
[wimlib] / include / wimlib / wim.h
index a2d664eaf07d54e0f4decaca423fd3f719d1fc88..57adebde7522d7f780276865045215ccf3db700c 100644 (file)
@@ -55,6 +55,9 @@ struct WIMStruct {
        u8 refcnts_ok : 1;
 
        u8 wim_locked : 1;
+
+       /* One of WIMLIB_COMPRESSION_TYPE_*, cached from the header flags. */
+       u8 compression_type : 2;
 };
 
 extern void