#include <time.h>#include "sock.h"#include "httpparser.h"Go to the source code of this file.
Data Structures | |
| struct | SendInstruction |
Functions | |
| int | web_server_init (void) |
| void | web_server_destroy (void) |
| int | web_server_set_alias (IN const char *alias_name, IN const char *alias_content, IN size_t alias_content_length, IN time_t last_modified) |
| int | web_server_set_root_dir (IN const char *root_dir) |
| void | web_server_callback (IN http_parser_t *parser, IN http_message_t *req, INOUT SOCKINFO *info) |
| void web_server_callback | ( | IN http_parser_t * | parser, | |
| IN http_message_t * | req, | |||
| INOUT SOCKINFO * | info | |||
| ) |
| void web_server_destroy | ( | void | ) |
| int web_server_init | ( | void | ) |
| int web_server_set_alias | ( | IN const char * | alias_name, | |
| IN const char * | alias_content, | |||
| IN size_t | alias_content_length, | |||
| IN time_t | last_modified | |||
| ) |
| int web_server_set_root_dir | ( | IN const char * | root_dir | ) |
1.6.1