![]() |
cueOS
2.4
cueOS - Universal Show Control OS for ARM
|
Data Structures | |
struct | fs_file |
web-content file structure object More... | |
struct | fsdata_file |
web-content file linked list data structure object More... | |
Macros | |
#define | FS_READ_EOF -1 |
#define | FS_READ_DELAYED -2 |
#define | FS_FILE_FLAGS_HEADER_INCLUDED 0x01 |
#define | FS_FILE_FLAGS_HEADER_PERSISTENT 0x02 |
#define | FS_FILE_FLAGS_HEADER_HTTPVER_1_1 0x04 |
#define | FS_FILE_FLAGS_SSI 0x08 |
#define | WEBAPP_HTTP_SERVER_PORT 80 |
Typedefs | |
typedef void | fs_file_extension |
typedef struct fs_file | fs_file_s |
web-content file structure object | |
Functions | |
void | web_application_start (void) |
Starts static HTTP server on port 80. This server is ONLY dedicated to serve compiled HTML static files contained within htmlgen.c. Run "htmlgen.sh" script to compile the files put into the "htmlgen" subfolder "dist" into a single c file. Output of the script is copied into the "htmlgen" subfolder "release" as "htmlgen.c". More... | |
Serves web-base user interface static files over HTTP to a remote device.
#define FS_FILE_FLAGS_HEADER_HTTPVER_1_1 0x04 |
File HTTP Header version is HTTP/1.1
Definition at line 20 of file web_application.h.
#define FS_FILE_FLAGS_HEADER_INCLUDED 0x01 |
File HTTP Header is included within file daclaration
Definition at line 18 of file web_application.h.
#define FS_FILE_FLAGS_HEADER_PERSISTENT 0x02 |
File HTTP Header is persistant
Definition at line 19 of file web_application.h.
#define FS_FILE_FLAGS_SSI 0x08 |
File contains server-side inclusion
Definition at line 21 of file web_application.h.
#define FS_READ_DELAYED -2 |
Read is delayed
Definition at line 16 of file web_application.h.
#define FS_READ_EOF -1 |
END OF FILE
Definition at line 15 of file web_application.h.
#define WEBAPP_HTTP_SERVER_PORT 80 |
HTTP port on which the web application will be running
Definition at line 23 of file web_application.h.
typedef void fs_file_extension |
TODO: remove this
Definition at line 26 of file web_application.h.
void web_application_start | ( | void | ) |
Starts static HTTP server on port 80. This server is ONLY dedicated to serve compiled HTML static files contained within htmlgen.c. Run "htmlgen.sh" script to compile the files put into the "htmlgen" subfolder "dist" into a single c file. Output of the script is copied into the "htmlgen" subfolder "release" as "htmlgen.c".
Definition at line 106 of file web_application.c.