file_serving sample
file_server_data
is only used within file_serving sample.
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
file_serving sample
file_server_data
file_server_data struct
Syntax
Show:
Summary
Declaration
from
file_server.c:40
struct
file_server_data
{
char
base_path
[
ESP_VFS_PATH_MAX
+
1
]
;
char
scratch
[
SCRATCH_BUFSIZE
]
;
}
;
Fields
Field
Declared as
file_server_data::base_path
char
[
ESP_VFS_PATH_MAX
+
1
]
file_server_data::scratch
char
[
SCRATCH_BUFSIZE
]
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
file_server_data
{
file_server.c:40
const
char
*
filename
=
get_path_from_uri
(
filepath
,
(
(
struct
file_server_data
*
)
req
->
user_ctx
)
->
base_path
,
file_server.c:218
download_get_handler()
char
*
chunk
=
(
(
struct
file_server_data
*
)
req
->
user_ctx
)
->
scratch
;
file_server.c:258
download_get_handler()
const
char
*
filename
=
get_path_from_uri
(
filepath
,
(
(
struct
file_server_data
*
)
req
->
user_ctx
)
->
base_path
,
file_server.c:301
upload_post_handler()
char
*
buf
=
(
(
struct
file_server_data
*
)
req
->
user_ctx
)
->
scratch
;
file_server.c:346
upload_post_handler()
const
char
*
filename
=
get_path_from_uri
(
filepath
,
(
(
struct
file_server_data
*
)
req
->
user_ctx
)
->
base_path
,
file_server.c:414
delete_post_handler()
static
struct
file_server_data
*
server_data
=
NULL
;
file_server.c:453
example_start_file_server()
server_data
=
calloc
(
1
,
sizeof
(
struct
file_server_data
)
)
;
file_server.c:461
example_start_file_server()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
file_server_data
is allocated by 1 symbol:
example_start_file_server()
All items filtered out
file_server_data
All items filtered out