
Go to the source code of this file.
Functions | |
| int | http_nextpage2 (mihl_cnx_t *cnx, char const *tag, char const *host, void *param) |
| TBD. | |
| int | http_nextpage1 (mihl_cnx_t *cnx, char const *tag, char const *host, void *param) |
| TBD. | |
| int | http_index (mihl_cnx_t *cnx, char const *tag, char const *host, void *param) |
| GET Handler for the URL: /index.html. | |
| int | main (int argc, char *argv[]) |
| Program entry point. | |
| int http_nextpage2 | ( | mihl_cnx_t * | cnx, | |
| char const * | tag, | |||
| char const * | host, | |||
| void * | param | |||
| ) |
TBD.
| cnx | opaque context structure as returned by mihl_init() | |
| tag | TBD | |
| host | TBD | |
| param | User-provided parameter, was provided with mihl_handle_get |
Definition at line 96 of file example_1.c.
References mihl_add(), and mihl_send().
Referenced by http_nextpage1().


| int http_nextpage1 | ( | mihl_cnx_t * | cnx, | |
| char const * | tag, | |||
| char const * | host, | |||
| void * | param | |||
| ) |
TBD.
| cnx | opaque context structure as returned by mihl_init() | |
| tag | TBD | |
| host | TBD | |
| param | User-provided parameter, was provided with mihl_handle_get |
Definition at line 119 of file example_1.c.
References http_nextpage2(), mihl_add(), mihl_get_ctx(), mihl_handle_get(), and mihl_send().
Referenced by main().


| int http_index | ( | mihl_cnx_t * | cnx, | |
| char const * | tag, | |||
| char const * | host, | |||
| void * | param | |||
| ) |
GET Handler for the URL: /index.html.
| cnx | opaque context structure as returned by mihl_init() | |
| tag | TBD | |
| host | TBD | |
| param | User-provided parameter, was provided with mihl_handle_get |
Definition at line 171 of file example_1.c.
References mihl_add(), mihl_get_ctx(), mihl_handle_get(), mihl_send(), and send_file().
Referenced by main().


| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Program entry point.
| argc | Number of arguments | |
| argv | Arguments given on the command line |
Definition at line 255 of file example_1.c.
References http_index(), http_nextpage1(), mihl_handle_file(), mihl_handle_get(), mihl_init(), MIHL_LOG_ERROR, MIHL_LOG_INFO, MIHL_LOG_INFO_VERBOSE, MIHL_LOG_WARNING, and mihl_server().

1.5.6