]> wimlib.net Git - wimlib/blobdiff - include/wimlib/resource.h
Cache compression format in 'struct wim_resource_spec'
[wimlib] / include / wimlib / resource.h
index 488ea6a99f2c2a8ddeec357ef69d8e7091ecf541..38ce568c6a210b6c1bd0866c14f90987ea5ddb63 100644 (file)
@@ -52,6 +52,13 @@ struct wim_resource_spec {
 
        /* Temporary flag.  */
        u32 raw_copy_ok : 1;
+
+       /* Compression type of this resource.  */
+       u32 compression_type : 22;
+
+       /* Compression chunk size of this resource.  Irrelevant if the resource
+        * is uncompressed.  */
+       u32 chunk_size;
 };
 
 /* On-disk version of a WIM resource header.  */