summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/preauth_plugin.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-11-15 02:42:58 +0000
committerGreg Hudson <ghudson@mit.edu>2011-11-15 02:42:58 +0000
commitcd7796cf4dfdcbd63b021624cb6345347ae59c8b (patch)
treeafa38784a06d133a9a729095934c37925dcc2c41 /src/include/krb5/preauth_plugin.h
parent544e781832f19d9430d85d8e3097a0fadb768eff (diff)
downloadkrb5-cd7796cf4dfdcbd63b021624cb6345347ae59c8b.tar.gz
krb5-cd7796cf4dfdcbd63b021624cb6345347ae59c8b.tar.xz
krb5-cd7796cf4dfdcbd63b021624cb6345347ae59c8b.zip
Make verto context available to kdcpreauth modules
Add an event_context callback to kdcpreauth. Adjust the internal KDC and main loop interfaces to pass around the event context, and expose it to kdcpreauth modules via the rock. ticket: 7019 target_version: 1.10 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25475 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/preauth_plugin.h')
-rw-r--r--src/include/krb5/preauth_plugin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/krb5/preauth_plugin.h b/src/include/krb5/preauth_plugin.h
index cbc57f147b..7506b011b5 100644
--- a/src/include/krb5/preauth_plugin.h
+++ b/src/include/krb5/preauth_plugin.h
@@ -377,6 +377,11 @@ typedef struct krb5_kdcpreauth_callbacks_st {
* avoid a dependency on a libkdb5 type). */
void *(*client_entry)(krb5_context context, krb5_kdcpreauth_rock rock);
+ /* Get a pointer to the verto context an asynchronous plugin should
+ * use to create events in the edata or verify method. */
+ struct verto_ctx *(*event_context)(krb5_context context,
+ krb5_kdcpreauth_rock rock);
+
/* End of version 1 kdcpreauth callbacks. */
} *krb5_kdcpreauth_callbacks;