aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 84d1cacf..9d9af65d 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -121,7 +121,7 @@ extern "C"
121 * Current version of the library. 121 * Current version of the library.
122 * 0x01093001 = 1.9.30-1. 122 * 0x01093001 = 1.9.30-1.
123 */ 123 */
124#define MHD_VERSION 0x00093000 124#define MHD_VERSION 0x00093001
125 125
126/** 126/**
127 * MHD-internal return code for "YES". 127 * MHD-internal return code for "YES".
@@ -611,7 +611,7 @@ enum MHD_OPTION
611 * logging. This option should be followed by two arguments, the first 611 * logging. This option should be followed by two arguments, the first
612 * one must be of the form 612 * one must be of the form
613 * 613 *
614 * void * my_logger(void *cls, const char *uri) 614 * void * my_logger(void *cls, const char *uri, struct MHD_Connection *con)
615 * 615 *
616 * where the return value will be passed as 616 * where the return value will be passed as
617 * (`* con_cls`) in calls to the #MHD_AccessHandlerCallback 617 * (`* con_cls`) in calls to the #MHD_AccessHandlerCallback
@@ -623,6 +623,11 @@ enum MHD_OPTION
623 * "cls" will be set to the second argument following 623 * "cls" will be set to the second argument following
624 * #MHD_OPTION_URI_LOG_CALLBACK. Finally, uri will 624 * #MHD_OPTION_URI_LOG_CALLBACK. Finally, uri will
625 * be the 0-terminated URI of the request. 625 * be the 0-terminated URI of the request.
626 *
627 * Note that during the time of this call, most of the connection's
628 * state is not initialized (as we have not yet parsed he headers).
629 * However, information about the connecting client (IP, socket)
630 * is available.
626 */ 631 */
627 MHD_OPTION_URI_LOG_CALLBACK = 7, 632 MHD_OPTION_URI_LOG_CALLBACK = 7,
628 633