![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Go to the source code of this file.
Macros | |
| #define | CHECK(cond, msg) |
Functions | |
| int | main (void) |
| static int | uparse (const char *s, n_url_safe *out) |
Variables | |
| static int | failures = 0 |
| #define CHECK | ( | cond, | |
| msg ) |
Definition at line 35 of file ex_url_safe.c.
| int main | ( | void | ) |
x", &u), "empty host rejected");
Definition at line 47 of file ex_url_safe.c.
References CHECK, n_url_safe_head::content_length, n_url_safe_head::content_type, failures, n_url_safe::host, n_url_safe::https, n_url_safe_head::location, LOG_ERR, LOG_NOTICE, n_log, n_url_safe_find(), n_url_safe_head_parse(), N_URL_SAFE_MAX, n_url_safe_resolve(), n_url_safe::path, n_url_safe::port, set_log_level(), n_url_safe_head::status, and uparse().
|
static |
Definition at line 43 of file ex_url_safe.c.
References n_url_safe_parse().
Referenced by main().
|
static |
Definition at line 33 of file ex_url_safe.c.