]> wimlib.net Git - wimlib/blobdiff - include/wimlib/resource.h
Clean up pipable WIM extraction
[wimlib] / include / wimlib / resource.h
index 98305f009e8e7ecd371e34a7e460c4a767cda121..39b32dec89af13d9bc1802b3939eccebcbe022cd 100644 (file)
@@ -133,10 +133,6 @@ extern void
 wim_res_hdr_to_desc(const struct wim_reshdr *reshdr, WIMStruct *wim,
                    struct wim_resource_descriptor *rdesc);
 
-extern void
-wim_res_desc_to_hdr(const struct wim_resource_descriptor *rdesc,
-                   struct wim_reshdr *reshdr);
-
 extern void
 get_wim_reshdr(const struct wim_reshdr_disk *disk_reshdr,
               struct wim_reshdr *reshdr);
@@ -301,7 +297,7 @@ write_metadata_resource(WIMStruct *wim, int image, int write_resource_flags);
  * checking.  */
 #define PWM_BLOB_MAGIC 0x2b9b9ba2443db9d8ULL
 
-/* Header that precedes each resource in a pipable WIM.  */
+/* Header that precedes each blob in a pipable WIM.  */
 struct pwm_blob_hdr {
        le64 magic;                     /* +0   */
        le64 uncompressed_size;         /* +8   */
@@ -310,11 +306,6 @@ struct pwm_blob_hdr {
                                        /* +40  */
 } _packed_attribute;
 
-/* Extra flag for the @flags field in `struct pwm_blob_hdr': Indicates that the
- * SHA-1 message digest of the stream has not been calculated.  Currently only
- * used for the XML data.  */
-#define PWM_RESHDR_FLAG_UNHASHED         0x100
-
 /* Header that precedes each chunk of a compressed resource in a pipable WIM.
  */
 struct pwm_chunk_hdr {