|
Data Structures |
struct | sul_httpd_req_t |
Typedefs |
typedef enum min_req_url_code_e | min_req_url_code_e |
typedef mini_httpd_t | mini_httpd_t |
typedef mini_req_t | mini_req_t |
typedef mini_hook_t | mini_hook_t |
typedef sul_error_t *(* | mini_handler_fnptr_t )(mini_req_t *req, apr_pool_t *pool) |
typedef sul_boolean_t(* | mini_access_fnptr_t )(mini_req_t *req, apr_pool_t *pool) |
typedef sul_httpd_req_t | sul_httpd_req_t |
Enumerations |
enum | min_req_url_code_e { URL_BAD_REQUEST,
URL_NOT_FOUND,
URL_OK
} |
enum | min_req_type_t { MINI_RT_UNKNOWN = 0,
MINI_RT_HTTP_POST = 1,
MINI_RT_HTTP_GET = 2
} |
Functions |
| mini_httpd_create (mini_httpd_t **self, short port, apr_pool_t *pool) |
| mini_httpd_listen (mini_httpd_t *httpd, apr_pool_t *pool) |
| mini_httpd_add_hook (mini_httpd_t *self, const char *url, mini_handler_fnptr_t fnptr, void *param, apr_pool_t *pool) |
| mini_httpd_add_hook_re (mini_httpd_t *self, const char *url, mini_handler_fnptr_t fnptr, void *param, apr_pool_t *pool) |
| mini_httpd_tick (mini_httpd_t *self, apr_pool_t *pool) |
| mini_httpd_handle (mini_httpd_t *self, apr_socket_t *req_sock, apr_pool_t *pool) |
| mini_httpd_max_size_set (mini_httpd_t *self, apr_size_t size) |
| mini_req_create (mini_req_t **self, mini_httpd_t *httpd, apr_socket_t *sock, apr_pool_t *pool) |
| mini_httpd_set_access_fn (mini_httpd_t *self, mini_access_fnptr_t fn) |
| mini_req_headers_read (mini_req_t *req) |
| mini_req_process (mini_req_t *req) |
| mini_req_headers_write (mini_req_t *req) |
| mini_req_write (mini_req_t *req, const char *ptr) |
| mini_req_printf (mini_req_t *req, const char *ptr,...) |
| mini_req_hook_param_get (mini_req_t *req) |
| mini_req_params (mini_req_t *req) |
| mini_req_query_get (mini_req_t *req) |
| mini_req_param_get (mini_req_t *req) |
| mini_httpd_param_set (mini_httpd_t *self, void *value) |
| mini_req_local_ip (mini_req_t *req) |
| mini_req_remote_ip (mini_req_t *req) |
| mini_req_get_package (mini_req_t *req, const char **pkg, apr_size_t *sz) |
| sul_httpd_req_create (sul_httpd_req_t **req, const char *ip, short port, const char *url, apr_pool_t *pool) |
| sul_httpd_req_send (sul_httpd_req_t *req, const char *str) |
| sul_httpd_req_open (sul_httpd_req_t *req, sul_boolean_t cfail, apr_status_t *state, apr_ssize_t secs) |
| sul_httpd_req_retrieve (sul_httpd_req_t *req) |
| sul_httpd_req_close (sul_httpd_req_t *req) |
| sul_unescape_url (char *url) |