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

@@ -60,8 +60,8 @@
*/
typedef struct krb5plugin_db_ftable_desc {
int minor_version;
krb5_error_code (*init)(krb5_context, void **);
void (*fini)(void *);
krb5_error_code (KRB5_LIB_CALL *init)(krb5_context, void **);
void (KRB5_LIB_CALL *fini)(void *);
} krb5plugin_db_ftable;
#endif /* HEIMDAL_KRB5_DB_PLUGIN_H */