aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index b11e6478..d3b8404a 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -726,7 +726,7 @@ struct MHD_Connection
726 int client_aware; 726 int client_aware;
727 727
728 /** 728 /**
729 * Socket for this connection. Set to MHD_INVALID_SOCKET if 729 * Socket for this connection. Set to #MHD_INVALID_SOCKET if
730 * this connection has died (daemon should clean 730 * this connection has died (daemon should clean
731 * up in that case). 731 * up in that case).
732 */ 732 */
@@ -741,7 +741,7 @@ struct MHD_Connection
741 int read_closed; 741 int read_closed;
742 742
743 /** 743 /**
744 * Set to MHD_YES if the thread has been joined. 744 * Set to #MHD_YES if the thread has been joined.
745 */ 745 */
746 int thread_joined; 746 int thread_joined;
747 747
@@ -878,7 +878,7 @@ typedef void * (*LogCallback)(void * cls,
878 878
879/** 879/**
880 * Signature of function called to unescape URIs. See also 880 * Signature of function called to unescape URIs. See also
881 * MHD_http_unescape. 881 * #MHD_http_unescape().
882 * 882 *
883 * @param cls closure 883 * @param cls closure
884 * @param conn connection handle 884 * @param conn connection handle
@@ -1017,7 +1017,7 @@ struct MHD_Daemon
1017 LogCallback uri_log_callback; 1017 LogCallback uri_log_callback;
1018 1018
1019 /** 1019 /**
1020 * Closure argument to uri_log_callback. 1020 * Closure argument to @e uri_log_callback.
1021 */ 1021 */
1022 void *uri_log_callback_cls; 1022 void *uri_log_callback_cls;
1023 1023
@@ -1027,7 +1027,7 @@ struct MHD_Daemon
1027 UnescapeCallback unescape_callback; 1027 UnescapeCallback unescape_callback;
1028 1028
1029 /** 1029 /**
1030 * Closure for unescape callback. 1030 * Closure for @e unescape_callback.
1031 */ 1031 */
1032 void *unescape_callback_cls; 1032 void *unescape_callback_cls;
1033 1033
@@ -1398,7 +1398,7 @@ struct MHD_Daemon
1398 1398
1399 1399
1400/** 1400/**
1401 * Equivalent to time(NULL) but tries to use some sort of monotonic 1401 * Equivalent to `time(NULL)` but tries to use some sort of monotonic
1402 * clock that isn't affected by someone setting the system real time 1402 * clock that isn't affected by someone setting the system real time
1403 * clock. 1403 * clock.
1404 * 1404 *
@@ -1407,4 +1407,14 @@ struct MHD_Daemon
1407time_t 1407time_t
1408MHD_monotonic_time(void); 1408MHD_monotonic_time(void);
1409 1409
1410
1411/**
1412 * Convert all occurences of '+' to ' '.
1413 *
1414 * @param arg string that is modified (in place), must be 0-terminated
1415 */
1416void
1417MHD_escape_plus (char *arg);
1418
1419
1410#endif 1420#endif