Select one of the symbols to view example projects that use it.
 
Outline
#define ESP_EVENT_PRIVATE_H_
#include <stdbool.h>
#include "esp_event.h"
esp_event_is_handler_registered(esp_event_loop_handle_t, esp_event_base_t, int32_t, esp_event_handler_t);
esp_event_loop_deinit();
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_event/private_include/esp_event_private.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifndef ESP_EVENT_PRIVATE_H_ #define ESP_EVENT_PRIVATE_H_ #include <stdbool.h> #include "esp_event.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Searches handlers registered with an event loop to see if it has been registered. * * @param[in] event_loop the loop to search * @param[in] event_base the event base to search * @param[in] event_id the event id to search * @param[in] event_handler the event handler to look for * * @return true handler registered * @return false handler not registered * * @return * - true: Handler registered * - false: Handler not registered *//* ... */ bool esp_event_is_handler_registered(esp_event_loop_handle_t event_loop, esp_event_base_t event_base, int32_t event_id, esp_event_handler_t event_handler); /** * @brief Deinitializes the event loop library * * @return * - ESP_OK: Success * - Others: Fail *//* ... */ esp_err_t esp_event_loop_deinit(void); #ifdef __cplusplus }{...} // extern "C" #endif /* ... */ #endif // #ifndef ESP_EVENT_PRIVATE_H_
Details