MCPcopy Create free account
hub / github.com/Tencent/phxsql / ini_parse

Function ini_parse

phxcomm/configparser/inih-master/ini.cpp:172–182  ·  view source on GitHub ↗

See documentation in header file. */

Source from the content-addressed store, hash-verified

170
171/* See documentation in header file. */
172int ini_parse(const char* filename, ini_handler handler, void* user) {
173 FILE* file;
174 int error;
175
176 file = fopen(filename, "r");
177 if (!file)
178 return -1;
179 error = ini_parse_file(file, handler, user);
180 fclose(file);
181 return error;
182}
183

Callers 6

INIReaderMethod · 0.85
ReadFileMethod · 0.85
parseFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

ini_parse_fileFunction · 0.85

Tested by 1

parseFunction · 0.68