Converted krb/keytab to work on the PC. Mostly just adding the windows
authorKeith Vetter <keithv@fusion.com>
Wed, 22 Feb 1995 10:20:52 +0000 (10:20 +0000)
committerKeith Vetter <keithv@fusion.com>
Wed, 22 Feb 1995 10:20:52 +0000 (10:20 +0000)
INTERFACE keyword to all functions and prototypes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4973 dc483132-0cff-0310-8789-dd5450dbe970

24 files changed:
src/include/krb5/ChangeLog
src/include/krb5/keytab.h
src/lib/krb5/keytab/ChangeLog
src/lib/krb5/keytab/Makefile.in
src/lib/krb5/keytab/file/ChangeLog
src/lib/krb5/keytab/file/Makefile.in
src/lib/krb5/keytab/file/ktf_add.c
src/lib/krb5/keytab/file/ktf_close.c
src/lib/krb5/keytab/file/ktf_endget.c
src/lib/krb5/keytab/file/ktf_g_ent.c
src/lib/krb5/keytab/file/ktf_g_name.c
src/lib/krb5/keytab/file/ktf_next.c
src/lib/krb5/keytab/file/ktf_remove.c
src/lib/krb5/keytab/file/ktf_resolv.c
src/lib/krb5/keytab/file/ktf_ssget.c
src/lib/krb5/keytab/file/ktf_util.c
src/lib/krb5/keytab/file/ktf_wreslv.c
src/lib/krb5/keytab/file/ktfile.h
src/lib/krb5/keytab/ktadd.c
src/lib/krb5/keytab/ktbase.c
src/lib/krb5/keytab/ktdefault.c
src/lib/krb5/keytab/ktfr_entry.c
src/lib/krb5/keytab/ktremove.c
src/lib/krb5/keytab/read_servi.c

index e06bf651d5f996c1eece9513cba0caaba04a5709..c7a5574588bbb0e2c911fe704bc5ff72fa03474b 100644 (file)
@@ -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
index a603b0cf1dd879708dbc1e4cbb80e261d6a0b953..c9e138c1419e4e7af4944331a13119ce32bdc6c0 100644 (file)
@@ -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 *));
index ab3d872c24896083ecb50bfd9a9f458da2fc37b7..5d25cae4a8451dded2fd166460cd2992319edcad 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 22 01:38:54 1995 Keith Vetter (keithv@fusion.com)
+
+       * Makefile.in: made to work on the PC
+        * *.c: added windows INTERFACE keyword
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
        * read_servi.c (krb5_kt_read_service_key) Add krb5_keytype arg.
index 5fccd3ec92fd24d5ad8b3d03c468e84cc471e1db..87807387d375efc652807d1eb19a67229d3ece1d 100644 (file)
@@ -1,17 +1,17 @@
 CFLAGS = $(CCOPTS) $(DEFS)
 LDFLAGS = -g
 
-all:: $(OBJS)
-
-
+##DOSBUILDTOP = ..\..\..
+##DOSLIBNAME=..\libkrb5.lib
+##DOS!include $(BUILDTOP)\config\windows.in
 
 OBJS=  \
-       ktadd.o         \
-       ktbase.o        \
-       ktdefault.o     \
-       ktfr_entry.o    \
-       ktremove.o      \
-       read_servi.o
+       ktadd.$(OBJEXT)         \
+       ktbase.$(OBJEXT)        \
+       ktdefault.$(OBJEXT)     \
+       ktfr_entry.$(OBJEXT)    \
+       ktremove.$(OBJEXT)      \
+       read_servi.$(OBJEXT)
 
 SRCS=  \
        $(srcdir)/ktadd.c       \
@@ -20,3 +20,23 @@ SRCS=        \
        $(srcdir)/ktfr_entry.c  \
        $(srcdir)/ktremove.c    \
        $(srcdir)/read_servi.c
