|
VSF Documented
|
#include <vsf_linux_httpd.h>
Data Fields | ||
| vsf_linux_httpd_urihandler_match_t | match | |
| vsf_linux_httpd_urihandler_type_t | type | |
| char * | ext | |
| char * | uri | |
| union { | ||
| const vsf_linux_httpd_urihandler_op_t * op | ||
| char * target_uri | ||
| }; | ||
| union { | ||
| struct { | ||
| uint8_t * ptr | ||
| uint32_t size | ||
| } buffer | ||
| struct { | ||
| void * param | ||
| vsf_linux_httpd_websocket_onopen_t on_open | ||
| vsf_linux_httpd_websocket_onclose_t on_close | ||
| vsf_linux_httpd_websocket_onerror_t on_error | ||
| vsf_linux_httpd_websocket_onmessage_t on_message | ||
| } websocket | ||
| }; | ||
| int(* | poll_fn )(vsf_linux_httpd_request_t *req, fd_set *rset, fd_set *wset, bool prepare) | |
| vsf_linux_httpd_urihandler_match_t vsf_linux_httpd_urihandler_t::match |
| vsf_linux_httpd_urihandler_type_t vsf_linux_httpd_urihandler_t::type |
| char* vsf_linux_httpd_urihandler_t::ext |
| char* vsf_linux_httpd_urihandler_t::uri |
| const vsf_linux_httpd_urihandler_op_t* vsf_linux_httpd_urihandler_t::op |
| char* vsf_linux_httpd_urihandler_t::target_uri |
| union { ... } vsf_linux_httpd_urihandler_t |
| uint8_t* vsf_linux_httpd_urihandler_t::ptr |
| uint32_t vsf_linux_httpd_urihandler_t::size |
| struct { ... } vsf_linux_httpd_urihandler_t::buffer |
| void* vsf_linux_httpd_urihandler_t::param |
| vsf_linux_httpd_websocket_onopen_t vsf_linux_httpd_urihandler_t::on_open |
| vsf_linux_httpd_websocket_onclose_t vsf_linux_httpd_urihandler_t::on_close |
| vsf_linux_httpd_websocket_onerror_t vsf_linux_httpd_urihandler_t::on_error |
| vsf_linux_httpd_websocket_onmessage_t vsf_linux_httpd_urihandler_t::on_message |
| struct { ... } vsf_linux_httpd_urihandler_t::websocket |
| union { ... } vsf_linux_httpd_urihandler_t |
| int(* vsf_linux_httpd_urihandler_t::poll_fn) (vsf_linux_httpd_request_t *req, fd_set *rset, fd_set *wset, bool prepare) |