ESP-IDF
handler_instances_add()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
handler_instances_add()
handler_instances_add() function
Syntax
Show:
Summary
Declaration
from
esp_event.c:149
static
esp_err_t
handler_instances_add
(
esp_event_handler_nodes_t
*
handlers
,
esp_event_handler_t
event_handler
,
void
*
event_handler_arg
,
esp_event_handler_instance_context_t
*
*
handler_ctx
,
bool
legacy
)
;
Arguments
Argument
handlers
event_handler
event_handler_arg
handler_ctx
legacy
Related Functions
Found 2 other functions taking a
esp_event_handler_instances
argument:
Function
handler_instances_remove()
handler_instances_remove_all()
Examples
References
from
examples
Code
Location
Referrer
static
esp_err_t
handler_instances_add
(
esp_event_handler_nodes_t
*
handlers
,
esp_event_handler_t
event_handler
,
void
*
event_handler_arg
,
esp_event_handler_instance_context_t
*
*
handler_ctx
,
bool
legacy
)
esp_event.c:149
return
handler_instances_add
(
&
(
base_node
->
handlers
)
,
event_handler
,
event_handler_arg
,
handler_ctx
,
legacy
)
;
esp_event.c:206
base_node_add_handler()
err
=
handler_instances_add
(
&
(
id_node
->
handlers
)
,
event_handler
,
event_handler_arg
,
handler_ctx
,
legacy
)
;
esp_event.c:230
base_node_add_handler()
return
handler_instances_add
(
&
(
id_node
->
handlers
)
,
event_handler
,
event_handler_arg
,
handler_ctx
,
legacy
)
;
esp_event.c:244
base_node_add_handler()
return
handler_instances_add
(
&
(
loop_node
->
handlers
)
,
event_handler
,
event_handler_arg
,
handler_ctx
,
legacy
)
;
esp_event.c:258
loop_node_add_handler()
Call Tree
from
examples
handler_instances_add()
is called by 2 functions and calls 4 functions:
base_node_add_handler()
loop_node_add_handler()
All items filtered out
handler_instances_add()
free()
calloc()
esp_log_timestamp()
esp_log_write()
All items filtered out
Data Use
from
examples
handler_instances_add()
reads 9 variables and writes 3 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
esp_event_handler_context::handler
esp_event_handler_node::handler_ctx
esp_event_handler_node::next
TAG
All items filtered out
handler_instances_add()
esp_event_handler_context::handler
esp_event_handler_context::arg
esp_event_handler_node::handler_ctx
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
handler_instances_add()
allocates 2 typess and frees 2 typess:
esp_event_handler_context
esp_event_handler_node
All items filtered out
handler_instances_add()
esp_event_handler_context
esp_event_handler_node
All items filtered out