+
+all:: $(OBJS) all-$(WHAT)
+
+all-unix::
+
+all-windows::
+       cd file
+       @echo Making in ..\file
+       -$(MAKE) -$(MFLAGS) LIB=$(LIB)
+       cd ..
+
+clean:: clean-$(WHAT)
+
+clean-unix::
+
+clean-windows::
+       cd file
+       @echo Making clean in ..\file
+       -$(MAKE) -$(MFLAGS) clean
+       cd ..
index 83b804c679f62701fb603e42d634c2e7a8bfd399..2da51ef57902a84bc1d69633417a76875d5aa3bb 100644 (file)
@@ -1,3 +1,10 @@
+Wed Feb 22 01:27:05 1995 Keith Vetter (keithv@fusion.com)
+
+        * Makefile.in: made to work on the PC
+        * *.c, ktfile.h: added windows INTERFACE keyword
+       * ktf_util.c: removed include of <netinet/in.h>
+           cast some 32bit ints to size_t ints
+
 Fri Feb  3 01:53:44 1995  John Gilmore  <gnu@cygnus.com>
 
        Rename files for DOS 8.3 uniqueness:
index 5e88a72ffd49ea84ba9ff81feed18059308acef7..a49073c868737dabcf841941df16aaf7d49f45a5 100644 (file)
@@ -1,7 +1,9 @@
 CFLAGS = $(CCOPTS) $(DEFS)
 LDFLAGS = -g
 
-all:: $(OBJS)
+##DOSBUILDTOP = ..\..\..\..
+##DOSLIBNAME=..\..\libkrb5.lib
+##DOS!include $(BUILDTOP)\config\windows.in
 
 SRCS= \
        $(srcdir)/ktf_add.c \
@@ -20,18 +22,19 @@ SRCS= \
        $(srcdir)/ktf_util.c
 
 OBJS = \
-       ktf_add.o       \
-       ktf_close.o     \
-       ktf_endget.o    \
-       ktf_g_ent.o     \
-       ktf_g_name.o    \
-       ktf_next.o      \
-       ktf_resolv.o    \
-       ktf_remove.o    \
-       ktf_ssget.o     \
-       ktf_util.o      \
-       ktf_ops.o       \
-       ktf_wops.o      \
-       ktf_wreslv.o    \
-       ktf_defops.o
+       ktf_add.$(OBJEXT)       \
+       ktf_close.$(OBJEXT)     \
+       ktf_endget.$(OBJEXT)    \
+       ktf_g_ent.$(OBJEXT)     \
+       ktf_g_name.$(OBJEXT)    \
+       ktf_next.$(OBJEXT)      \
+       ktf_resolv.$(OBJEXT)    \
+       ktf_remove.$(OBJEXT)    \
+       ktf_ssget.$(OBJEXT)     \
+       ktf_util.$(OBJEXT)      \
+       ktf_ops.$(OBJEXT)       \
+       ktf_wops.$(OBJEXT)      \
+       ktf_wreslv.$(OBJEXT)    \
+       ktf_defops.$(OBJEXT)
 
+all:: $(OBJS)
index 140fb6a2c5d01420f64c38354c60d17c8011b3d2..2a2f15dd807efdf11b0da8a33f8ede7a4746e46e 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_add(context, id, entry)
    krb5_context context;
    krb5_keytab id;
index ebe8726e35854b4dce5612bafb48c61df61a4493..d051933f0558960f2a0ad79c0cf8a11a2baa9299 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code 
+krb5_error_code INTERFACE
 krb5_ktfile_close(context, id)
     krb5_context context;
   krb5_keytab id;
index a1f1fc40af2cc45d51d29acb1f12361124ecbfad..e733af7135a160a5dca5721c1f2cbdb0c13d119f 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_end_get(context, id, cursor)
     krb5_context context;
 krb5_keytab id;
index e5dbea41ea1f898503a319c5a2f92e0adea0fc04..a56e45133629d844f38cbc2107cc9eaef967410d 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_get_entry(context, id, principal, kvno, keytype, entry)
    krb5_context context;
    krb5_keytab id;
