diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-31 17:02:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-31 17:02:49 +0000 |
commit | 09f824e702279a49415be274c451664b93bb07d4 (patch) | |
tree | 07e3fb956658fb7d3e8f461a346e4a861030808a | |
parent | 82298b29d4c2f23fde63348022b2e39bedf253d3 (diff) | |
download | libmicrohttpd-09f824e702279a49415be274c451664b93bb07d4.tar.gz libmicrohttpd-09f824e702279a49415be274c451664b93bb07d4.zip |
-formatting
-rw-r--r-- | src/daemon/internal.h | 19 |
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 | */ |
56 | extern MHD_PanicCallback mhd_panic; | 49 | extern 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 | */ |
153 | void MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...); | 146 | void |
147 | MHD_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 | */ |
167 | size_t MHD_http_unescape (void *cls, | 162 | size_t |
168 | struct MHD_Connection *connection, | 163 | MHD_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. |