X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fxml.h;h=8562a0a9756e3dcb9e31ffa74e65a96d61373c31;hb=eea89b54f1000f00961a7154e526484c53479030;hp=a4fd115247d391992cc121c7235e266d23222420;hpb=f24f8409b041727329e980fdc81e84a7c9b00e5b;p=wimlib diff --git a/include/wimlib/xml.h b/include/wimlib/xml.h index a4fd1152..8562a0a9 100644 --- a/include/wimlib/xml.h +++ b/include/wimlib/xml.h @@ -2,7 +2,6 @@ #define _WIMLIB_XML_H #include "wimlib/types.h" -#include "wimlib/file_io.h" struct wim_info; struct wim_reshdr; @@ -19,6 +18,12 @@ wim_info_get_image_total_bytes(const struct wim_info *info, int image); extern unsigned wim_info_get_num_images(const struct wim_info *info); +extern void +wim_info_set_wimboot(struct wim_info *info, int image, bool value); + +extern bool +wim_info_get_wimboot(const struct wim_info *info, int image); + extern int xml_export_image(const struct wim_info *old_wim_info, int image, struct wim_info **new_wim_info_p, @@ -60,11 +65,9 @@ libxml_global_init(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 +#endif /* _WIMLIB_XML_H */