Home
last modified time | relevance | path

Searched refs:g_configor (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/porting/linux/user/ldso/
Dns_config.c357 static ns_configor g_configor; variable
380 for (i=0; i<g_configor.sections->num; i++) { in config_get_kvs()
381 if (!strcmp(g_configor.sections->names[i], sname)) { in config_get_kvs()
382 return g_configor.sections->kvs[i]; in config_get_kvs()
436 if (!g_configor.kvs) { in config_get_value()
440 for (i=0; i<g_configor.kvs->num; i++) { in config_get_value()
441 if (!strcmp(g_configor.kvs->key[i], key)) return g_configor.kvs->val[i]; in config_get_value()
482 g_configor.exe_path = ld_strdup(exe_path); in config_parse()
485 g_configor.file_path = ld_strdup(fpath); in config_parse()
486 g_configor.sections = config_load(fpath); in config_parse()
[all …]
/third_party/musl/ldso/linux/
Dns_config.c357 static ns_configor g_configor; variable
380 for (i = 0; i < g_configor.sections->num; i++) { in config_get_kvs()
381 if (!strcmp(g_configor.sections->names[i], sname)) { in config_get_kvs()
382 return g_configor.sections->kvs[i]; in config_get_kvs()
436 if (!g_configor.kvs) { in config_get_value()
440 for (i = 0; i < g_configor.kvs->num; i++) { in config_get_value()
441 if (!strcmp(g_configor.kvs->key[i], key)) return g_configor.kvs->val[i]; in config_get_value()
482 g_configor.exe_path = ld_strdup(exe_path); in config_parse()
485 g_configor.file_path = ld_strdup(fpath); in config_parse()
486 g_configor.sections = config_load(fpath); in config_parse()
[all …]