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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
index 5fa38984..969117fc 100644
--- a/src/daemon/internal.h
+++ b/src/daemon/internal.h
@@ -605,6 +605,8 @@ struct MHD_Connection
605#endif 605#endif
606}; 606};
607 607
608typedef void * (*LogCallback)(void * cls, const char * uri);
609
608/** 610/**
609 * State kept for each MHD daemon. 611 * State kept for each MHD daemon.
610 */ 612 */
@@ -656,7 +658,7 @@ struct MHD_Daemon
656 * Returns the initial pointer to internal state 658 * Returns the initial pointer to internal state
657 * kept by the client for the request. 659 * kept by the client for the request.
658 */ 660 */
659 void *(*uri_log_callback) (void *cls, const char *uri); 661 LogCallback uri_log_callback;
660 662
661 /** 663 /**
662 * Closure argument to uri_log_callback. 664 * Closure argument to uri_log_callback.