32#ifndef LWIP_HDR_APPS_FS_H
33#define LWIP_HDR_APPS_FS_H
43#define FS_READ_DELAYED -2
45#if HTTPD_PRECALCULATED_CHECKSUM
53#define FS_FILE_FLAGS_HEADER_INCLUDED 0x01
54#define FS_FILE_FLAGS_HEADER_PERSISTENT 0x02
55#define FS_FILE_FLAGS_HEADER_HTTPVER_1_1 0x04
56#define FS_FILE_FLAGS_SSI 0x08
57#define FS_FILE_FLAGS_CUSTOM 0x10
62#ifndef FS_FILE_EXTENSION_T_DEFINED
70#if LWIP_HTTPD_FILE_EXTENSION
75#if HTTPD_PRECALCULATED_CHECKSUM
76 const struct fsdata_chksum *chksum;
80#if LWIP_HTTPD_FILE_STATE
85#if LWIP_HTTPD_FS_ASYNC_READ
86typedef void (*fs_wait_cb)(
void *
arg);
91#if LWIP_HTTPD_DYNAMIC_FILE_READ
92#if LWIP_HTTPD_FS_ASYNC_READ
93int fs_read_async(
struct fs_file *
file,
char *
buffer,
int count, fs_wait_cb callback_fn,
void *callback_arg);
98#if LWIP_HTTPD_FS_ASYNC_READ
99int fs_is_file_ready(
struct fs_file *
file, fs_wait_cb callback_fn,
void *callback_arg);
103#if LWIP_HTTPD_FILE_STATE
116#if HTTPD_PRECALCULATED_CHECKSUM
118 const struct fsdata_chksum *chksum;
122#if LWIP_HTTPD_CUSTOM_FILES
126#if LWIP_HTTPD_FS_ASYNC_READ
128u8_t fs_wait_read_custom(
struct fs_file *
file, fs_wait_cb callback_fn,
void *callback_arg);
129int fs_read_async_custom(
struct fs_file *
file,
char *
buffer,
int count, fs_wait_cb callback_fn,
void *callback_arg);
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)
GLuint GLuint GLsizei count
void fs_read(off_t pos, int size, void *data)
const unsigned char * name
const struct fsdata_file * next
const unsigned char * data