commit da3457eab161e8d4102efcafadded277f192e836 parent 348945c3067840f40399f9df1052f643d268ecec Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Wed, 22 Jun 2022 16:35:04 +0300 digestauth.h: added some doxy Diffstat:
| M | src/microhttpd/digestauth.h | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git 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; };