MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ini_parse

Function ini_parse

lib/ff_ini_parser.c:184–195  ·  view source on GitHub ↗

See documentation in header file. */

Source from the content-addressed store, hash-verified

182
183/* See documentation in header file. */
184int ini_parse(const char* filename, ini_handler handler, void* user)
185{
186 FILE* file;
187 int error;
188
189 file = fopen(filename, "r");
190 if (!file)
191 return -1;
192 error = ini_parse_file(file, handler, user);
193 fclose(file);
194 return error;
195}

Callers 1

ff_load_configFunction · 0.85

Calls 1

ini_parse_fileFunction · 0.85

Tested by

no test coverage detected