Lines Matching refs:sections

37     list_t *sections;  member
61 config->sections = list_new(section_free); in config_new_empty()
62 if (!config->sections) { in config_new_empty()
108 list_free(config->sections); in config_free()
132 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in config_has_key_in_section()
225 list_append(config->sections, sec); in config_set_string()
227 list_prepend(config->sections, sec); in config_set_string()
254 return list_remove(config->sections, sec); in config_remove_section()
262 list_node_t *first_node = list_begin(config->sections); in config_update_newest_section()
271 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in config_update_newest_section()
274 list_delete(config->sections, sec); in config_update_newest_section()
275 list_prepend(config->sections, sec); in config_update_newest_section()
307 return (const config_section_node_t *)list_begin(config->sections); in config_section_begin()
313 return (const config_section_node_t *)list_end(config->sections); in config_section_end()
336 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in get_config_size()
348 if (list_next(node) != list_end(config->sections)) { in get_config_size()
433 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in config_save()
470 if (list_next(node) != list_end(config->sections)) { in config_save()
691 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in section_find()