]> wimlib.net Git - wimlib/blobdiff - include/wimlib/resource.h
Allow writing multiple packed resources per WIM
[wimlib] / include / wimlib / resource.h
index 38ce568c6a210b6c1bd0866c14f90987ea5ddb63..b2ba851b3a7819e1b95ac6ce2d642f9462a5b279 100644 (file)
@@ -166,8 +166,8 @@ struct alt_chunk_table_header_disk {
 
        /* Compression format used for compressed chunks:
         * 0 = None
-        * 1 = LZX
-        * 2 = XPRESS
+        * 1 = XPRESS
+        * 2 = LZX
         * 3 = LZMS
         *
         * This overrides the compression type specified by the WIM header.  */
@@ -203,6 +203,10 @@ extern int
 wim_reshdr_to_data(const struct wim_reshdr *reshdr,
                   WIMStruct *wim, void **buf_ret);
 
+extern int
+wim_reshdr_to_hash(const struct wim_reshdr *reshdr, WIMStruct *wim,
+                  u8 hash[SHA1_HASH_SIZE]);
+
 extern int
 skip_wim_stream(struct wim_lookup_table_entry *lte);