libini_config 0.6.2
Loading...
Searching...
No Matches
Colliding values come from two sections

Macros

#define INI_MV2S_OVERWRITE   0x0000
 Value with same key is overwritten.
 
#define INI_MV2S_ERROR   0x0010
 Collision causes error.
 
#define INI_MV2S_PRESERVE   0x0020
 Second value is discarded.
 
#define INI_MV2S_ALLOW   0x0030
 Duplicates are allowed.
 
#define INI_MV2S_DETECT   0x0040
 Duplicates are allowed but errors are logged.
 

Detailed Description

Flags that define collision resolution logic between two values that come from two sections with the same name. These flags should be used during parsing to handle duplicate keys coming from the same section scattered across the ini file. These flags also can be used to specify the rules of merging values that come from two different configuration files.