extern int write_xml_data(const struct wim_info *wim_info, int image, FILE *out,
u64 total_bytes, struct resource_entry *out_res_entry);
extern int write_xml_data(const struct wim_info *wim_info, int image, FILE *out,
u64 total_bytes, struct resource_entry *out_res_entry);