ESP-IDF
esp_foundation_transport::error_handle
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_foundation_transport::error_handle
esp_foundation_transport::error_handle field
Pointer to the transport error container
Syntax
Show:
Summary
Declaration
from
esp_transport_internal.h:35
esp_transport_error_storage
*
error_handle
;
Examples
References
from
examples
Code
Location
Referrer
esp_transport_error_storage
*
error_handle
;
/*!< Pointer to the transport error container */
esp_transport_internal.h:35
if
(
t
&&
t
->
foundation
&&
t
->
foundation
->
error_handle
)
{
transport.c:255
esp_transport_get_error_handle()
return
&
t
->
foundation
->
error_handle
->
esp_tls_err_h_base
;
transport.c:256
esp_transport_get_error_handle()
if
(
t
&&
t
->
foundation
&&
t
->
foundation
->
error_handle
)
{
transport.c:263
esp_transport_get_errno()
int
actual_errno
=
t
->
foundation
->
error_handle
->
sock_errno
;
transport.c:264
esp_transport_get_errno()
t
->
foundation
->
error_handle
->
sock_errno
=
0
;
transport.c:265
esp_transport_get_errno()
if
(
t
&&
t
->
foundation
&&
t
->
foundation
->
error_handle
)
{
transport.c:295
esp_transport_set_errors()
memcpy
(
&
t
->
foundation
->
error_handle
->
esp_tls_err_h_base
,
error_handle
,
sizeof
(
esp_tls_last_error_t
)
)
;
transport.c:296
esp_transport_set_errors()
t
->
foundation
->
error_handle
->
sock_errno
=
sock_error
;
transport.c:299
esp_transport_set_errors()
if
(
t
&&
t
->
foundation
&&
t
->
foundation
->
error_handle
)
{
transport.c:306
esp_transport_capture_errno()
t
->
foundation
->
error_handle
->
sock_errno
=
sock_errno
;
transport.c:307
esp_transport_capture_errno()
foundation
->
error_handle
=
calloc
(
1
,
sizeof
(
struct
esp_transport_error_storage
)
)
;
transport_internal.c:24
esp_transport_init_foundation_transport()
ESP_TRANSPORT_MEM_CHECK
(
TAG
,
foundation
->
error_handle
,
transport_internal.c:25
esp_transport_init_foundation_transport()
free
(
foundation
->
error_handle
)
;
transport_internal.c:34
esp_transport_destroy_foundation_transport()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_foundation_transport::error_handle
is written by 1 function and is read by 6 functions:
esp_transport_init_foundation_transport()
All items filtered out
esp_foundation_transport::error_handle
esp_transport_get_error_handle()
esp_transport_get_errno()
esp_transport_set_errors()
esp_transport_capture_errno()
esp_transport_init_foundation_transport()
esp_transport_destroy_foundation_transport()
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