#include "wimlib/file_io.h"
struct wim_info;
-struct resource_entry;
+struct wim_reshdr;
extern u64
wim_info_get_total_bytes(const struct wim_info *info);
+extern u64
+wim_info_get_image_hard_link_bytes(const struct wim_info *info, int image);
+
extern u64
wim_info_get_image_total_bytes(const struct wim_info *info, int image);
extern int
write_wim_xml_data(WIMStruct *wim, int image,
- u64 total_bytes, struct resource_entry *out_res_entry,
+ u64 total_bytes, struct wim_reshdr *out_reshdr,
int write_resource_flags);
extern void
extern void
libxml_global_cleanup(void);
-#ifdef ENABLE_CUSTOM_MEMORY_ALLOCATOR
extern void
xml_set_memory_allocator(void *(*malloc_func)(size_t),
void (*free_func)(void *),
void *(*realloc_func)(void *, size_t));
-#endif
#endif