diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 8a6fea2f..2eb6e05c 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -96,7 +96,7 @@ extern "C" | |||
96 | * they are parsed as decimal numbers. | 96 | * they are parsed as decimal numbers. |
97 | * Example: 0x01093001 = 1.9.30-1. | 97 | * Example: 0x01093001 = 1.9.30-1. |
98 | */ | 98 | */ |
99 | #define MHD_VERSION 0x00097517 | 99 | #define MHD_VERSION 0x00097518 |
100 | 100 | ||
101 | /* If generic headers don't work on your platform, include headers | 101 | /* If generic headers don't work on your platform, include headers |
102 | which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t', | 102 | which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t', |
@@ -4376,7 +4376,7 @@ enum MHD_DigestAuthAlgorithm | |||
4376 | * | 4376 | * |
4377 | * All error values are zero or negative. | 4377 | * All error values are zero or negative. |
4378 | * | 4378 | * |
4379 | * @note Available since #MHD_VERSION 0x00097513 | 4379 | * @note Available since #MHD_VERSION 0x00097518 |
4380 | */ | 4380 | */ |
4381 | enum MHD_DigestAuthResult | 4381 | enum MHD_DigestAuthResult |
4382 | { | 4382 | { |
@@ -4410,25 +4410,35 @@ enum MHD_DigestAuthResult | |||
4410 | */ | 4410 | */ |
4411 | MHD_DAUTH_WRONG_URI = -4, | 4411 | MHD_DAUTH_WRONG_URI = -4, |
4412 | 4412 | ||
4413 | /** | ||
4414 | * Wrong 'qop'. | ||
4415 | */ | ||
4416 | MHD_DAUTH_WRONG_QOP = -5, | ||
4417 | |||
4418 | /** | ||
4419 | * Too large (>64 KiB) Authorization parameter value. | ||
4420 | */ | ||
4421 | MHD_DAUTH_TOO_LARGE = -15, | ||
4422 | |||
4413 | /* The different form of naming is intentionally used for the results below, | 4423 | /* The different form of naming is intentionally used for the results below, |
4414 | * as they are more important */ | 4424 | * as they are more important */ |
4415 | 4425 | ||
4416 | /** | 4426 | /** |
4417 | * The 'nonce' is too old. Suggest the client to retry with the same | 4427 | * The 'nonce' is too old. Suggest the client to retry with the same |
4418 | * username and password to get the fresh 'nonce'. | 4428 | * username and password to get the fresh 'nonce'. |
4419 | * The validity of the 'nonce' may not be checked. | 4429 | * The validity of the 'nonce' may be not checked. |
4420 | */ | 4430 | */ |
4421 | MHD_DAUTH_NONCE_STALE = -16, | 4431 | MHD_DAUTH_NONCE_STALE = -17, |
4422 | 4432 | ||
4423 | /** | 4433 | /** |
4424 | * The 'nonce' is wrong. May indicate an attack attempt. | 4434 | * The 'nonce' is wrong. May indicate an attack attempt. |
4425 | */ | 4435 | */ |
4426 | MHD_DAUTH_NONCE_WRONG = -32, | 4436 | MHD_DAUTH_NONCE_WRONG = -33, |
4427 | 4437 | ||
4428 | /** | 4438 | /** |
4429 | * The 'response' is wrong. May indicate an attack attempt. | 4439 | * The 'response' is wrong. May indicate an attack attempt. |
4430 | */ | 4440 | */ |
4431 | MHD_DAUTH_RESPONSE_WRONG = -33, | 4441 | MHD_DAUTH_RESPONSE_WRONG = -34, |
4432 | }; | 4442 | }; |
4433 | 4443 | ||
4434 | 4444 | ||
@@ -4443,7 +4453,7 @@ enum MHD_DigestAuthResult | |||
4443 | * @param algo the digest algorithms allowed for verification | 4453 | * @param algo the digest algorithms allowed for verification |
4444 | * @return #MHD_DAUTH_OK if authenticated, | 4454 | * @return #MHD_DAUTH_OK if authenticated, |
4445 | * the error code otherwise | 4455 | * the error code otherwise |
4446 | * @note Available since #MHD_VERSION 0x00097513 | 4456 | * @note Available since #MHD_VERSION 0x00097518 |
4447 | * @ingroup authentication | 4457 | * @ingroup authentication |
4448 | */ | 4458 | */ |
4449 | _MHD_EXTERN enum MHD_DigestAuthResult | 4459 | _MHD_EXTERN enum MHD_DigestAuthResult |