Plugin functions should be KRB5_LIB_CALL

Plugin functions should be KRB5_LIB_CALL for speed on Windows.

Change-Id: Iaa4dcf73fd2e29e3f95feede5217eac4eaded4e2
This commit is contained in:
Jeffrey Altman
2012-03-13 23:56:11 -04:00
parent cb6f7ea40e
commit 8257cc2232
6 changed files with 24 additions and 24 deletions

View File

@@ -77,9 +77,9 @@
*/
typedef struct krb5plugin_kuserok_ftable_desc {
int minor_version;
krb5_error_code (*init)(krb5_context, void **);
void (*fini)(void *);
krb5_error_code (*kuserok)(void *, krb5_context, const char *,
krb5_error_code (KRB5_LIB_CALL *init)(krb5_context, void **);
void (KRB5_LIB_CALL *fini)(void *);
krb5_error_code (KRB5_LIB_CALL *kuserok)(void *, krb5_context, const char *,
unsigned int, const char *, const char *,
krb5_const_principal,
krb5_boolean *);