![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Go to the source code of this file.
Macros | |
| #define | WANT(expr, want, msg) |
Functions | |
| int | main (void) |
| static n_http_req_status | parse (const char *s, n_http_request *out) |
Variables | |
| static int | failures = 0 |
| #define WANT | ( | expr, | |
| want, | |||
| msg ) |
Definition at line 40 of file ex_http_req.c.
Referenced by main().
| int main | ( | void | ) |
Definition at line 48 of file ex_http_req.c.
References n_http_request::authorization, n_http_request::content_length, failures, LOG_ERR, LOG_NOTICE, n_http_request::method, N_HTTP_REQ_ERROR, N_HTTP_REQ_GET, N_HTTP_REQ_INCOMPLETE, N_HTTP_REQ_OK, N_HTTP_REQ_POST, n_http_request_parse(), n_log, parse(), n_http_request::path, set_log_level(), and WANT.
|
static |
Definition at line 36 of file ex_http_req.c.
References n_http_request_parse().
Referenced by main().
|
static |
Definition at line 33 of file ex_http_req.c.