ESP-IDF
sock_db::ctx
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/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
sock_db::ctx
sock_db::ctx field
A custom context for this socket
Syntax
Show:
Summary
Declaration
from
esp_httpd_priv.h:62
void
*
ctx
;
Examples
References
from
examples
Code
Location
Referrer
void
*
ctx
;
/*!< A custom context for this socket */
esp_httpd_priv.h:62
if
(
(
r
->
ignore_sess_ctx_changes
==
false
)
&&
(
ra
->
sd
->
ctx
!=
r
->
sess_ctx
)
)
{
httpd_parse.c:700
httpd_req_cleanup()
httpd_sess_free_ctx
(
&
ra
->
sd
->
ctx
,
ra
->
sd
->
free_ctx
)
;
httpd_parse.c:701
httpd_req_cleanup()
ra
->
sd
->
ctx
=
r
->
sess_ctx
;
httpd_parse.c:713
httpd_req_cleanup()
r
->
sess_ctx
=
sd
->
ctx
;
httpd_parse.c:745
httpd_req_new()
session
->
ctx
=
NULL
;
httpd_sess.c:74
enum_function()
if
(
(
!
session
)
||
(
(
!
session
->
ctx
)
&&
(
!
session
->
transport_ctx
)
)
)
{
httpd_sess.c:244
httpd_sess_clear_ctx()
if
(
session
->
ctx
)
{
httpd_sess.c:249
httpd_sess_clear_ctx()
httpd_sess_free_ctx
(
&
session
->
ctx
,
session
->
free_ctx
)
;
httpd_sess.c:250
httpd_sess_clear_ctx()
return
session
->
ctx
;
httpd_sess.c:275
httpd_sess_get_ctx()
if
(
session
->
ctx
!=
hd
->
hd_req
.
sess_ctx
)
{
httpd_sess.c:293
httpd_sess_set_ctx()
if
(
session
->
ctx
!=
ctx
)
{
httpd_sess.c:303
httpd_sess_set_ctx()
httpd_sess_free_ctx
(
&
session
->
ctx
,
session
->
free_ctx
)
;
httpd_sess.c:305
httpd_sess_set_ctx()
session
->
ctx
=
ctx
;
httpd_sess.c:306
httpd_sess_set_ctx()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
sock_db::ctx
is written by 3 functions and is read by 5 functions:
httpd_req_cleanup()
enum_function()
httpd_sess_set_ctx()
All items filtered out
sock_db::ctx
httpd_req_cleanup()
httpd_req_new()
httpd_sess_clear_ctx()
httpd_sess_get_ctx()
httpd_sess_set_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
All items filtered out
All items filtered out