int extract_flags;
int add_flags;
int write_flags;
+ bool write_metadata;
};
/* The currently selected image, indexed starting at 1. If not 0,
* subtract 1 from this to get the index of the current image in the
* image_metadata array. */
int current_image;
-
- bool write_metadata;
} WIMStruct;
extern int read_uncompressed_resource(FILE *fp, u64 offset, u64 size, u8 buf[]);
extern int read_wim_resource(const struct lookup_table_entry *lte, u8 buf[],
- size_t size, u64 offset);
+ size_t size, u64 offset, bool raw);
extern int read_full_wim_resource(const struct lookup_table_entry *lte, u8 buf[]);