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);
* 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 */
/* +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 {