summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-10-23 13:16:44 -0400
committerGreg Hudson <ghudson@mit.edu>2012-10-23 13:16:44 -0400
commit8450ead695639f09862fdcecd46530b1d1b59bfe (patch)
tree859c3ec70f9ad8531dee3d0a8639afaae8df2d1d /src/include
parent08aeb0cbc6e72e14c0ec3424363539e61507c4e8 (diff)
downloadkrb5-8450ead695639f09862fdcecd46530b1d1b59bfe.tar.gz
krb5-8450ead695639f09862fdcecd46530b1d1b59bfe.tar.xz
krb5-8450ead695639f09862fdcecd46530b1d1b59bfe.zip
Alter responder function signature for consistency
For the responder callback signature, put the closure argument just after the context, and use KRB5_CALLCONV. These changes make the signature consistent with most other libkrb5 callbacks. ticket: 7419 (new) target_version: 1.11 tags: pullup
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/krb5.hin6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 6a4f995a6..1db64743e 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -6479,8 +6479,8 @@ krb5_responder_set_answer(krb5_context ctx, krb5_responder_context rctx,
* Responder function for an initial credential exchange.
*
* @param [in] ctx Library context
- * @param [in] rctx Responder context
* @param [in] data Callback data
+ * @param [in] rctx Responder context
*
* A responder function is like a prompter function, but is used for handling
* questions and answers as potentially complex data types. Client
@@ -6496,8 +6496,8 @@ krb5_responder_set_answer(krb5_context ctx, krb5_responder_context rctx,
* If a required question is unanswered, the prompter may be called.
*/
typedef krb5_error_code
-(*krb5_responder_fn)(krb5_context ctx, krb5_responder_context rctx,
- void *data);
+(KRB5_CALLCONV *krb5_responder_fn)(krb5_context ctx, void *data,
+ krb5_responder_context rctx);
typedef struct _krb5_responder_otp_tokeninfo {
krb5_flags flags;