VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "../../include/unistd.h"
#include "../../include/arpa/inet.h"
#include "../../include/pthread.h"
#include "../../include/sys/select.h"
#include "../../include/simple_libc/stdlib.h"
#include "./vsf_linux_httpd.h"
#include "./urihandler/file/__vsf_linux_urihandler_file.inc"
#include "./urihandler/websocket/__vsf_linux_urihandler_websocket.inc"
Data Structures | |
struct | __vsf_linux_httpd_strmapper_t |
Macros | |
#define | __VSF_SIMPLE_STREAM_CLASS_INHERIT__ |
#define | __VSF_EDA_CLASS_INHERIT__ |
#define | __VSF_LINUX_FS_CLASS_INHERIT__ |
#define | __VSF_LINUX_CLASS_INHERIT__ |
#define | __VSF_LINUX_HTTPD_CLASS_IMPLEMENT |
#define | MODULE_NAME "httpd" |
#define | vsf_linux_httpd_trace_request(...) vsf_trace_debug(__VA_ARGS__) |
#define | vsf_linux_httpd_trace_event(...) vsf_trace_debug(__VA_ARGS__) |
#define | vsf_stream_write_str(__stream, __str) |
#define | vsf_stream_write_int(__stream, __int) |
#define | __vsf_linux_httpd_def_response(__response, __str) { .response = (__response), .str = (__str) } |
#define | __vsf_linux_httpd_def_mime(__mime, __ext) { .mime = (__mime), .str = (__ext) } |
#define | __vsf_linux_httpd_def_encoding(__encoding, __ext) { .encoding = (__encoding), .str = (__ext) } |
#define | __VSF_LINUX_HTTPD_USE_DEFAULT_URIHANDLER |
Typedefs | |
typedef struct __vsf_linux_httpd_strmapper_t | __vsf_linux_httpd_strmapper_t |
Functions | |
void * | vsf_linux_httpd_thread (void *param) |
vsf_err_t | vsf_linux_httpd_start (vsf_linux_httpd_t *httpd) |
Variables | |
const vsf_linux_httpd_urihandler_op_t | vsf_linux_httpd_urihandler_buffer_op |
#define __VSF_SIMPLE_STREAM_CLASS_INHERIT__ |
#define __VSF_EDA_CLASS_INHERIT__ |
#define __VSF_LINUX_FS_CLASS_INHERIT__ |
#define __VSF_LINUX_CLASS_INHERIT__ |
#define __VSF_LINUX_HTTPD_CLASS_IMPLEMENT |
#define MODULE_NAME "httpd" |
#define vsf_linux_httpd_trace_request | ( | ... | ) | vsf_trace_debug(__VA_ARGS__) |
#define vsf_linux_httpd_trace_event | ( | ... | ) | vsf_trace_debug(__VA_ARGS__) |
#define vsf_stream_write_str | ( | __stream, | |
__str | |||
) |
#define vsf_stream_write_int | ( | __stream, | |
__int | |||
) |
#define __vsf_linux_httpd_def_response | ( | __response, | |
__str | |||
) | { .response = (__response), .str = (__str) } |
#define __vsf_linux_httpd_def_mime | ( | __mime, | |
__ext | |||
) | { .mime = (__mime), .str = (__ext) } |
#define __vsf_linux_httpd_def_encoding | ( | __encoding, | |
__ext | |||
) | { .encoding = (__encoding), .str = (__ext) } |
#define __VSF_LINUX_HTTPD_USE_DEFAULT_URIHANDLER |
typedef struct __vsf_linux_httpd_strmapper_t __vsf_linux_httpd_strmapper_t |
void * vsf_linux_httpd_thread | ( | void * | param | ) |
vsf_err_t vsf_linux_httpd_start | ( | vsf_linux_httpd_t * | httpd | ) |
const vsf_linux_httpd_urihandler_op_t vsf_linux_httpd_urihandler_buffer_op |