summaryrefslogtreecommitdiffstats
path: root/ini/ini_defines.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow merging valuesDmitri Pal2010-12-211-0/+5
| | | | | | | | | | | | | | | | This patch is the first pass at merging functionality. It implements merging of values that belong to the same section. Patch includes: * Definition of merge flags in doxy format * Definition of the masks in internal header * Changes to parser to handle the merging of values. * Also swithed parser to not use ini_config.h as I want to switch implementation of the current interface to new interface at some point. * New unit test was created. * New config file for this unit test was added to ini.d Main code changes are in ini_parse.c
* Refactoring error reportingDmitri Pal2010-12-211-0/+6
| | | | Minor cleanup in the error reporting.
* Introducing configuration file objectDmitri Pal2010-09-221-6/+23
| | | | | | | | The patch contains two major pieces of work: * The beginning of the new INI interface significantly re-thought and reworked. * The implementation of the file object. Parsing was adjusted to use this object.
* Fixes to the value objectDmitri Pal2010-09-221-0/+11
| | | | | | | | | | | | * Removed the annoyong type casting in the serialization since there is a new function in the simplebuffer to addstring. * Changed the serialization code to not create simple buffer object but rather add to the passed in one. * Added serialization of the value that stores section * Started cleaning constants but then stopped since this effor should be done a bit later when the new high level ini config interface is better baked.
* Code restructuringDmitri Pal2010-04-261-0/+74
Time came to split ini_config.c into many much smaller pieces. 1) ini_parse.c - will have parsing functions 2) ini_get_value.c - will have single value interpretation functions 3) ini_get_array.c - will have array interpretation functions. 4) ini_print.c - error printing 5) ini_defines.h - common constants 6) ini_parse.h header for parsing functions 7) ini_list.c - will have list processing functions