index 62cd10e7ff1aefb1c7a4e1dc9aaa448198b8b3fc..293bf13dcd57791eacc94d714f08e4bf357b150a 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_get_name(context, id, name, len)
     krb5_context context;
   krb5_keytab id;
index 57b74ba75d3c0fd908d36a458685a26c25e3c90a..99123152614e7e3df82644ada056473e8d58a321 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_get_next(context, id, entry, cursor)
     krb5_context context;
 krb5_keytab id;
index 8881d02758d7e28da467aa06e100a14ab2ad509b..8f2f64b96cc0f507e863321a81eb915618912770 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_remove(context, id, entry)
     krb5_context context;
 krb5_keytab id;
index e5bef98036095d2899e355284cd93ef4704f4ea7..4f52eb902458191691835c623bfb256323584dbd 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_resolve(context, name, id)
     krb5_context context;
   const char *name;
index b9872d3f61c587ed438883bfb96d15c7b1be57e6..aa9304910e1c756e1b595f947f01afc4c0addcb9 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_start_seq_get(context, id, cursorp)
     krb5_context context;
 krb5_keytab id;
index 0ea747b655fcf5c4608b9cee69c21777744cdac0..301abbb9c4718642e269a4b342034a1e99cf1f5f 100644 (file)
@@ -75,7 +75,6 @@
 #include <krb5/libos.h>
 #include <krb5/los-proto.h>
 #include <krb5/osconf.h>
-#include <netinet/in.h>
 #include <stdio.h>
 
 #include "ktfile.h"
@@ -100,7 +99,9 @@ static char *fopen_mode_rbplus= "r+";
 static char *fopen_mode_rb = "r";
 #endif
 
+#ifndef HAVE_ERRNO
 extern int errno;
+#endif
 
 static krb5_error_code
 krb5_ktfileint_open(context, id, mode)
@@ -164,7 +165,7 @@ int mode;
     return 0;
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_openr(context, id)
     krb5_context context;
 krb5_keytab id;
@@ -172,7 +173,7 @@ krb5_keytab id;
     return krb5_ktfileint_open(context, id, KRB5_LOCKMODE_SHARED);
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_openw(context, id)
     krb5_context context;
 krb5_keytab id;
@@ -180,7 +181,7 @@ krb5_keytab id;
     return krb5_ktfileint_open(context, id, KRB5_LOCKMODE_EXCLUSIVE);
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_close(context, id)
     krb5_context context;
 krb5_keytab id;
@@ -195,7 +196,7 @@ krb5_keytab id;
     return kerror;
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_delete_entry(context, id, delete_point)
     krb5_context context;
 krb5_keytab id;
@@ -233,9 +234,9 @@ krb5_int32 delete_point;
             len = BUFSIZ;
         }
 
-        memset(iobuf, 0, len);
+        memset(iobuf, 0, (size_t) len);
         while (size > 0) {
-            xfwrite(iobuf, 1, len, KTFILEP(id));
+            xfwrite(iobuf, 1, (size_t) len, KTFILEP(id));
             size -= len;
             if (size < len) {
                 len = size;
@@ -248,7 +249,7 @@ krb5_int32 delete_point;
     return 0;
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_internal_read_entry(context, id, ret_entry, delete_point)
     krb5_context context;
 krb5_keytab id;
@@ -456,7 +457,7 @@ fail:
     return error;
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_read_entry(context, id, entryp)
     krb5_context context;
 krb5_keytab id;
@@ -467,7 +468,7 @@ krb5_keytab_entry *entryp;
     return krb5_ktfileint_internal_read_entry(context, id, entryp, &delete_point);
 }
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_write_entry(context, id, entry)
     krb5_context context;
 krb5_keytab id;
@@ -613,7 +614,7 @@ krb5_keytab_entry *entry;
  * Determine the size needed for a file entry for the given
  * keytab entry.
  */
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_size_entry(context, entry, size_needed)
     krb5_context context;
 krb5_keytab_entry *entry;
@@ -655,7 +656,7 @@ krb5_int32 *size_needed;
  * to commit the write, but that this field must indicate the size of the
  * block in the file rather than the size of the actual entry)  
  */
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfileint_find_slot(context, id, size_needed, commit_point)
     krb5_context context;
 krb5_keytab id;
