X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fxml.c;h=9ef6f65f12cdc7be084a4bcdf231f45fb45cd686;hb=7f7644340bc6ecf7d790114c46d697581661db49;hp=dd7de12ea40b617fe866f98e83fee5e38a42854e;hpb=86a852652706cfe53087ef839840171bed597ffd;p=wimlib diff --git a/src/xml.c b/src/xml.c index dd7de12e..9ef6f65f 100644 --- 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; } +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