GNU libmicrohttpd
0.9.5
|
#include "internal.h"
Go to the source code of this file.
Functions | |
size_t | MHD_http_unescape (void *cls, struct MHD_Connection *connection, char *val) |
time_t | MHD_monotonic_time (void) |
size_t MHD_http_unescape | ( | void * | cls, |
struct MHD_Connection * | connection, | ||
char * | val | ||
) |
Process escape sequences ('+'=space, HH) Updates val in place; the result should be UTF-8 encoded and cannot be larger than the input. The result must also still be 0-terminated.
cls | closure (use NULL) |
connection | handle to connection, not used |
Definition at line 118 of file internal.c.
Referenced by MHD_start_daemon_va(), and post_process_urlencoded().
time_t MHD_monotonic_time | ( | void | ) |
Equivalent to time(NULL) but tries to use some sort of monotonic clock that isn't affected by someone setting the system real time clock.
Definition at line 160 of file internal.c.
References NULL.
Referenced by MHD_add_connection(), MHD_connection_handle_idle(), MHD_connection_handle_read(), MHD_connection_handle_write(), MHD_digest_auth_check(), MHD_get_timeout(), MHD_handle_connection(), MHD_queue_auth_fail_response(), MHD_tls_connection_handle_idle(), and run_tls_handshake().