Lines Matching defs:title
179 return cfg->title;
330 DLLIMPORT cfg_t *cfg_opt_gettsec(cfg_opt_t *opt, const char *title)
334 assert(opt && title);
341 assert(sec && sec->title);
344 if(strcasecmp(title, sec->title) == 0)
349 if(strcmp(title, sec->title) == 0)
356 DLLIMPORT cfg_t *cfg_gettsec(cfg_t *cfg, const char *name, const char *title)
358 return cfg_opt_gettsec(cfg_getopt(cfg, name), title);
564 /* Check if there already is a section with the same title.
568 * non-NULL section title. */
576 if(strcasecmp(value, sec->title) == 0)
581 if(strcmp(value, sec->title) == 0)
587 cfg_error(cfg, _("found duplicate title '%s'"), value);
678 val->section->title = value;
967 case 6: /* expecting a title for a section */
970 cfg_error(cfg, _("missing title for section '%s'"),
1218 free(cfg->title);