![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Go to the source code of this file.
Macros | |
| #define | PARSE_EX(s) |
| #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 PARSE_EX | ( | s | ) |
Referenced by main().
| #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_req_limits::body_max, n_http_request::content_length, failures, LOG_ERR, LOG_NOTICE, n_http_request::method, n_http_req_limits::methods, N_HTTP_REQ_BODY_LIMIT_MAX, N_HTTP_REQ_ERROR, N_HTTP_REQ_GET, N_HTTP_REQ_HEAD, N_HTTP_REQ_INCOMPLETE, N_HTTP_REQ_METHOD_BIT, N_HTTP_REQ_OK, N_HTTP_REQ_POST, n_http_request_header(), n_http_request_header_count(), n_http_request_parse(), n_http_request_parse_ex(), n_log, n_http_request::nb_headers, parse(), PARSE_EX, n_http_request::path, n_http_req_limits::require_host, set_log_level(), n_http_request::version_minor, 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.