2 * PROJECT: ReactOS Setup Library
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: INI file parser that caches contents of INI file in memory.
5 * COPYRIGHT: Copyright 2002-2018 Royce Mitchell III
10 typedef struct _INICACHEKEY
15 struct _INICACHEKEY
*Next
;
16 struct _INICACHEKEY
*Prev
;
17 } INICACHEKEY
, *PINICACHEKEY
;
20 typedef struct _INICACHESECTION
24 PINICACHEKEY FirstKey
;
27 struct _INICACHESECTION
*Next
;
28 struct _INICACHESECTION
*Prev
;
29 } INICACHESECTION
, *PINICACHESECTION
;
32 typedef struct _INICACHE
34 PINICACHESECTION FirstSection
;
35 PINICACHESECTION LastSection
;
36 } INICACHE
, *PINICACHE
;
39 typedef struct _PINICACHEITERATOR
41 PINICACHESECTION Section
;
43 } INICACHEITERATOR
, *PINICACHEITERATOR
;
54 /* FUNCTIONS ****************************************************************/
57 IniCacheLoadFromMemory(
80 PINICACHESECTION Section
,
85 IniCacheFindFirstValue(
86 PINICACHESECTION Section
,
91 IniCacheFindNextValue(
92 PINICACHEITERATOR Iterator
,
98 PINICACHEITERATOR Iterator
);
103 PINICACHESECTION Section
,
104 PINICACHEKEY AnchorKey
,
105 INSERTION_TYPE InsertionType
,
110 IniCacheCreate(VOID
);
118 IniCacheAppendSection(