summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-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)