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.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 109afa5b..5bf33547 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -43,7 +43,7 @@
43 * 43 *
44 * MHD understands POST data and is able to decode certain formats 44 * MHD understands POST data and is able to decode certain formats
45 * (at the moment only "application/x-www-form-urlencoded" and 45 * (at the moment only "application/x-www-form-urlencoded" and
46 * "mulitpart/formdata"). Unsupported encodings and large POST 46 * "multipart/formdata"). Unsupported encodings and large POST
47 * submissions may require the application to manually process 47 * submissions may require the application to manually process
48 * the stream, which is provided to the main application (and thus can be 48 * the stream, which is provided to the main application (and thus can be
49 * processed, just not conveniently by MHD). 49 * processed, just not conveniently by MHD).
@@ -132,7 +132,7 @@ typedef intptr_t ssize_t;
132 * Current version of the library. 132 * Current version of the library.
133 * 0x01093001 = 1.9.30-1. 133 * 0x01093001 = 1.9.30-1.
134 */ 134 */
135#define MHD_VERSION 0x00097001 135#define MHD_VERSION 0x00097002
136 136
137/** 137/**
138 * MHD-internal return code for "YES". 138 * MHD-internal return code for "YES".
@@ -522,7 +522,7 @@ MHD_get_reason_phrase_for (unsigned int code);
522/** 522/**
523 * Flag to be or-ed with MHD_HTTP status code for 523 * Flag to be or-ed with MHD_HTTP status code for
524 * SHOUTcast. This will cause the response to begin 524 * SHOUTcast. This will cause the response to begin
525 * with the SHOUTcast "ICY" line instad of "HTTP". 525 * with the SHOUTcast "ICY" line instead of "HTTP".
526 * @ingroup specialized 526 * @ingroup specialized
527 */ 527 */
528#define MHD_ICY_FLAG ((uint32_t) (((uint32_t) 1) << 31)) 528#define MHD_ICY_FLAG ((uint32_t) (((uint32_t) 1) << 31))
@@ -1562,7 +1562,7 @@ enum MHD_OPTION
1562 * of the buffer pointed to by the second argument in bytes. 1562 * of the buffer pointed to by the second argument in bytes.
1563 * Note that the application must ensure that the buffer of the 1563 * Note that the application must ensure that the buffer of the
1564 * second argument remains allocated and unmodified while the 1564 * second argument remains allocated and unmodified while the
1565 * deamon is running. 1565 * daemon is running.
1566 */ 1566 */
1567 MHD_OPTION_DIGEST_AUTH_RANDOM = 17, 1567 MHD_OPTION_DIGEST_AUTH_RANDOM = 17,
1568 1568
@@ -1628,7 +1628,7 @@ enum MHD_OPTION
1628 * If present and set to true, allow reusing address:port socket 1628 * If present and set to true, allow reusing address:port socket
1629 * (by using SO_REUSEPORT on most platform, or platform-specific ways). 1629 * (by using SO_REUSEPORT on most platform, or platform-specific ways).
1630 * If present and set to false, disallow reusing address:port socket 1630 * If present and set to false, disallow reusing address:port socket
1631 * (does nothing on most plaform, but uses SO_EXCLUSIVEADDRUSE on Windows). 1631 * (does nothing on most platform, but uses SO_EXCLUSIVEADDRUSE on Windows).
1632 * This option must be followed by a `unsigned int` argument. 1632 * This option must be followed by a `unsigned int` argument.
1633 */ 1633 */
1634 MHD_OPTION_LISTENING_ADDRESS_REUSE = 25, 1634 MHD_OPTION_LISTENING_ADDRESS_REUSE = 25,
@@ -2038,7 +2038,7 @@ enum MHD_ConnectionInfoType
2038 2038
2039/** 2039/**
2040 * Values of this enum are used to specify what 2040 * Values of this enum are used to specify what
2041 * information about a deamon is desired. 2041 * information about a daemon is desired.
2042 */ 2042 */
2043enum MHD_DaemonInfoType 2043enum MHD_DaemonInfoType
2044{ 2044{
@@ -2099,8 +2099,8 @@ enum MHD_DaemonInfoType
2099 * an error message and `abort()`. 2099 * an error message and `abort()`.
2100 * 2100 *
2101 * @param cls user specified value 2101 * @param cls user specified value
2102 * @param file where the error occured 2102 * @param file where the error occurred
2103 * @param line where the error occured 2103 * @param line where the error occurred
2104 * @param reason error detail, may be NULL 2104 * @param reason error detail, may be NULL
2105 * @ingroup logging 2105 * @ingroup logging
2106 */ 2106 */
@@ -2160,7 +2160,7 @@ typedef int
2160 * can be set with the #MHD_OPTION_NOTIFY_COMPLETED). 2160 * can be set with the #MHD_OPTION_NOTIFY_COMPLETED).
2161 * Initially, `*con_cls` will be NULL. 2161 * Initially, `*con_cls` will be NULL.
2162 * @return #MHD_YES if the connection was handled successfully, 2162 * @return #MHD_YES if the connection was handled successfully,
2163 * #MHD_NO if the socket must be closed due to a serios 2163 * #MHD_NO if the socket must be closed due to a serious
2164 * error while handling the request 2164 * error while handling the request
2165 */ 2165 */
2166typedef int 2166typedef int
@@ -3340,7 +3340,7 @@ MHD_create_response_for_upgrade (MHD_UpgradeHandler upgrade_handler,
3340 * Destroy a response object and associated resources. Note that 3340 * Destroy a response object and associated resources. Note that
3341 * libmicrohttpd may keep some of the resources around if the response 3341 * libmicrohttpd may keep some of the resources around if the response
3342 * is still in the queue for some clients, so the memory may not 3342 * is still in the queue for some clients, so the memory may not
3343 * necessarily be freed immediatley. 3343 * necessarily be freed immediately.
3344 * 3344 *
3345 * @param response response to destroy 3345 * @param response response to destroy
3346 * @ingroup response 3346 * @ingroup response
@@ -3576,7 +3576,7 @@ MHD_digest_auth_check2 (struct MHD_Connection *connection,
3576 * Uses #MHD_DIGEST_ALG_MD5 (for now, for backwards-compatibility). 3576 * Uses #MHD_DIGEST_ALG_MD5 (for now, for backwards-compatibility).
3577 * Note that this MAY change to #MHD_DIGEST_ALG_AUTO in the future. 3577 * Note that this MAY change to #MHD_DIGEST_ALG_AUTO in the future.
3578 * If you want to be sure you get MD5, use #MHD_digest_auth_check2() 3578 * If you want to be sure you get MD5, use #MHD_digest_auth_check2()
3579 * and specifiy MD5 explicitly. 3579 * and specify MD5 explicitly.
3580 * 3580 *
3581 * @param connection The MHD connection structure 3581 * @param connection The MHD connection structure
3582 * @param realm The realm presented to the client 3582 * @param realm The realm presented to the client