]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Move prototypes for get_init_creds_opt_get_pa() and coffman/gic_opt_ext
authorKevin Coffman <kwc@citi.umich.edu>
Mon, 11 Dec 2006 17:04:26 +0000 (17:04 +0000)
committerKevin Coffman <kwc@citi.umich.edu>
Mon, 11 Dec 2006 17:04:26 +0000 (17:04 +0000)
krb5_get_init_creds_opt_free_pa() into the
preauth_plugin.h header rather than krb5.hin.

git-svn-id: svn://anonsvn.mit.edu/krb5/users/coffman/gic_opt_ext@18936 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/krb5.hin
src/include/krb5/preauth_plugin.h

index 420978237af4ee162cf0e741485dfd0ef44bdbe2..21cea4623ed620fba297688ed8f3308b62e3f117 100644 (file)
@@ -2509,31 +2509,6 @@ krb5_get_init_creds_opt_set_pa
                const char *attr,
                const char *value);
 
-/*
- * This function allows a preauth plugin to obtain preauth
- * options.  The preauth_data returned from this function
- * should be freed by calling krb5_get_init_creds_opt_free_pa().
- *
- * The 'opt' pointer supplied to this function must have been
- * obtained using krb5_get_init_creds_opt_alloc()
- */
-krb5_error_code KRB5_CALLCONV
-krb5_get_init_creds_opt_get_pa
-               (krb5_context context,
-               krb5_get_init_creds_opt *opt,
-               int *num_preauth_data,
-               krb5_gic_opt_pa_data **preauth_data);
-
-/*
- * This function frees the preauth_data that was returned by 
- * krb5_get_init_creds_opt_get_pa().
- */
-void KRB5_CALLCONV
-krb5_get_init_creds_opt_free_pa
-               (krb5_context context,
-                int num_preauth_data,
-                krb5_gic_opt_pa_data *preauth_data);
-
 krb5_error_code KRB5_CALLCONV
 krb5_get_init_creds_password
 (krb5_context context,
index 194e53199675479578f4defe26523d5539d0ae15..7243a00b173dc6284767b0f37e444d84eb139176 100644 (file)
@@ -239,7 +239,7 @@ typedef struct krb5plugin_preauth_client_ftable_v0 {
     krb5_error_code (*tryagain)(krb5_context context,
                                void *plugin_context,
                                void *request_context,
-                               krb5_get_init_creds_opt *opt,
+                               krb5_get_init_creds_opt *opt,
                                preauth_get_client_data_proc get_data_proc,
                                struct _krb5_preauth_client_rock *rock,
                                krb5_kdc_req *request,
@@ -342,4 +342,31 @@ typedef struct krb5plugin_preauth_server_ftable_v0 {
                                              void *pa_module_context,
                                              void **request_pa_context);
 } krb5plugin_preauth_server_ftable_v0;
+
+
+/*
+ * This function allows a preauth plugin to obtain preauth
+ * options.  The preauth_data returned from this function
+ * should be freed by calling krb5_get_init_creds_opt_free_pa().
+ *
+ * The 'opt' pointer supplied to this function must have been
+ * obtained using krb5_get_init_creds_opt_alloc()
+ */
+krb5_error_code KRB5_CALLCONV
+krb5_get_init_creds_opt_get_pa
+               (krb5_context context,
+               krb5_get_init_creds_opt *opt,
+               int *num_preauth_data,
+               krb5_gic_opt_pa_data **preauth_data);
+
+/*
+ * This function frees the preauth_data that was returned by
+ * krb5_get_init_creds_opt_get_pa().
+ */
+void KRB5_CALLCONV
+krb5_get_init_creds_opt_free_pa
+               (krb5_context context,
+                int num_preauth_data,
+                krb5_gic_opt_pa_data *preauth_data);
+
 #endif /* KRB5_PREAUTH_PLUGIN_H_INCLUDED */