]> wimlib.net Git - wimlib/blobdiff - src/xml.c
Add wim_info_get_wimboot()
[wimlib] / src / xml.c
index dd7de12ea40b617fe866f98e83fee5e38a42854e..9ef6f65f12cdc7be084a4bcdf231f45fb45cd686 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -174,6 +174,12 @@ wim_info_set_wimboot(struct wim_info *info, int image, bool value)
        info->images[image - 1].wimboot = value;
 }
 
        info->images[image - 1].wimboot = value;
 }
 
+bool
+wim_info_get_wimboot(const struct wim_info *info, int image)
+{
+       return info->images[image - 1].wimboot;
+}
+
 /* Architecture constants are from w64 mingw winnt.h  */
 #define PROCESSOR_ARCHITECTURE_INTEL 0
 #define PROCESSOR_ARCHITECTURE_MIPS 1
 /* Architecture constants are from w64 mingw winnt.h  */
 #define PROCESSOR_ARCHITECTURE_INTEL 0
 #define PROCESSOR_ARCHITECTURE_MIPS 1