ESP-IDF
config_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
config_t
config_t struct
Syntax
Show:
Summary
Declaration
Definition
from
config.h:32
typedef
struct
config_t
config_t
;
Implemented in
config.c:36
Fields
Field
Declared as
config_t::sections
list_t
*
Related Functions
Found 20 other functions taking a
config_t
argument:
Function
config_free()
config_set_string()
entry_find()
section_find()
config_get_string()
config_remove_section()
config_save()
config_has_key()
config_get_int()
config_has_section()
config_has_key_in_section()
config_set_int()
config_section_end()
config_section_begin()
config_update_newest_section()
config_remove_key()
config_parse()
config_get_bool()
config_set_bool()
get_config_size()
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
config_t
{
config.c:36
typedef
struct
config_t
config_t
;
config.h:32
static
config_t
*
config
;
btc_config.c:30
static
void
config_parse
(
nvs_handle_t
fp
,
config_t
*
config
)
;
config.c:43
config_parse()
config_parse()::config
static
section_t
*
section_find
(
const
config_t
*
config
,
const
char
*
section
)
;
config.c:47
section_find()
section_find()::config
static
entry_t
*
entry_find
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
)
;
config.c:51
entry_find()
entry_find()::config
config_t
*
config_new_empty
(
void
)
config.c:53
config_new_empty()
config_t
*
config
=
osi_calloc
(
sizeof
(
config_t
)
)
;
config.c:55
config_new_empty()
config_t
*
config_new
(
const
char
*
filename
)
config.c:74
config_new()
config_t
*
config
=
config_new_empty
(
)
;
config.c:78
config_new()
void
config_free
(
config_t
*
config
)
config.c:102
config_free()
config_free()::config
osi_free
(
config
)
;
config.c:109
config_free()
bool
config_has_section
(
const
config_t
*
config
,
const
char
*
section
)
config.c:112
config_has_section()
config_has_section()::config
bool
config_has_key
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
)
config.c:120
config_has_key()
config_has_key()::config
bool
config_has_key_in_section
(
config_t
*
config
,
const
char
*
key
,
char
*
key_value
)
config.c:129
config_has_key_in_section()
config_has_key_in_section()::config
int
config_get_int
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
int
def_value
)
config.c:148
config_get_int()
config_get_int()::config
bool
config_get_bool
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
bool
def_value
)
config.c:164
config_get_bool()
config_get_bool()::config
const
char
*
config_get_string
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
const
char
*
def_value
)
config.c:185
config_get_string()
config_get_string()::config
void
config_set_int
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
int
value
)
config.c:199
config_set_int()
config_set_int()::config
void
config_set_bool
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
bool
value
)
config.c:210
config_set_bool()
config_set_bool()::config
void
config_set_string
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
const
char
*
value
,
bool
insert_back
)
config.c:219
config_set_string()
config_set_string()::config
bool
config_remove_section
(
config_t
*
config
,
const
char
*
section
)
config.c:244
config_remove_section()
config_remove_section()::config
bool
config_update_newest_section
(
config_t
*
config
,
const
char
*
section
)
config.c:257
config_update_newest_section()
config_update_newest_section()::config
bool
config_remove_key
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
)
config.c:283
config_remove_key()
config_remove_key()::config
const
config_section_node_t
*
config_section_begin
(
const
config_t
*
config
)
config.c:304
config_section_begin()
config_section_begin()::config
const
config_section_node_t
*
config_section_end
(
const
config_t
*
config
)
config.c:310
config_section_end()
config_section_end()::config
static
int
get_config_size
(
const
config_t
*
config
)
config.c:330
get_config_size()
get_config_size()::config
bool
config_save
(
const
config_t
*
config
,
const
char
*
filename
)
config.c:403
config_save()
config_save()::config
static
void
config_parse
(
nvs_handle_t
fp
,
config_t
*
config
)
config.c:555
config_parse()
config_parse()::config
static
section_t
*
section_find
(
const
config_t
*
config
,
const
char
*
section
)
config.c:689
section_find()
section_find()::config
static
entry_t
*
entry_find
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
)
config.c:725
entry_find()
entry_find()::config
typedef
struct
config_t
config_t
;
config.h:32
config_t
config_t
*
config_new_empty
(
void
)
;
config.h:38
config_new_empty()
config_t
*
config_new
(
const
char
*
filename
)
;
config.h:45
config_new()
void
config_free
(
config_t
*
config
)
;
config.h:50
config_free()
config_free()::config
bool
config_has_section
(
const
config_t
*
config
,
const
char
*
section
)
;
config.h:55
config_has_section()
config_has_section()::config
bool
config_has_key
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
)
;
config.h:59
config_has_key()
config_has_key()::config
bool
config_has_key_in_section
(
config_t
*
config
,
const
char
*
key
,
char
*
key_value
)
;
config.h:63
config_has_key_in_section()
config_has_key_in_section()::config
int
config_get_int
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
int
def_value
)
;
config.h:69
config_get_int()
config_get_int()::config
bool
config_get_bool
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
bool
def_value
)
;
config.h:74
config_get_bool()
config_get_bool()::config
const
char
*
config_get_string
(
const
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
const
char
*
def_value
)
;
config.h:80
config_get_string()
config_get_string()::config
void
config_set_int
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
int
value
)
;
config.h:85
config_set_int()
config_set_int()::config
void
config_set_bool
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
bool
value
)
;
config.h:90
config_set_bool()
config_set_bool()::config
void
config_set_string
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
,
const
char
*
value
,
bool
insert_back
)
;
config.h:95
config_set_string()
config_set_string()::config
bool
config_remove_section
(
config_t
*
config
,
const
char
*
section
)
;
config.h:100
config_remove_section()
config_remove_section()::config
bool
config_update_newest_section
(
config_t
*
config
,
const
char
*
section
)
;
config.h:105
config_update_newest_section()
config_update_newest_section()::config
bool
config_remove_key
(
config_t
*
config
,
const
char
*
section
,
const
char
*
key
)
;
config.h:110
config_remove_key()
config_remove_key()::config
const
config_section_node_t
*
config_section_begin
(
const
config_t
*
config
)
;
config.h:117
config_section_begin()
config_section_begin()::config
const
config_section_node_t
*
config_section_end
(
const
config_t
*
config
)
;
config.h:124
config_section_end()
config_section_end()::config
bool
config_save
(
const
config_t
*
config
,
const
char
*
filename
)
;
config.h:143
config_save()
config_save()::config
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
config_parse()::config
config_parse()
config.c:43
section_find()::config
section_find()
config.c:47
entry_find()::config
entry_find()
config.c:51
return
config_new_empty()
config.c:53
return
config_new()
config.c:74
config_free()::config
config_free()
config.c:102
config_has_section()::config
config_has_section()
config.c:112
config_has_key()::config
config_has_key()
config.c:120
config_has_key_in_section()::config
config_has_key_in_section()
config.c:129
config_get_int()::config
config_get_int()
config.c:148
config_get_bool()::config
config_get_bool()
config.c:164
config_get_string()::config
config_get_string()
config.c:185
config_set_int()::config
config_set_int()
config.c:199
config_set_bool()::config
config_set_bool()
config.c:210
config_set_string()::config
config_set_string()
config.c:219
config_remove_section()::config
config_remove_section()
config.c:244
config_update_newest_section()::config
config_update_newest_section()
config.c:257
config_remove_key()::config
config_remove_key()
config.c:283
config_section_begin()::config
config_section_begin()
config.c:304
config_section_end()::config
config_section_end()
config.c:310
get_config_size()::config
get_config_size()
config.c:330
config_save()::config
config_save()
config.c:403
config_parse()::config
config_parse()
config.c:555
section_find()::config
section_find()
config.c:689
entry_find()::config
entry_find()
config.c:725
return
config_new_empty()
config.h:38
return
config_new()
config.h:45
config_free()::config
config_free()
config.h:50
config_has_section()::config
config_has_section()
config.h:55
config_has_key()::config
config_has_key()
config.h:59
config_has_key_in_section()::config
config_has_key_in_section()
config.h:63
config_get_int()::config
config_get_int()
config.h:69
config_get_bool()::config
config_get_bool()
config.h:74
config_get_string()::config
config_get_string()
config.h:80
config_set_int()::config
config_set_int()
config.h:85
config_set_bool()::config
config_set_bool()
config.h:90
config_set_string()::config
config_set_string()
config.h:95
config_remove_section()::config
config_remove_section()
config.h:100
config_update_newest_section()::config
config_update_newest_section()
config.h:105
config_remove_key()::config
config_remove_key()
config.h:110
config_section_begin()::config
config_section_begin()
config.h:117
config_section_end()::config
config_section_end()
config.h:124
config_save()::config
config_save()
config.h:143
config
btc_config.c:30
Lifecycle
from
examples
config_t
is freed by 1 symbol:
All items filtered out
config_t
config_free()
All items filtered out