ESP-IDF
config
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
config
config variable
Syntax
Show:
Summary
Declaration
from
btc_config.c:30
static
config_t
*
config
;
Examples
References
from
examples
Code
Location
Referrer
static
config_t
*
config
;
btc_config.c:30
if
(
(
status
=
config_has_key_in_section
(
config
,
key_type
,
value_str
)
)
==
true
)
{
btc_config.c:52
btc_compare_address_key_value()
config_remove_section
(
config
,
section
)
;
btc_config.c:53
btc_compare_address_key_value()
config
=
config_new
(
CONFIG_FILE_PATH
)
;
btc_config.c:78
btc_config_init()
if
(
!
config
)
{
btc_config.c:79
btc_config_init()
config
=
config_new_empty
(
)
;
btc_config.c:81
btc_config_init()
if
(
!
config
)
{
btc_config.c:82
btc_config_init()
if
(
config_save
(
config
,
CONFIG_FILE_PATH
)
)
{
btc_config.c:87
btc_config_init()
config_free
(
config
)
;
btc_config.c:94
btc_config_init()
config
=
NULL
;
btc_config.c:96
btc_config_init()
config_free
(
config
)
;
btc_config.c:111
btc_config_clean_up()
config
=
NULL
;
btc_config.c:113
btc_config_clean_up()
assert
(
config
!=
NULL
)
;
btc_config.c:119
btc_config_has_section()
return
config_has_section
(
config
,
section
)
;
btc_config.c:122
btc_config_has_section()
assert
(
config
!=
NULL
)
;
btc_config.c:127
btc_config_exist()
return
config_has_key
(
config
,
section
,
key
)
;
btc_config.c:131
btc_config_exist()
assert
(
config
!=
NULL
)
;
btc_config.c:136
btc_config_get_int()
bool
ret
=
config_has_key
(
config
,
section
,
key
)
;
btc_config.c:141
btc_config_get_int()
*
value
=
config_get_int
(
config
,
section
,
key
,
*
value
)
;
btc_config.c:143
btc_config_get_int()
assert
(
config
!=
NULL
)
;
btc_config.c:151
btc_config_set_int()
config_set_int
(
config
,
section
,
key
,
value
)
;
btc_config.c:155
btc_config_set_int()
assert
(
config
!=
NULL
)
;
btc_config.c:162
btc_config_get_str()
const
char
*
stored_value
=
config_get_string
(
config
,
section
,
key
,
NULL
)
;
btc_config.c:168
btc_config_get_str()
assert
(
config
!=
NULL
)
;
btc_config.c:182
btc_config_set_str()
config_set_string
(
config
,
section
,
key
,
value
,
false
)
;
btc_config.c:187
btc_config_set_str()
assert
(
config
!=
NULL
)
;
btc_config.c:194
btc_config_get_bin()
const
char
*
value_str
=
config_get_string
(
config
,
section
,
key
,
NULL
)
;
btc_config.c:200
btc_config_get_bin()
assert
(
config
!=
NULL
)
;
btc_config.c:227
btc_config_get_bin_length()
const
char
*
value_str
=
config_get_string
(
config
,
section
,
key
,
NULL
)
;
btc_config.c:231
btc_config_get_bin_length()
assert
(
config
!=
NULL
)
;
btc_config.c:245
btc_config_set_bin()
config_set_string
(
config
,
section
,
key
,
str
,
false
)
;
btc_config.c:263
btc_config_set_bin()
assert
(
config
!=
NULL
)
;
btc_config.c:271
btc_config_section_begin()
return
(
const
btc_config_section_iter_t
*
)
config_section_begin
(
config
)
;
btc_config.c:272
btc_config_section_begin()
assert
(
config
!=
NULL
)
;
btc_config.c:277
btc_config_section_end()
return
(
const
btc_config_section_iter_t
*
)
config_section_end
(
config
)
;
btc_config.c:278
btc_config_section_end()
assert
(
config
!=
NULL
)
;
btc_config.c:283
btc_config_section_next()
assert
(
config
!=
NULL
)
;
btc_config.c:290
btc_config_section_name()
assert
(
config
!=
NULL
)
;
btc_config.c:299
btc_config_remove()
return
config_remove_key
(
config
,
section
,
key
)
;
btc_config.c:303
btc_config_remove()
assert
(
config
!=
NULL
)
;
btc_config.c:308
btc_config_remove_section()
return
config_remove_section
(
config
,
section
)
;
btc_config.c:311
btc_config_remove_section()
assert
(
config
!=
NULL
)
;
btc_config.c:316
btc_config_update_newest_section()
return
config_update_newest_section
(
config
,
section
)
;
btc_config.c:319
btc_config_update_newest_section()
assert
(
config
!=
NULL
)
;
btc_config.c:324
btc_config_flush()
config_save
(
config
,
CONFIG_FILE_PATH
)
;
btc_config.c:326
btc_config_flush()
assert
(
config
!=
NULL
)
;
btc_config.c:331
btc_config_clear()
config_free
(
config
)
;
btc_config.c:333
btc_config_clear()
config
=
config_new_empty
(
)
;
btc_config.c:335
btc_config_clear()
if
(
config
==
NULL
)
{
btc_config.c:336
btc_config_clear()
int
ret
=
config_save
(
config
,
CONFIG_FILE_PATH
)
;
btc_config.c:339
btc_config_clear()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
config
is written by 3 functions and is read by 21 functions:
btc_config_init()
btc_config_clean_up()
btc_config_clear()
All items filtered out
config
btc_compare_address_key_value()
btc_config_init()
btc_config_clean_up()
btc_config_has_section()
btc_config_exist()
btc_config_get_int()
btc_config_set_int()
btc_config_get_str()
btc_config_set_str()
btc_config_get_bin()
btc_config_get_bin_length()
btc_config_set_bin()
btc_config_section_begin()
btc_config_section_end()
btc_config_section_next()
btc_config_section_name()
btc_config_remove()
btc_config_remove_section()
btc_config_update_newest_section()
btc_config_flush()
btc_config_clear()
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
Lifecycle
from
examples
All items filtered out
All items filtered out