diff options
author | Keith Vetter <keithv@fusion.com> | 1995-04-14 00:56:21 +0000 |
---|---|---|
committer | Keith Vetter <keithv@fusion.com> | 1995-04-14 00:56:21 +0000 |
commit | 48e59557cdff501a25c809cda3f1dd34a27cc52f (patch) | |
tree | 3bbc11e8ef7f3866da45c06871f18b1fae020bcb /src/lib/krb5/keytab | |
parent | 73bd684de42505fe4e6a15803ddf074c57db671c (diff) | |
download | krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.zip krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.tar.gz krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.tar.bz2 |
Windows global stuff:
o removed INTERFACE from non-api functions
o add FAR to pointers visible to the world
o made the tests for __STDC__ also check for _WINDOWS
o creates GSSAPI.DLL & GSSAPI.LIB as per spec.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/keytab')
-rw-r--r-- | src/lib/krb5/keytab/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_add.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_close.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_endget.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_g_ent.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_g_name.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_next.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_remove.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_resolv.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_ssget.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_util.c | 18 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktf_wreslv.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ktfile.h | 38 | ||||
-rw-r--r-- | src/lib/krb5/keytab/ktadd.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/ktbase.c | 4 | ||||
-rw-r--r-- | src/lib/krb5/keytab/ktdefault.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/ktfr_entry.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/ktremove.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/keytab/read_servi.c | 2 |
20 files changed, 53 insertions, 45 deletions
diff --git a/src/lib/krb5/keytab/ChangeLog b/src/lib/krb5/keytab/ChangeLog index d6b9d5f..97ee383 100644 --- a/src/lib/krb5/keytab/ChangeLog +++ b/src/lib/krb5/keytab/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com) + + * *.c: removed unneeded INTERFACE from non-api functions. + Fri Mar 17 19:46:07 1995 John Gilmore (gnu at toad.com) * Makefile.in (LDFLAGS): Zap duplicate defn. diff --git a/src/lib/krb5/keytab/file/ChangeLog b/src/lib/krb5/keytab/file/ChangeLog index e224a9a..47da64d 100644 --- a/src/lib/krb5/keytab/file/ChangeLog +++ b/src/lib/krb5/keytab/file/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com) + + * *.[ch]: removed unneeded INTERFACE from non-api functions. + Fri Mar 17 19:46:49 1995 John Gilmore (gnu at toad.com) * Makefile.in (LDFLAGS): Zap duplicate. diff --git a/src/lib/krb5/keytab/file/ktf_add.c b/src/lib/krb5/keytab/file/ktf_add.c index a1cad2a..0de7629 100644 --- a/src/lib/krb5/keytab/file/ktf_add.c +++ b/src/lib/krb5/keytab/file/ktf_add.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_add(context, id, entry) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_close.c b/src/lib/krb5/keytab/file/ktf_close.c index a59a796..93ee92e 100644 --- a/src/lib/krb5/keytab/file/ktf_close.c +++ b/src/lib/krb5/keytab/file/ktf_close.c @@ -28,7 +28,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_close(context, id) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_endget.c b/src/lib/krb5/keytab/file/ktf_endget.c index 714e4b7..25ef4de 100644 --- a/src/lib/krb5/keytab/file/ktf_endget.c +++ b/src/lib/krb5/keytab/file/ktf_endget.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_end_get(context, id, cursor) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_g_ent.c b/src/lib/krb5/keytab/file/ktf_g_ent.c index 591a887..a296720 100644 --- a/src/lib/krb5/keytab/file/ktf_g_ent.c +++ b/src/lib/krb5/keytab/file/ktf_g_ent.c @@ -29,7 +29,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_get_entry(context, id, principal, kvno, keytype, entry) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_g_name.c b/src/lib/krb5/keytab/file/ktf_g_name.c index 86f6159..a8f27c4 100644 --- a/src/lib/krb5/keytab/file/ktf_g_name.c +++ b/src/lib/krb5/keytab/file/ktf_g_name.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_get_name(context, id, name, len) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_next.c b/src/lib/krb5/keytab/file/ktf_next.c index eb3ecc3..da23bb9 100644 --- a/src/lib/krb5/keytab/file/ktf_next.c +++ b/src/lib/krb5/keytab/file/ktf_next.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_get_next(context, id, entry, cursor) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_remove.c b/src/lib/krb5/keytab/file/ktf_remove.c index b3ddd75..9370430 100644 --- a/src/lib/krb5/keytab/file/ktf_remove.c +++ b/src/lib/krb5/keytab/file/ktf_remove.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_remove(context, id, entry) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_resolv.c b/src/lib/krb5/keytab/file/ktf_resolv.c index bd304d9..e9e3827 100644 --- a/src/lib/krb5/keytab/file/ktf_resolv.c +++ b/src/lib/krb5/keytab/file/ktf_resolv.c @@ -28,7 +28,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_resolve(context, name, id) krb5_context context; const char *name; diff --git a/src/lib/krb5/keytab/file/ktf_ssget.c b/src/lib/krb5/keytab/file/ktf_ssget.c index b00a3f8..67e3bb6 100644 --- a/src/lib/krb5/keytab/file/ktf_ssget.c +++ b/src/lib/krb5/keytab/file/ktf_ssget.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_start_seq_get(context, id, cursorp) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_util.c b/src/lib/krb5/keytab/file/ktf_util.c index 84f3f0c..fa79ef0 100644 --- a/src/lib/krb5/keytab/file/ktf_util.c +++ b/src/lib/krb5/keytab/file/ktf_util.c @@ -160,7 +160,7 @@ int mode; return 0; } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_openr(context, id) krb5_context context; krb5_keytab id; @@ -168,7 +168,7 @@ krb5_keytab id; return krb5_ktfileint_open(context, id, KRB5_LOCKMODE_SHARED); } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_openw(context, id) krb5_context context; krb5_keytab id; @@ -176,7 +176,7 @@ krb5_keytab id; return krb5_ktfileint_open(context, id, KRB5_LOCKMODE_EXCLUSIVE); } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_close(context, id) krb5_context context; krb5_keytab id; @@ -191,7 +191,7 @@ krb5_keytab id; return kerror; } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_delete_entry(context, id, delete_point) krb5_context context; krb5_keytab id; @@ -244,7 +244,7 @@ krb5_int32 delete_point; return 0; } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_internal_read_entry(context, id, ret_entry, delete_point) krb5_context context; krb5_keytab id; @@ -452,7 +452,7 @@ fail: return error; } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_read_entry(context, id, entryp) krb5_context context; krb5_keytab id; @@ -463,7 +463,7 @@ krb5_keytab_entry *entryp; return krb5_ktfileint_internal_read_entry(context, id, entryp, &delete_point); } -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_write_entry(context, id, entry) krb5_context context; krb5_keytab id; @@ -609,7 +609,7 @@ krb5_keytab_entry *entry; * Determine the size needed for a file entry for the given * keytab entry. */ -krb5_error_code INTERFACE +krb5_error_code krb5_ktfileint_size_entry(context, entry, size_needed) krb5_context context; krb5_keytab_entry *entry; @@ -651,7 +651,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 INTERFACE +krb5_error_code krb5_ktfileint_find_slot(context, id, size_needed, commit_point) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/file/ktf_wreslv.c b/src/lib/krb5/keytab/file/ktf_wreslv.c index 7845a6b..684f8d5 100644 --- a/src/lib/krb5/keytab/file/ktf_wreslv.c +++ b/src/lib/krb5/keytab/file/ktf_wreslv.c @@ -28,7 +28,7 @@ #include "k5-int.h" #include "ktfile.h" -krb5_error_code INTERFACE +krb5_error_code krb5_ktfile_wresolve(context, name, id) krb5_context context; const char *name; diff --git a/src/lib/krb5/keytab/file/ktfile.h b/src/lib/krb5/keytab/file/ktfile.h index 4bb7e1d..c1c55dc 100644 --- a/src/lib/krb5/keytab/file/ktfile.h +++ b/src/lib/krb5/keytab/file/ktfile.h @@ -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 INTERFACE krb5_ktfile_resolve +krb5_error_code krb5_ktfile_resolve PROTOTYPE((krb5_context, const char *, krb5_keytab *)); -krb5_error_code INTERFACE krb5_ktfile_wresolve +krb5_error_code krb5_ktfile_wresolve PROTOTYPE((krb5_context, const char *, krb5_keytab *)); -krb5_error_code INTERFACE krb5_ktfile_get_name +krb5_error_code krb5_ktfile_get_name PROTOTYPE((krb5_context, krb5_keytab, char *, int)); -krb5_error_code INTERFACE krb5_ktfile_close +krb5_error_code krb5_ktfile_close PROTOTYPE((krb5_context, krb5_keytab)); -krb5_error_code INTERFACE krb5_ktfile_get_entry +krb5_error_code krb5_ktfile_get_entry PROTOTYPE((krb5_context, krb5_keytab, krb5_principal, @@ -89,72 +89,72 @@ krb5_error_code INTERFACE krb5_ktfile_get_entry krb5_keytype, krb5_keytab_entry *)); -krb5_error_code INTERFACE krb5_ktfile_start_seq_get +krb5_error_code krb5_ktfile_start_seq_get PROTOTYPE((krb5_context, krb5_keytab, krb5_kt_cursor *)); -krb5_error_code INTERFACE krb5_ktfile_get_next +krb5_error_code krb5_ktfile_get_next PROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *, krb5_kt_cursor *)); -krb5_error_code INTERFACE krb5_ktfile_end_get +krb5_error_code krb5_ktfile_end_get PROTOTYPE((krb5_context, krb5_keytab, krb5_kt_cursor *)); /* routines to be included on extended version (write routines) */ -krb5_error_code INTERFACE krb5_ktfile_add +krb5_error_code krb5_ktfile_add PROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *)); -krb5_error_code INTERFACE krb5_ktfile_remove +krb5_error_code krb5_ktfile_remove PROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *)); -krb5_error_code INTERFACE krb5_ktfileint_openr +krb5_error_code krb5_ktfileint_openr PROTOTYPE((krb5_context, krb5_keytab)); -krb5_error_code INTERFACE krb5_ktfileint_openw +krb5_error_code krb5_ktfileint_openw PROTOTYPE((krb5_context, krb5_keytab)); -krb5_error_code INTERFACE krb5_ktfileint_close +krb5_error_code krb5_ktfileint_close PROTOTYPE((krb5_context, krb5_keytab)); -krb5_error_code INTERFACE krb5_ktfileint_read_entry +krb5_error_code krb5_ktfileint_read_entry PROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *)); -krb5_error_code INTERFACE krb5_ktfileint_write_entry +krb5_error_code krb5_ktfileint_write_entry PROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *)); -krb5_error_code INTERFACE krb5_ktfileint_delete_entry +krb5_error_code krb5_ktfileint_delete_entry PROTOTYPE((krb5_context, krb5_keytab, krb5_int32)); -krb5_error_code INTERFACE krb5_ktfileint_internal_read_entry +krb5_error_code krb5_ktfileint_internal_read_entry PROTOTYPE((krb5_context, krb5_keytab, krb5_keytab_entry *, krb5_int32 *)); -krb5_error_code INTERFACE krb5_ktfileint_size_entry +krb5_error_code krb5_ktfileint_size_entry PROTOTYPE((krb5_context, krb5_keytab_entry *, krb5_int32 *)); -krb5_error_code INTERFACE krb5_ktfileint_find_slot +krb5_error_code krb5_ktfileint_find_slot PROTOTYPE((krb5_context, krb5_keytab, krb5_int32 *, diff --git a/src/lib/krb5/keytab/ktadd.c b/src/lib/krb5/keytab/ktadd.c index 7656c7e..56d3102 100644 --- a/src/lib/krb5/keytab/ktadd.c +++ b/src/lib/krb5/keytab/ktadd.c @@ -26,7 +26,7 @@ #include "k5-int.h" -krb5_error_code INTERFACE +krb5_error_code krb5_kt_add_entry (context, id, entry) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/ktbase.c b/src/lib/krb5/keytab/ktbase.c index 97ea1a0..4f9869d 100644 --- a/src/lib/krb5/keytab/ktbase.c +++ b/src/lib/krb5/keytab/ktbase.c @@ -39,7 +39,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 INTERFACE +krb5_error_code krb5_kt_register(context, ops) krb5_context context; krb5_kt_ops *ops; @@ -68,7 +68,7 @@ krb5_kt_register(context, ops) * particular keytab type. */ -krb5_error_code INTERFACE +krb5_error_code krb5_kt_resolve (context, name, ktid) krb5_context context; const char *name; diff --git a/src/lib/krb5/keytab/ktdefault.c b/src/lib/krb5/keytab/ktdefault.c index 195d0ca..8681535 100644 --- a/src/lib/krb5/keytab/ktdefault.c +++ b/src/lib/krb5/keytab/ktdefault.c @@ -27,7 +27,7 @@ #include "k5-int.h" #include <stdio.h> -krb5_error_code INTERFACE +krb5_error_code krb5_kt_default(context, id) krb5_context context; krb5_keytab *id; diff --git a/src/lib/krb5/keytab/ktfr_entry.c b/src/lib/krb5/keytab/ktfr_entry.c index e573d40..5aaa775 100644 --- a/src/lib/krb5/keytab/ktfr_entry.c +++ b/src/lib/krb5/keytab/ktfr_entry.c @@ -26,7 +26,7 @@ #include "k5-int.h" -krb5_error_code INTERFACE +krb5_error_code krb5_kt_free_entry (context, entry) krb5_context context; krb5_keytab_entry *entry; diff --git a/src/lib/krb5/keytab/ktremove.c b/src/lib/krb5/keytab/ktremove.c index 928d6aa..377c4a0 100644 --- a/src/lib/krb5/keytab/ktremove.c +++ b/src/lib/krb5/keytab/ktremove.c @@ -26,7 +26,7 @@ #include "k5-int.h" -krb5_error_code INTERFACE +krb5_error_code krb5_kt_remove_entry (context, id, entry) krb5_context context; krb5_keytab id; diff --git a/src/lib/krb5/keytab/read_servi.c b/src/lib/krb5/keytab/read_servi.c index 90315dd..bd9331e 100644 --- a/src/lib/krb5/keytab/read_servi.c +++ b/src/lib/krb5/keytab/read_servi.c @@ -40,7 +40,7 @@ * returns: Either KSUCCESS or error code. * errors: error code if not found or keyprocarg is invalid. */ -krb5_error_code INTERFACE +krb5_error_code krb5_kt_read_service_key(context, keyprocarg, principal, vno, keytype, key) krb5_context context; krb5_pointer keyprocarg; |