Home
last modified time | relevance | path

Searched refs:config_t (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/bt/common/osi/include/osi/
Dconfig.h40 typedef struct config_t config_t; typedef
46 config_t *config_new_empty(void);
53 config_t *config_new(const char *filename);
58 void config_free(config_t *config);
63 bool config_has_section(const config_t *config, const char *section);
67 bool config_has_key(const config_t *config, const char *section, const char *key);
71 bool config_has_key_in_section(config_t *config, const char *key, char *key_value);
77 int config_get_int(const config_t *config, const char *section, const char *key, int def_value);
82 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value);
88 const char *config_get_string(const config_t *config, const char *section, const char *key, const c…
[all …]
/hal_espressif-3.6.0/components/bt/common/osi/
Dconfig.c44 struct config_t { struct
51 static void config_parse(nvs_handle_t fp, config_t *config); argument
55 static section_t *section_find(const config_t *config, const char *section);
59 static entry_t *entry_find(const config_t *config, const char *section, const char *key);
61 config_t *config_new_empty(void) in config_new_empty()
63 config_t *config = osi_calloc(sizeof(config_t)); in config_new_empty()
82 config_t *config_new(const char *filename) in config_new()
86 config_t *config = config_new_empty(); in config_new()
110 void config_free(config_t *config) in config_free()
120 bool config_has_section(const config_t *config, const char *section) in config_has_section()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/
Dbtc_config.c37 static config_t *config;