From da3457eab161e8d4102efcafadded277f192e836 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 22 Jun 2022 16:35:04 +0300 Subject: [PATCH] digestauth.h: added some doxy --- src/microhttpd/digestauth.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/microhttpd/digestauth.h b/src/microhttpd/digestauth.h index 367e8e01..af54bc63 100644 --- a/src/microhttpd/digestauth.h +++ b/src/microhttpd/digestauth.h @@ -49,12 +49,26 @@ */ #define _MHD_AUTH_DIGEST_BASE "Digest" +/** + * Parameter of request's Digest Authorization header + */ struct MHD_RqDAuthParam { + /** + * The string with length, NOT zero-terminated + */ struct _MHD_str_w_len value; + /** + * True if string must be "unquoted" before processing. + * This member is false if the string is used in DQUOTE marks, but no + * backslash-escape is used in the string. + */ bool quoted; }; +/** + * Request client's Digest Authorization header parameters + */ struct MHD_RqDAuth { struct MHD_RqDAuthParam nonce; @@ -68,6 +82,9 @@ struct MHD_RqDAuth struct MHD_RqDAuthParam qop; struct MHD_RqDAuthParam cnonce; struct MHD_RqDAuthParam nc; + /** + * True if 'userhash' parameter is used with value 'true'. + */ bool userhash; };