Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/common/osi/include/osi/
Dconfig.h32 typedef struct config_t config_t; typedef
38 config_t *config_new_empty(void);
45 config_t *config_new(const char *filename);
50 void config_free(config_t *config);
55 bool config_has_section(const config_t *config, const char *section);
59 bool config_has_key(const config_t *config, const char *section, const char *key);
63 bool config_has_key_in_section(config_t *config, const char *key, char *key_value);
69 int config_get_int(const config_t *config, const char *section, const char *key, int def_value);
74 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value);
80 const char *config_get_string(const config_t *config, const char *section, const char *key, const c…
[all …]
/hal_espressif-3.7.0/components/bt/common/osi/
Dconfig.c36 struct config_t { struct
43 static void config_parse(nvs_handle_t fp, config_t *config); argument
47 static section_t *section_find(const config_t *config, const char *section);
51 static entry_t *entry_find(const config_t *config, const char *section, const char *key);
53 config_t *config_new_empty(void) in config_new_empty()
55 config_t *config = osi_calloc(sizeof(config_t)); in config_new_empty()
74 config_t *config_new(const char *filename) in config_new()
78 config_t *config = config_new_empty(); in config_new()
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()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/core/
Dbtc_config.c29 static config_t *config;