Lines Matching defs:config
55 config_t *config = osi_calloc(sizeof(config_t)); in config_new_empty() local
78 config_t *config = config_new_empty(); in config_new() local
102 void config_free(config_t *config) in config_free()
112 bool config_has_section(const config_t *config, const char *section) in config_has_section()
120 bool config_has_key(const config_t *config, const char *section, const char *key) in config_has_key()
129 bool config_has_key_in_section(config_t *config, const char *key, char *key_value) in config_has_key_in_section()
148 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) in config_get_int()
164 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) in config_get_bool()
185 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… in config_get_string()
199 void config_set_int(config_t *config, const char *section, const char *key, int value) in config_set_int()
210 void config_set_bool(config_t *config, const char *section, const char *key, bool value) in config_set_bool()
219 void config_set_string(config_t *config, const char *section, const char *key, const char *value, b… in config_set_string()
244 bool config_remove_section(config_t *config, const char *section) in config_remove_section()
257 bool config_update_newest_section(config_t *config, const char *section) in config_update_newest_section()
283 bool config_remove_key(config_t *config, const char *section, const char *key) in config_remove_key()
304 const config_section_node_t *config_section_begin(const config_t *config) in config_section_begin()
310 const config_section_node_t *config_section_end(const config_t *config) in config_section_end()
330 static int get_config_size(const config_t *config) in get_config_size()
403 bool config_save(const config_t *config, const char *filename) in config_save()
555 static void config_parse(nvs_handle_t fp, config_t *config) in config_parse()
689 static section_t *section_find(const config_t *config, const char *section) in section_find()
725 static entry_t *entry_find(const config_t *config, const char *section, const char *key) in entry_find()