#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_network.h"
#include "nilorea/n_str.h"
#include <stdio.h>
#include <string.h>
#include <zlib.h>
Go to the source code of this file.
◆ expect_canon()
| static void expect_canon |
( |
const char * |
in, |
|
|
const char * |
want |
|
) |
| |
|
static |
◆ expect_resolve()
| static void expect_resolve |
( |
const char * |
base, |
|
|
const char * |
ref, |
|
|
const char * |
want |
|
) |
| |
|
static |
◆ gz_compress()
| static N_STR * gz_compress |
( |
const char * |
s, |
|
|
int |
window_bits |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 121 of file ex_url.c.
References N_HTTP_MULTIPART_PART::body, char_to_nstr(), N_HTTP_MULTIPART_PART::content_type, N_STR::data, expect_canon(), expect_resolve(), failures, N_HTTP_MULTIPART_PART::filename, free_nstr, gz_compress(), LOG_ERR, LOG_NOTICE, n_http_build_multipart(), n_http_decompress_body(), n_http_multipart_boundary(), n_http_multipart_free(), n_http_parse_multipart(), n_http_status_class(), n_http_status_is_client_error(), n_http_status_is_informational(), n_http_status_is_redirect(), n_http_status_is_server_error(), n_http_status_is_success(), n_log, n_url_canonicalize_string(), N_HTTP_MULTIPART_PART::name, LIST::nb_items, LIST_NODE::next, process_args(), LIST_NODE::ptr, set_log_level(), and LIST::start.
◆ process_args()
| void process_args |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ failures