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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 900bfd72..76847c9f 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -1977,6 +1977,7 @@ union MHD_ConnectionInfo
1977 1977
1978/** 1978/**
1979 * I/O vector type. Provided for use with #MHD_create_response_from_iovec(). 1979 * I/O vector type. Provided for use with #MHD_create_response_from_iovec().
1980 * @note Available since #MHD_VERSION 0x00097204
1980 */ 1981 */
1981struct MHD_IoVec 1982struct MHD_IoVec
1982{ 1983{
@@ -2746,6 +2747,7 @@ MHD_get_connection_values (struct MHD_Connection *connection,
2746 * @param iterator_cls extra argument to @a iterator 2747 * @param iterator_cls extra argument to @a iterator
2747 * @return number of entries iterated over, 2748 * @return number of entries iterated over,
2748 * -1 if connection is NULL. 2749 * -1 if connection is NULL.
2750 * @note Available since #MHD_VERSION 0x00096400
2749 * @ingroup request 2751 * @ingroup request
2750 */ 2752 */
2751_MHD_EXTERN int 2753_MHD_EXTERN int
@@ -2811,6 +2813,7 @@ MHD_set_connection_value (struct MHD_Connection *connection,
2811 * @return #MHD_NO if the operation could not be 2813 * @return #MHD_NO if the operation could not be
2812 * performed due to insufficient memory; 2814 * performed due to insufficient memory;
2813 * #MHD_YES on success 2815 * #MHD_YES on success
2816 * @note Available since #MHD_VERSION 0x00096400
2814 * @ingroup request 2817 * @ingroup request
2815 */ 2818 */
2816_MHD_EXTERN enum MHD_Result 2819_MHD_EXTERN enum MHD_Result
@@ -3136,6 +3139,7 @@ MHD_create_response_from_buffer (size_t size,
3136 * @param buffer size bytes containing the response's data portion 3139 * @param buffer size bytes containing the response's data portion
3137 * @param crfc function to call to free the @a buffer 3140 * @param crfc function to call to free the @a buffer
3138 * @return NULL on error (i.e. invalid arguments, out of memory) 3141 * @return NULL on error (i.e. invalid arguments, out of memory)
3142 * @note Available since #MHD_VERSION 0x00096000
3139 * @ingroup response 3143 * @ingroup response
3140 */ 3144 */
3141_MHD_EXTERN struct MHD_Response * 3145_MHD_EXTERN struct MHD_Response *
@@ -3169,6 +3173,7 @@ MHD_create_response_from_fd (size_t size,
3169 * data; will be closed when response is destroyed; 3173 * data; will be closed when response is destroyed;
3170 * fd should be in 'blocking' mode 3174 * fd should be in 'blocking' mode
3171 * @return NULL on error (i.e. invalid arguments, out of memory) 3175 * @return NULL on error (i.e. invalid arguments, out of memory)
3176 * @note Available since #MHD_VERSION 0x00097102
3172 * @ingroup response 3177 * @ingroup response
3173 */ 3178 */
3174_MHD_EXTERN struct MHD_Response * 3179_MHD_EXTERN struct MHD_Response *
@@ -3260,6 +3265,7 @@ MHD_create_response_from_fd_at_offset64 (uint64_t size,
3260 * the response is destroyed. 3265 * the response is destroyed.
3261 * @param cls the argument passed to @a free_cb 3266 * @param cls the argument passed to @a free_cb
3262 * @return NULL on error (i.e. invalid arguments, out of memory) 3267 * @return NULL on error (i.e. invalid arguments, out of memory)
3268 * @note Available since #MHD_VERSION 0x00097204
3263 * @ingroup response 3269 * @ingroup response
3264 */ 3270 */
3265_MHD_EXTERN struct MHD_Response * 3271_MHD_EXTERN struct MHD_Response *
@@ -3596,7 +3602,7 @@ MHD_digest_auth_get_username (struct MHD_Connection *connection);
3596 * Free the memory given by @a ptr. Calls "free(ptr)". This function 3602 * Free the memory given by @a ptr. Calls "free(ptr)". This function
3597 * should be used to free the username returned by 3603 * should be used to free the username returned by
3598 * #MHD_digest_auth_get_username(). 3604 * #MHD_digest_auth_get_username().
3599 * @note Since v0.9.56 3605 * @note Available since #MHD_VERSION 0x00095600
3600 * 3606 *
3601 * @param ptr pointer to free. 3607 * @param ptr pointer to free.
3602 */ 3608 */
@@ -3640,6 +3646,7 @@ enum MHD_DigestAuthAlgorithm
3640 * @param algo digest algorithms allowed for verification 3646 * @param algo digest algorithms allowed for verification
3641 * @return #MHD_YES if authenticated, #MHD_NO if not, 3647 * @return #MHD_YES if authenticated, #MHD_NO if not,
3642 * #MHD_INVALID_NONCE if nonce is invalid 3648 * #MHD_INVALID_NONCE if nonce is invalid
3649 * @note Available since #MHD_VERSION 0x00096200
3643 * @ingroup authentication 3650 * @ingroup authentication
3644 */ 3651 */
3645_MHD_EXTERN int 3652_MHD_EXTERN int
@@ -3692,6 +3699,7 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
3692 * @param algo digest algorithms allowed for verification 3699 * @param algo digest algorithms allowed for verification
3693 * @return #MHD_YES if authenticated, #MHD_NO if not, 3700 * @return #MHD_YES if authenticated, #MHD_NO if not,
3694 * #MHD_INVALID_NONCE if nonce is invalid 3701 * #MHD_INVALID_NONCE if nonce is invalid
3702 * @note Available since #MHD_VERSION 0x00096200
3695 * @ingroup authentication 3703 * @ingroup authentication
3696 */ 3704 */
3697_MHD_EXTERN int 3705_MHD_EXTERN int
@@ -3719,6 +3727,7 @@ MHD_digest_auth_check_digest2 (struct MHD_Connection *connection,
3719 * invalid in seconds 3727 * invalid in seconds
3720 * @return #MHD_YES if authenticated, #MHD_NO if not, 3728 * @return #MHD_YES if authenticated, #MHD_NO if not,
3721 * #MHD_INVALID_NONCE if nonce is invalid 3729 * #MHD_INVALID_NONCE if nonce is invalid
3730 * @note Available since #MHD_VERSION 0x00096000
3722 * @ingroup authentication 3731 * @ingroup authentication
3723 * @deprecated use #MHD_digest_auth_check_digest2() 3732 * @deprecated use #MHD_digest_auth_check_digest2()
3724 */ 3733 */
@@ -3743,6 +3752,7 @@ MHD_digest_auth_check_digest (struct MHD_Connection *connection,
3743 * 'stale=true' to the authentication header 3752 * 'stale=true' to the authentication header
3744 * @param algo digest algorithm to use 3753 * @param algo digest algorithm to use
3745 * @return #MHD_YES on success, #MHD_NO otherwise 3754 * @return #MHD_YES on success, #MHD_NO otherwise
3755 * @note Available since #MHD_VERSION 0x00096200
3746 * @ingroup authentication 3756 * @ingroup authentication
3747 */ 3757 */
3748_MHD_EXTERN enum MHD_Result 3758_MHD_EXTERN enum MHD_Result