Andrew Bettison
4aac3637ed
Improve new config code, SORTED and NO_DUPLICATE flags
...
Config Object Model parser now returns bitmask result of CFxxx flags and only
allocates root node if the config file is non-empty.
Added emalloc_zero().
2012-11-30 12:32:30 +10:30
Andrew Bettison
f42292ffc6
Refactor emalloc() etc. into mem.c/.h
2012-11-29 17:12:43 +10:30
Andrew Bettison
3686a4ade4
Improve new config code to use "log.h"
...
With all the __whence/__WHENCE__ goodness, ready for integration into servald.
2012-11-29 16:44:06 +10:30
Andrew Bettison
2853d346f1
Re-organise new config code some more
...
Split into several source .c files, leave throw-away code in config_test.c.
2012-11-29 16:07:34 +10:30