|
|
| version 1.8, 2012/07/25 15:24:20 | version 1.9, 2012/08/01 00:39:11 |
|---|---|
| Line 123 int cfgCreateConfig(const char *csConfigName, cfg_root | Line 123 int cfgCreateConfig(const char *csConfigName, cfg_root |
| int whitespace); | int whitespace); |
| /* | /* |
| * cfgReadLines() - Read custom lines and add new item at config root | |
| * | |
| * @f = File resource | |
| * @delim = Custom delimiter, if =NULL default is '=' | |
| * @end = Custom user end of file, if =NULL default is EOF | |
| * @cfg = Config root | |
| * return: -1 error or 0 ok | |
| */ | |
| int cfgReadLines(FILE *f, const char *delim, const char *end, | |
| cfg_root_t * __restrict cfg); | |
| /* | |
| * cfgReadConfig() - Read file and add new item at config root | * cfgReadConfig() - Read file and add new item at config root |
| * | * |
| * @f = File resource | * @f = File resource |