From: Zhanna Tsitkov Date: Fri, 11 Jan 2013 20:40:28 +0000 (-0500) Subject: Better doxygen markup for RESPONDER_QUESTION_OTP X-Git-Tag: krb5-1.12-alpha1~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4382911e52c37f0b7efd3664505a9c7263c9d79a;p=thirdparty%2Fkrb5.git Better doxygen markup for RESPONDER_QUESTION_OTP Doxygen and, consequently, Sphinx gets confused with the KRB5_RESPONDER_QUESTION_OTP comment layout. Also, mark the output parameter of krb5_responder_set_answer(). --- diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 68ae8887d2..8f8ef7eee4 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -6380,28 +6380,30 @@ krb5_prompter_posix(krb5_context context, void *data, const char *name, * The OTP responder question is asked when the KDC indicates that an OTP * value is required in order to complete the authentication. The JSON format * of the challenge is: - * { - * "service": , - * "tokenInfo": [ - * { - * "flags": , - * "vendor": , - * "challenge": , - * "length": , - * "format": , - * "tokenID": , - * "algID": , - * }, - * ... - * ] - * } + * + * @n { + * @n "service": , + * @n "tokenInfo": [ + * @n { + * @n "flags": , + * @n "vendor": , + * @n "challenge": , + * @n "length": , + * @n "format": , + * @n "tokenID": , + * @n "algID": , + * @n }, + * @n ... + * @n ] + * @n } * * The answer to the question MUST be JSON formatted: - * { - * "tokeninfo": , - * "value": , - * "pin": , - * } + * + * @n { + * @n "tokeninfo": , + * @n "value": , + * @n "pin": , + * @n } * * For more detail, please see RFC 6560. * @@ -6472,7 +6474,7 @@ krb5_responder_get_challenge(krb5_context ctx, krb5_responder_context rctx, * Answer a named question in the responder context. * * @param [in] ctx Library context - * @param [in] rctx Responder context + * @param [in,out] rctx Responder context * @param [in] question Question name * @param [in] answer The string to set (MUST be printable UTF-8) *