@@ -754,8 +755,8 @@ krb5_int32 *commit_point;
                         return errno;
                     }
 
-                    memset(iobuf, 0, size);
-                    xfwrite(iobuf, 1, size, KTFILEP(id));
+                    memset(iobuf, 0, (size_t) size);
+                    xfwrite(iobuf, 1, (size_t) size, KTFILEP(id));
                     if (feof(KTFILEP(id))) {
                         break;
                     }
index 9d6632ac4f89c3c4f51bb272ca6b63ed0003dbd9..cb716d76017eb62f20cf71fdd34e0e2b8ee4ee45 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "ktfile.h"
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_ktfile_wresolve(context, name, id)
     krb5_context context;
   const char *name;
index c1c55dc88f7b279eaeec94fe56c9f4456705b45b..4bb7e1dc5f21f49b2e26258e330153a0b164bb82 100644 (file)
@@ -61,27 +61,27 @@ typedef struct _krb5_ktfile_data {
 extern struct _krb5_kt_ops krb5_ktf_ops;
 extern struct _krb5_kt_ops krb5_ktf_writable_ops;
 
-krb5_error_code krb5_ktfile_resolve 
+krb5_error_code INTERFACE krb5_ktfile_resolve 
        PROTOTYPE((krb5_context,
                   const char *,
                   krb5_keytab *));
 
-krb5_error_code krb5_ktfile_wresolve 
+krb5_error_code INTERFACE krb5_ktfile_wresolve 
        PROTOTYPE((krb5_context,
                   const char *,
                   krb5_keytab *));
 
-krb5_error_code krb5_ktfile_get_name 
+krb5_error_code INTERFACE krb5_ktfile_get_name 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   char *,
                   int));
 
-krb5_error_code krb5_ktfile_close 
+krb5_error_code INTERFACE krb5_ktfile_close 
        PROTOTYPE((krb5_context,
                   krb5_keytab));
 
-krb5_error_code krb5_ktfile_get_entry 
+krb5_error_code INTERFACE krb5_ktfile_get_entry 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_principal,
@@ -89,72 +89,72 @@ krb5_error_code krb5_ktfile_get_entry
                   krb5_keytype,
                   krb5_keytab_entry *));
 
-krb5_error_code krb5_ktfile_start_seq_get 
+krb5_error_code INTERFACE krb5_ktfile_start_seq_get 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_kt_cursor *));
 
-krb5_error_code krb5_ktfile_get_next 
+krb5_error_code INTERFACE krb5_ktfile_get_next 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_keytab_entry *,
                   krb5_kt_cursor *));
 
-krb5_error_code krb5_ktfile_end_get 
+krb5_error_code INTERFACE krb5_ktfile_end_get 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_kt_cursor *));
 
 /* routines to be included on extended version (write routines) */
-krb5_error_code krb5_ktfile_add 
+krb5_error_code INTERFACE krb5_ktfile_add 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_keytab_entry *));
 
-krb5_error_code krb5_ktfile_remove 
+krb5_error_code INTERFACE krb5_ktfile_remove 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_keytab_entry *));
 
-krb5_error_code krb5_ktfileint_openr 
+krb5_error_code INTERFACE krb5_ktfileint_openr 
        PROTOTYPE((krb5_context,
                   krb5_keytab));
 
-krb5_error_code krb5_ktfileint_openw 
+krb5_error_code INTERFACE krb5_ktfileint_openw 
        PROTOTYPE((krb5_context,
                   krb5_keytab));
 
-krb5_error_code krb5_ktfileint_close 
+krb5_error_code INTERFACE krb5_ktfileint_close 
        PROTOTYPE((krb5_context,
                   krb5_keytab));
 
