From fe95127912511c67ae6825f3f2107ed2c0bfa6f6 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Wed, 22 Feb 1995 10:20:52 +0000 Subject: Converted krb/keytab to work on the PC. Mostly just adding the windows INTERFACE keyword to all functions and prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4973 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 4 ++++ src/include/krb5/keytab.h | 18 +++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) (limited to 'src/include') diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index e06bf651d..c7a557458 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 22 01:45:17 1995 Keith Vetter (keithv@fusion.com) + + * keytab.h: added windows INTERFACE keyword to prototypes + Tue Feb 21 17:31:06 1995 Keith Vetter (keithv@fusion.com) * config.h: added HAVE_ERRNO for the windows section diff --git a/src/include/krb5/keytab.h b/src/include/krb5/keytab.h index a603b0cf1..c9e138c14 100644 --- a/src/include/krb5/keytab.h +++ b/src/include/krb5/keytab.h @@ -54,44 +54,44 @@ typedef struct _krb5_kt_ops { krb5_magic magic; char *prefix; /* routines always present */ - krb5_error_code (*resolve) + krb5_error_code (INTERFACE *resolve) NPROTOTYPE((krb5_context, const char *, krb5_keytab *)); - krb5_error_code (*get_name) + krb5_error_code (INTERFACE *get_name) NPROTOTYPE((krb5_context, krb5_keytab, char *, int)); - krb5_error_code (*close) + krb5_error_code (INTERFACE *close) NPROTOTYPE((krb5_context, krb5_keytab)); - krb5_error_code (*get) + krb5_error_code (INTERFACE *get) NPROTOTYPE((krb5_context, krb5_keytab, krb5_principal, krb5_kvno, krb5_keytype, krb5_keytab_entry *)); - krb5_error_code (*start_seq_get) + krb5_error_code (INTERFACE *start_seq_get) NPROTOTYPE((krb5_context, krb5_keytab, krb5_kt_cursor *)); - krb5_error_code (*get_next) + krb5_error_code (INTERFACE *get_next) NPROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *, krb5_kt_cursor *)); - krb5_error_code (*end_get) + krb5_error_code (INTERFACE *end_get) NPROTOTYPE((krb5_context, krb5_keytab, krb5_kt_cursor *)); /* routines to be included on extended version (write routines) */ - krb5_error_code (*add) + krb5_error_code (INTERFACE *add) NPROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *)); - krb5_error_code (*remove) + krb5_error_code (INTERFACE *remove) NPROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *)); -- cgit