libini_config  0.6.0
Macros

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
 Merge but log errors if duplicate sections are detected.
 

Detailed Description

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.