Searched defs:config_t (Results 1 - 3 of 3) sorted by relevance

/system/bt/btif/include/
H A Dbtif_config_transcode.h21 typedef struct config_t config_t; typedef in typeref:struct:config_t
23 config_t *btif_config_transcode(const char *xml_filename);
/system/bt/osi/include/
H A Dconfig.h25 typedef struct config_t config_t; typedef in typeref:struct:config_t
31 config_t *config_new_empty(void);
38 config_t *config_new(const char *filename);
43 void config_free(config_t *config);
48 bool config_has_section(const config_t *config, const char *section);
52 bool config_has_key(const config_t *config, const char *section, const char *key);
58 int config_get_int(const config_t *config, const char *section, const char *key, int def_value);
63 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value);
69 const char *config_get_string(const config_t *confi
[all...]
/system/bt/osi/src/
H A Dconfig.c44 struct config_t { struct
51 static void config_parse(FILE *fp, config_t *config);
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) {
62 config_t *config = osi_calloc(sizeof(config_t));
64 LOG_ERROR("%s unable to allocate memory for config_t.", __func__);
81 config_t *config_new(const char *filename) {
84 config_t *confi
[all...]

Completed in 1002 milliseconds