diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-09-09 03:56:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-09-09 03:56:10 +0000 |
commit | 21acb929f578eb8f876c235669b78d6b213ec315 (patch) | |
tree | 45f89714c45e2a4f0999f2601fb8df7076f5b4fd /src/daemon/internal.h | |
parent | 5e828bda99ed11ae9f183965eece0b5931ec0270 (diff) | |
download | libmicrohttpd-21acb929f578eb8f876c235669b78d6b213ec315.tar.gz libmicrohttpd-21acb929f578eb8f876c235669b78d6b213ec315.zip |
incremental post processing API and implementation
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 125755d2..3f3f91b0 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -65,6 +65,11 @@ | |||
65 | */ | 65 | */ |
66 | void MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...); | 66 | void MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...); |
67 | 67 | ||
68 | /** | ||
69 | * Process escape sequences ('+'=space, %HH). | ||
70 | * Updates val in place. | ||
71 | */ | ||
72 | void MHD_http_unescape (char *val); | ||
68 | 73 | ||
69 | /** | 74 | /** |
70 | * Header or cookie in HTTP request or response. | 75 | * Header or cookie in HTTP request or response. |
@@ -208,7 +213,7 @@ struct MHD_Connection | |||
208 | * store it. (MHD does not know or care what it | 213 | * store it. (MHD does not know or care what it |
209 | * is). | 214 | * is). |
210 | */ | 215 | */ |
211 | void * client_context; | 216 | void *client_context; |
212 | 217 | ||
213 | /** | 218 | /** |
214 | * Request method. Should be GET/POST/etc. Allocated | 219 | * Request method. Should be GET/POST/etc. Allocated |
@@ -350,11 +355,6 @@ struct MHD_Connection | |||
350 | int headersSent; | 355 | int headersSent; |
351 | 356 | ||
352 | /** | 357 | /** |
353 | * Are we processing the POST data? | ||
354 | */ | ||
355 | int post_processed; | ||
356 | |||
357 | /** | ||
358 | * HTTP response code. Only valid if response object | 358 | * HTTP response code. Only valid if response object |
359 | * is already set. | 359 | * is already set. |
360 | */ | 360 | */ |
@@ -391,7 +391,7 @@ struct MHD_Daemon | |||
391 | 391 | ||
392 | MHD_RequestCompletedCallback notify_completed; | 392 | MHD_RequestCompletedCallback notify_completed; |
393 | 393 | ||
394 | void * notify_completed_cls; | 394 | void *notify_completed_cls; |
395 | 395 | ||
396 | /** | 396 | /** |
397 | * PID of the select thread (if we have internal select) | 397 | * PID of the select thread (if we have internal select) |