libini_config  0.2.91
 All Data Structures Functions Groups Pages
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_ALLOW   0x0400
 Duplicates are allowed.
 
#define INI_MS_DETECT   0x0500
 Duplicates are allowed but errors are logged.
 

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 separate configuration files.