aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorsilvioprog <silvioprog@gmail.com>2020-03-31 15:08:34 -0300
committersilvioprog <silvioprog@gmail.com>2020-03-31 15:08:34 -0300
commitbcffdf809fabc09ff8f0a6ef6af601062191a2b4 (patch)
tree771d4408c8daa05136c722cd4729549862271ac7 /src/include
parent6702e6202368720d7a381669c03eedc318f225ca (diff)
downloadlibmicrohttpd-bcffdf809fabc09ff8f0a6ef6af601062191a2b4.tar.gz
libmicrohttpd-bcffdf809fabc09ff8f0a6ef6af601062191a2b4.zip
Applied several spelling fixes. (#6142)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/microhttpd.h22
-rw-r--r--src/include/microhttpd2.h16
2 files changed, 19 insertions, 19 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
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
index 1262c7a8..7c1b5187 100644
--- a/src/include/microhttpd2.h
+++ b/src/include/microhttpd2.h
@@ -536,7 +536,7 @@ enum MHD_StatusCode
536 MHD_SC_TLS_DISABLED = 50000, 536 MHD_SC_TLS_DISABLED = 50000,
537 537
538 /** 538 /**
539 * The application attempted to setup TLS paramters before 539 * The application attempted to setup TLS parameters before
540 * enabling TLS. 540 * enabling TLS.
541 */ 541 */
542 MHD_SC_TLS_BACKEND_UNINITIALIZED = 50003, 542 MHD_SC_TLS_BACKEND_UNINITIALIZED = 50003,
@@ -1469,7 +1469,7 @@ enum MHD_Method
1469 * @param method the HTTP method used (#MHD_HTTP_METHOD_GET, 1469 * @param method the HTTP method used (#MHD_HTTP_METHOD_GET,
1470 * #MHD_HTTP_METHOD_PUT, etc.) 1470 * #MHD_HTTP_METHOD_PUT, etc.)
1471 * @return action how to proceed, NULL 1471 * @return action how to proceed, NULL
1472 * if the socket must be closed due to a serios 1472 * if the socket must be closed due to a serious
1473 * error while handling the request 1473 * error while handling the request
1474 */ 1474 */
1475typedef const struct MHD_Action * 1475typedef const struct MHD_Action *
@@ -2005,7 +2005,7 @@ MHD_NONNULL (1);
2005 * If present true, allow reusing address:port socket (by using 2005 * If present true, allow reusing address:port socket (by using
2006 * SO_REUSEPORT on most platform, or platform-specific ways). If 2006 * SO_REUSEPORT on most platform, or platform-specific ways). If
2007 * present and set to false, disallow reusing address:port socket 2007 * present and set to false, disallow reusing address:port socket
2008 * (does nothing on most plaform, but uses SO_EXCLUSIVEADDRUSE on 2008 * (does nothing on most platform, but uses SO_EXCLUSIVEADDRUSE on
2009 * Windows). 2009 * Windows).
2010 * Ineffective in conjunction with #MHD_daemon_listen_socket(). 2010 * Ineffective in conjunction with #MHD_daemon_listen_socket().
2011 * 2011 *
@@ -2124,7 +2124,7 @@ MHD_NONNULL (1);
2124 2124
2125/** 2125/**
2126 * Use SHOUTcast. This will cause the response to begin 2126 * Use SHOUTcast. This will cause the response to begin
2127 * with the SHOUTcast "ICY" line instad of "HTTP". 2127 * with the SHOUTcast "ICY" line instead of "HTTP".
2128 * 2128 *
2129 * @param daemon daemon to set SHOUTcast option for 2129 * @param daemon daemon to set SHOUTcast option for
2130 */ 2130 */
@@ -2566,7 +2566,7 @@ MHD_NONNULL (1);
2566/** 2566/**
2567 * Set random values to be used by the Digest Auth module. Note that 2567 * Set random values to be used by the Digest Auth module. Note that
2568 * the application must ensure that @a buf remains allocated and 2568 * the application must ensure that @a buf remains allocated and
2569 * unmodified while the deamon is running. 2569 * unmodified while the daemon is running.
2570 * 2570 *
2571 * @param daemon daemon to configure 2571 * @param daemon daemon to configure
2572 * @param buf_size number of bytes in @a buf 2572 * @param buf_size number of bytes in @a buf
@@ -3886,7 +3886,7 @@ MHD_NONNULL (1,3);
3886 3886
3887/** 3887/**
3888 * Values of this enum are used to specify what 3888 * Values of this enum are used to specify what
3889 * information about a deamon is desired. 3889 * information about a daemon is desired.
3890 */ 3890 */
3891enum MHD_DaemonInformationType 3891enum MHD_DaemonInformationType
3892{ 3892{
@@ -3996,8 +3996,8 @@ MHD_NONNULL (1,3);
3996 * an error message and `abort()`. 3996 * an error message and `abort()`.
3997 * 3997 *
3998 * @param cls user specified value 3998 * @param cls user specified value
3999 * @param file where the error occured 3999 * @param file where the error occurred
4000 * @param line where the error occured 4000 * @param line where the error occurred
4001 * @param reason error detail, may be NULL 4001 * @param reason error detail, may be NULL
4002 * @ingroup logging 4002 * @ingroup logging
4003 */ 4003 */