Lines Matching refs:basekey
1149 cfg_get_options(CFGFILE *cfg, int section, const char *basekey, char *tag, in cfg_get_options() argument
1164 if (basekey == 0) { in cfg_get_options()
1169 rc = cfg_get_cstring(cfg, basekey, buf, CFG_MAX_BUF); in cfg_get_options()
1203 cfg_put_options(CFGFILE *cfg, int section, const char *basekey, char *tag, in cfg_put_options() argument
1226 if (cfg_get_cstring(cfg, basekey, buf, CFG_MAX_BUF) < 0) { in cfg_put_options()
1260 if (cfg_put_cstring(cfg, basekey, p, strlen(p)) < 0) { in cfg_put_options()
1292 if (cfg_put_cstring(cfg, basekey, buf, CFG_MAX_BUF) < 0) { in cfg_put_options()
1311 cfg_get_single_option(CFGFILE *cfg, int section, const char *basekey, char *tag, in cfg_get_single_option() argument
1332 if (cfg_get_cstring(cfg, basekey, buf, CFG_MAX_BUF) < 0) { in cfg_get_single_option()
1393 cfg_del_option(CFGFILE *cfg, int section, const char *basekey, char *tag) in cfg_del_option() argument
1412 if (cfg_get_cstring(cfg, basekey, buf, CFG_MAX_BUF) < 0) { in cfg_del_option()
1431 rc = cfg_put_cstring(cfg, basekey, p + 1, strlen(p + 1)); in cfg_del_option()
1433 rc = cfg_put_cstring(cfg, basekey, "-", 1); in cfg_del_option()
1459 return (cfg_put_cstring(cfg, basekey, buf, strlen(buf))); in cfg_del_option()