39#include HTTPD_FSDATA_FILE
51#if LWIP_HTTPD_CUSTOM_FILES
60 file->data = (
const char *)
f->data;
63 file->flags =
f->flags;
65 file->chksum_count =
f->chksum_count;
66 file->chksum =
f->chksum;
85#if LWIP_HTTPD_CUSTOM_FILES
87 fs_close_custom(
file);
90#if LWIP_HTTPD_FILE_STATE
96#if LWIP_HTTPD_DYNAMIC_FILE_READ
97#if LWIP_HTTPD_FS_ASYNC_READ
109#if LWIP_HTTPD_FS_ASYNC_READ
113#if LWIP_HTTPD_CUSTOM_FILES
115#if LWIP_HTTPD_FS_ASYNC_READ
116 return fs_read_async_custom(
file,
buffer,
count, callback_fn, callback_arg);
135#if LWIP_HTTPD_FS_ASYNC_READ
137fs_is_file_ready(
struct fs_file *
file, fs_wait_cb callback_fn,
void *callback_arg)
140#if LWIP_HTTPD_FS_ASYNC_READ
141#if LWIP_HTTPD_CUSTOM_FILES
142 if (!fs_canread_custom(
file)) {
143 if (fs_wait_read_custom(
file, callback_fn, callback_arg)) {
int strcmp(const char *String1, const char *String2)
int fs_bytes_left(struct fs_file *file)
err_t fs_open(struct fs_file *file, const char *name)
void fs_close(struct fs_file *file)
#define FS_FILE_FLAGS_CUSTOM
GLuint GLuint GLsizei count
#define LWIP_UNUSED_ARG(x)
#define HTTPD_PRECALCULATED_CHECKSUM
#define LWIP_HTTPD_FILE_EXTENSION
#define LWIP_HTTPD_FILE_STATE
#define MEMCPY(DST, SRC, BYTES)
void fs_read(off_t pos, int size, void *data)