INI configuration parser for XTLDR

This commit is contained in:
Jozef Nagy
2023-12-03 18:23:50 +01:00
parent a66456979a
commit cb7f4deb37
5 changed files with 133 additions and 0 deletions

View File

@@ -11,6 +11,19 @@
#include <xttypes.h>
typedef struct _XTBL_INI_SECTION
{
LIST_ENTRY Flink;
LIST_ENTRY Options;
PWCHAR SectionName;
} XTBL_INI_SECTION, *PXTBL_INI_SECTION;
typedef struct _XTBL_INI_OPTION
{
LIST_ENTRY Flink;
PWCHAR Name;
PWCHAR Value;
} XTBL_INI_OPTION, *PXTBL_INI_OPTION;
/* XTLDR configuration data */
typedef struct _XTBM_CONFIGURATION