-krb5_error_code krb5_ktfileint_read_entry 
+krb5_error_code INTERFACE krb5_ktfileint_read_entry 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_keytab_entry *));
 
-krb5_error_code krb5_ktfileint_write_entry 
+krb5_error_code INTERFACE krb5_ktfileint_write_entry 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_keytab_entry *));
 
-krb5_error_code krb5_ktfileint_delete_entry 
+krb5_error_code INTERFACE krb5_ktfileint_delete_entry 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                    krb5_int32));
 
-krb5_error_code krb5_ktfileint_internal_read_entry 
+krb5_error_code INTERFACE krb5_ktfileint_internal_read_entry 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                   krb5_keytab_entry *,
                    krb5_int32 *));
 
-krb5_error_code krb5_ktfileint_size_entry 
+krb5_error_code INTERFACE krb5_ktfileint_size_entry 
        PROTOTYPE((krb5_context,
                   krb5_keytab_entry *,
                    krb5_int32 *));
 
-krb5_error_code krb5_ktfileint_find_slot 
+krb5_error_code INTERFACE krb5_ktfileint_find_slot 
        PROTOTYPE((krb5_context,
                   krb5_keytab,
                    krb5_int32 *,
index 8e9b1853e9f5b3a8342d68ecee0d62abde6069be..42a6c4b44394998ec1ad73c3efd4a16eb86272d7 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <krb5/krb5.h>
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_kt_add_entry (context, id, entry)
     krb5_context context;
     krb5_keytab id;
index c359b0e268c6c1c83d73faca7641343d1a04d8fb..c1264218993aa2627887ddfdedef24d5dbafedf8 100644 (file)
@@ -41,7 +41,7 @@ static struct krb5_kt_typelist *kt_typehead = &krb5_kt_typelist_dfl;
  * don't replace if it already exists; return an error instead.
  */
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_kt_register(context, ops)
     krb5_context context;
     krb5_kt_ops *ops;
@@ -70,7 +70,8 @@ krb5_kt_register(context, ops)
  * particular keytab type.
  */
 
-krb5_error_code krb5_kt_resolve (context, name, ktid)
+krb5_error_code INTERFACE
+krb5_kt_resolve (context, name, ktid)
     krb5_context context;
     const char *name;
     krb5_keytab *ktid;
index 17bbf6d6bbb1b4803f8db98df6a0d748206d8c15..dc53abbeaacc7f855bfe92e2889eff096226df45 100644 (file)
@@ -28,7 +28,8 @@
 #include <krb5/krb5.h>
 #include <stdio.h>
 
-krb5_error_code krb5_kt_default(context, id)
+krb5_error_code INTERFACE
+krb5_kt_default(context, id)
     krb5_context context;
     krb5_keytab *id;
 {
index efe39329e41c9cce1da8c7c25fc1a7f2ef19c4ed..c7bb1241ff48e94ac460ba274dbb7fd4465b54d1 100644 (file)
@@ -28,7 +28,7 @@
 #include <krb5/krb5.h>
 #include <krb5/ext-proto.h>
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_kt_free_entry (context, entry)
     krb5_context context;
     krb5_keytab_entry *entry;
index 795ce742dc0e153bd30d28aa19857b62208c296c..e8b433ca4f594106a822927cd2dc1fef850b8822 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <krb5/krb5.h>
 
-krb5_error_code
+krb5_error_code INTERFACE
 krb5_kt_remove_entry (context, id, entry)
     krb5_context context;
     krb5_keytab id;
index 5ed735b168728d0d3661e84a6ea4967c8b04991c..77db43d868ca6185f4d70d055e6cd5f5ef7cdf78 100644 (file)
@@ -43,7 +43,7 @@
  * returns: Either KSUCCESS or error code.
  * errors: error code if not found or keyprocarg is invalid.
  */
-krb5_error_code 
+krb5_error_code INTERFACE
 krb5_kt_read_service_key(context, keyprocarg, principal, vno, keytype, key)
     krb5_context context;
     krb5_pointer keyprocarg;