#ifndef __HTTPD_FSDATA_H__ #define __HTTPD_FSDATA_H__ #include #define HTML_PAGE_BUFFER_SIZE 2048 struct httpd_fsdata_file { const struct httpd_fsdata_file *next; const char *name; const char *data; const int len; #ifdef HTTPD_FS_STATISTICS #if HTTPD_FS_STATISTICS == 1 uint16_t count; #endif /* HTTPD_FS_STATISTICS */ #endif /* HTTPD_FS_STATISTICS */ }; struct httpd_fsdata_file_noconst { struct httpd_fsdata_file *next; char *name; char *data; int len; #ifdef HTTPD_FS_STATISTICS #if HTTPD_FS_STATISTICS == 1 uint16_t count; #endif /* HTTPD_FS_STATISTICS */ #endif /* HTTPD_FS_STATISTICS */ }; extern struct httpd_fsdata_file file_index_html; extern struct httpd_fsdata_file file_reboot_html; extern struct httpd_fsdata_file file_logo_png; extern struct httpd_fsdata_file file_favicon_ico; extern struct httpd_fsdata_file file_control_html; extern struct httpd_fsdata_file file_network_html; extern struct httpd_fsdata_file file_status; extern struct httpd_fsdata_file file_404_html; extern struct httpd_fsdata_file file_param_csv; extern struct httpd_fsdata_file file_status_csv; extern const char data_404_html[]; extern const char data_index_html_template[]; extern const char data_reboot_html_template[]; extern const char data_logo_png_template[]; extern const char data_favicon_ico_template[]; extern const char data_network_html_template[]; extern const char data_param_csv_template[]; extern const char data_status_csv_template[]; extern char data_html_page_buffer[HTML_PAGE_BUFFER_SIZE]; #endif /* __HTTPD_FSDATA_H__ */