• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/confuse-2.7/src/

Lines Matching refs:cfg_t

49 extern int cfg_yylex(cfg_t *cfg);
50 extern int cfg_lexer_include(cfg_t *cfg, const char *fname);
63 static int cfg_parse_internal(cfg_t *cfg, int level,
131 DLLIMPORT cfg_opt_t *cfg_getopt(cfg_t *cfg, const char *name)
134 cfg_t *sec = cfg;
176 DLLIMPORT const char *cfg_title(cfg_t *cfg)
183 DLLIMPORT const char *cfg_name(cfg_t *cfg)
204 DLLIMPORT unsigned int cfg_size(cfg_t *cfg, const char *name)
220 DLLIMPORT signed long cfg_getnint(cfg_t *cfg, const char *name,
226 DLLIMPORT signed long cfg_getint(cfg_t *cfg, const char *name)
242 DLLIMPORT double cfg_getnfloat(cfg_t *cfg, const char *name,
248 DLLIMPORT double cfg_getfloat(cfg_t *cfg, const char *name)
264 DLLIMPORT cfg_bool_t cfg_getnbool(cfg_t *cfg, const char *name,
270 DLLIMPORT cfg_bool_t cfg_getbool(cfg_t *cfg, const char *name)
286 DLLIMPORT char *cfg_getnstr(cfg_t *cfg, const char *name, unsigned int index)
291 DLLIMPORT char *cfg_getstr(cfg_t *cfg, const char *name)
307 DLLIMPORT void *cfg_getnptr(cfg_t *cfg, const char *name, unsigned int index)
312 DLLIMPORT void *cfg_getptr(cfg_t *cfg, const char *name)
317 DLLIMPORT cfg_t *cfg_opt_getnsec(cfg_opt_t *opt, unsigned int index)
325 DLLIMPORT cfg_t *cfg_getnsec(cfg_t *cfg, const char *name, unsigned int index)
330 DLLIMPORT cfg_t *cfg_opt_gettsec(cfg_opt_t *opt, const char *title)
340 cfg_t *sec = cfg_opt_getnsec(opt, i);
356 DLLIMPORT cfg_t *cfg_gettsec(cfg_t *cfg, const char *name, const char *title)
361 DLLIMPORT cfg_t *cfg_getsec(cfg_t *cfg, const char *name)
422 static void cfg_init_defaults(cfg_t *cfg)
531 cfg_setopt(cfg_t *cfg, cfg_opt_t *opt, char *value)
573 cfg_t *sec = opt->values[i]->section;
670 val->section = calloc(1, sizeof(cfg_t));
719 DLLIMPORT cfg_errfunc_t cfg_set_error_function(cfg_t *cfg,
730 DLLIMPORT void cfg_error(cfg_t *cfg, const char *fmt, ...)
751 static int call_function(cfg_t *cfg, cfg_opt_t *opt, cfg_opt_t *funcopt)
769 static int cfg_parse_internal(cfg_t *cfg, int level,
1038 DLLIMPORT int cfg_parse_fp(cfg_t *cfg, FILE *fp)
1056 DLLIMPORT int cfg_parse(cfg_t *cfg, const char *filename)
1073 DLLIMPORT int cfg_parse_buf(cfg_t *cfg, const char *buf)
1093 DLLIMPORT cfg_t *cfg_init(cfg_opt_t *opts, cfg_flag_t flags)
1095 cfg_t *cfg;
1097 cfg = calloc(1, sizeof(cfg_t));
1205 DLLIMPORT void cfg_free(cfg_t *cfg)
1224 DLLIMPORT int cfg_include(cfg_t *cfg, cfg_opt_t *opt, int argc,
1269 DLLIMPORT void cfg_setnint(cfg_t *cfg, const char *name,
1275 DLLIMPORT void cfg_setint(cfg_t *cfg, const char *name, long int value)
1289 DLLIMPORT void cfg_setnfloat(cfg_t *cfg, const char *name,
1295 DLLIMPORT void cfg_setfloat(cfg_t *cfg, const char *name, double value)
1309 DLLIMPORT void cfg_setnbool(cfg_t *cfg, const char *name,
1315 DLLIMPORT void cfg_setbool(cfg_t *cfg, const char *name, cfg_bool_t value)
1330 DLLIMPORT void cfg_setnstr(cfg_t *cfg, const char *name,
1336 DLLIMPORT void cfg_setstr(cfg_t *cfg, const char *name, const char *value)
1372 DLLIMPORT void cfg_setlist(cfg_t *cfg, const char *name,
1386 DLLIMPORT void cfg_addlist(cfg_t *cfg, const char *name,
1450 cfg_t *sec;
1531 DLLIMPORT void cfg_print_indent(cfg_t *cfg, FILE *fp, int indent)
1539 DLLIMPORT void cfg_print(cfg_t *cfg, FILE *fp)
1556 DLLIMPORT cfg_print_func_t cfg_set_print_func(cfg_t *cfg, const char *name,
1571 cfg_t *seccfg;
1627 DLLIMPORT cfg_validate_callback_t cfg_set_validate_func(cfg_t *cfg,