libini_config
0.6.1
|
Flags that define collision resolution logic between two sections. These flags should be used during parsing to handle duplicate sections scattered across the ini file. These flags also can be used to specify the rules of merging sections that come from two different configuration files. More...
Macros | |
#define | INI_MS_MERGE 0x0000 |
Sections are merged. | |
#define | INI_MS_ERROR 0x0100 |
Collision causes error. | |
#define | INI_MS_OVERWRITE 0x0200 |
First section is discarded. | |
#define | INI_MS_PRESERVE 0x0300 |
Second section is discarded. | |
#define | INI_MS_DETECT 0x0400 |
Log errors if duplicate sections are detected; non-exclusive. More... | |
Flags that define collision resolution logic between two sections. These flags should be used during parsing to handle duplicate sections scattered across the ini file. These flags also can be used to specify the rules of merging sections that come from two different configuration files.
#define INI_MS_DETECT 0x0400 |
Log errors if duplicate sections are detected; non-exclusive.
This defaults to MERGE, but can be used with OVERWRITE and PRESERVE