summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/rcache.h
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-01-17 15:08:54 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-01-17 15:08:54 +0000
commit96c13c6d3404705781455adb6dc8a165b2686703 (patch)
treef7f150938ff09e90d6b1b55eaf1650b081198403 /src/include/krb5/rcache.h
parentacf006737919f38393a58ce89ee9d3c4dbb95f2b (diff)
downloadkrb5-96c13c6d3404705781455adb6dc8a165b2686703.tar.gz
krb5-96c13c6d3404705781455adb6dc8a165b2686703.tar.xz
krb5-96c13c6d3404705781455adb6dc8a165b2686703.zip
*** empty log message ***
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@106 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/rcache.h')
-rw-r--r--src/include/krb5/rcache.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/include/krb5/rcache.h b/src/include/krb5/rcache.h
new file mode 100644
index 000000000..8a99a3e2e
--- /dev/null
+++ b/src/include/krb5/rcache.h
@@ -0,0 +1,41 @@
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ *
+ * Copyright 1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/mit-copyright.h>.
+ *
+ * Replay detection cache definitions.
+ */
+
+#include <krb5/copyright.h>
+
+#ifndef __KRB5_RCACHE__
+#define __KRB5_RCACHE__
+typedef struct krb5_rc_st {
+ struct krb5_rc_ops *ops;
+ void *data;
+} *krb5_rcache;
+
+struct krb5_rc_ops {
+ char *prefix;
+ int (*resolve) PROTOTYPE((krb5_rcache *id, char *residual));
+ int (*new) PROTOTYPE((krb5_rcache *id, krb5_rc_ops *));
+ char *(*get_name) PROTOTYPE((krb5_rcache));
+ int (*init) PROTOTYPE((krb5_rcache, krb5_timestamp));
+ int (*recover) (krb5_rcache));
+ int (*destroy) PROTOTYPE((krb5_rcache));
+ int (*close) PROTOTYPE((krb5_rcache));
+ int (*store) PROTOTYPE((krb5_rcache, krb5_tkt_authent *,
+ krb_boolean expunge));
+ int (*search) PROTOTYPE((krb5_rcache, krb5_tkt_authent *));
+ int (*get_span) PROTOTYPE((krb5_rcache));
+ int (*remove_cred) PROTOTYPE((krb5_rcache, krb5_tkt_authent *));
+ int (*expunge) PROTOTYPE((krb_acache));
+};
+
+
+#endif /* __KRB5_RCACHE__ */