aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r--src/daemon/internal.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
index 8484d73f..13f4ddaf 100644
--- a/src/daemon/internal.h
+++ b/src/daemon/internal.h
@@ -44,13 +44,6 @@
44 44
45 45
46/** 46/**
47 * Size by which MHD usually tries to increment read/write buffers.
48 * TODO: we should probably get rid of this magic constant and
49 * put in code to automatically determine a good value.
50 */
51#define MHD_BUF_INC_SIZE 2048
52
53/**
54 * Handler for fatal errors. 47 * Handler for fatal errors.
55 */ 48 */
56extern MHD_PanicCallback mhd_panic; 49extern MHD_PanicCallback mhd_panic;
@@ -150,7 +143,9 @@ struct MHD_NonceNc
150 * fprintf-like helper function for logging debug 143 * fprintf-like helper function for logging debug
151 * messages. 144 * messages.
152 */ 145 */
153void MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...); 146void
147MHD_DLOG (const struct MHD_Daemon *daemon,
148 const char *format, ...);
154 149
155#endif 150#endif
156 151
@@ -164,9 +159,11 @@ void MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...);
164 * @return length of the resulting val (strlen(val) maybe 159 * @return length of the resulting val (strlen(val) maybe
165 * shorter afterwards due to elimination of escape sequences) 160 * shorter afterwards due to elimination of escape sequences)
166 */ 161 */
167size_t MHD_http_unescape (void *cls, 162size_t
168 struct MHD_Connection *connection, 163MHD_http_unescape (void *cls,
169 char *val); 164 struct MHD_Connection *connection,
165 char *val);
166
170 167
171/** 168/**
172 * Header or cookie in HTTP request or response. 169 * Header or cookie in HTTP request or response.