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 struct MemoryPool *pool; /** + * We allow the main application to associate some + * pointer with the connection. Here is where we + * store it. (MHD does not know or care what it + * is). + */ + void * client_context; + + /** * Request method. Should be GET/POST/etc. Allocated * in pool. */ @@ -376,6 +384,10 @@ struct MHD_Daemon void *apc_cls; + MHD_RequestCompletedCallback notify_completed; + + void * notify_completed_cls; + /** * PID of the select thread (if we have internal select) */ |