summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-07-11 17:20:34 +0000
committerTheodore Tso <tytso@mit.edu>1995-07-11 17:20:34 +0000
commitf1a24b6f5c94741f7d1926cee1397dcbc069cb3e (patch)
tree68869c73b79e298bfbaedde2d3f6922349959199 /src
parentb7882db66db2070cab0ac0431b5600ce7902d9ec (diff)
downloadkrb5-f1a24b6f5c94741f7d1926cee1397dcbc069cb3e.tar.gz
krb5-f1a24b6f5c94741f7d1926cee1397dcbc069cb3e.tar.xz
krb5-f1a24b6f5c94741f7d1926cee1397dcbc069cb3e.zip
krb5.hin (krb5_cc_get_type, krb5_kt_get_type): Add the new functions
to get the type of the credentials cache and key table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6278 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/include/ChangeLog5
-rw-r--r--src/include/krb5.hin2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 9235c7533..10166042b 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,4 +1,9 @@
+Tue Jul 11 13:12:14 1995 <tytso@rsx-11.mit.edu>
+ * krb5.hin (krb5_cc_get_type, krb5_kt_get_type): Add the new
+ functions to get the type of the credentials cache and key
+ table.
+
Fri Jul 7 15:56:49 EDT 1995 Paul Park (pjpark@mit.edu)
* krb5.hin - Add checksum verifier dispatch in the checksum entry.
This is now the supported method for verifying checksums. Also
diff --git a/src/include/krb5.hin b/src/include/krb5.hin
index ada092c4d..e22260d7f 100644
--- a/src/include/krb5.hin
+++ b/src/include/krb5.hin
@@ -1044,6 +1044,7 @@ typedef struct _krb5_cc_ops {
#define krb5_cc_remove_cred(context, cache, flags, creds) (*(cache)->ops->remove_cred)(context, cache,flags, creds)
#define krb5_cc_set_flags(context, cache, flags) (*(cache)->ops->set_flags)(context, cache, flags)
#define krb5_cc_get_name(context, cache) (*(cache)->ops->get_name)(context, cache)
+#define krb5_cc_get_type(context, cache) (*(cache)->ops->prefix)
extern krb5_cc_ops FAR *krb5_cc_dfl_ops;
@@ -1196,6 +1197,7 @@ typedef struct _krb5_kt_ops {
krb5_keytab_entry FAR *));
} krb5_kt_ops;
+#define krb5_kt_get_type(context, keytab) (*(keytab)->ops->prefix)
#define krb5_kt_get_name(context, keytab, name, namelen) (*(keytab)->ops->get_name)(context, keytab,name,namelen)
#define krb5_kt_close(context, keytab) (*(keytab)->ops->close)(context, keytab)
#define krb5_kt_get_entry(context, keytab, principal, vno, keytype, entry) (*(keytab)->ops->get)(context, keytab, principal, vno, keytype, entry)