diff options
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 353312b4..b6f8336e 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -203,6 +203,14 @@ struct MHD_Connection | |||
203 | struct MemoryPool *pool; | 203 | struct MemoryPool *pool; |
204 | 204 | ||
205 | /** | 205 | /** |
206 | * We allow the main application to associate some | ||
207 | * pointer with the connection. Here is where we | ||
208 | * store it. (MHD does not know or care what it | ||
209 | * is). | ||
210 | */ | ||
211 | void * client_context; | ||
212 | |||
213 | /** | ||
206 | * Request method. Should be GET/POST/etc. Allocated | 214 | * Request method. Should be GET/POST/etc. Allocated |
207 | * in pool. | 215 | * in pool. |
208 | */ | 216 | */ |
@@ -376,6 +384,10 @@ struct MHD_Daemon | |||
376 | 384 | ||
377 | void *apc_cls; | 385 | void *apc_cls; |
378 | 386 | ||
387 | MHD_RequestCompletedCallback notify_completed; | ||
388 | |||
389 | void * notify_completed_cls; | ||
390 | |||
379 | /** | 391 | /** |
380 | * PID of the select thread (if we have internal select) | 392 | * PID of the select thread (if we have internal select) |
381 | */ | 393 | */ |