*** empty log message ***
authorJohn Kohl <jtkohl@mit.edu>
Tue, 3 Jul 1990 12:50:54 +0000 (12:50 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 3 Jul 1990 12:50:54 +0000 (12:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1026 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_defops.c [new file with mode: 0644]
src/lib/krb5/keytab/file/ktf_defops.c [new file with mode: 0644]

diff --git a/src/lib/krb5/ccache/file/fcc_defops.c b/src/lib/krb5/ccache/file/fcc_defops.c
new file mode 100644 (file)
index 0000000..e471db5
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * $Source$
+ * $Author$
+ *
+ * Copyright 1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/copyright.h>.
+ *
+ * This file contains the structure krb5_cc_dfl_ops.
+ */
+
+#if !defined(lint) && !defined(SABER)
+static char fcc_defops_c[] = "$Id$";
+#endif /* !lint && !SABER */
+
+#include <krb5/copyright.h>
+
+#include "fcc.h"
+
+krb5_cc_ops krb5_cc_dfl_ops = {
+     "FILE",
+     krb5_fcc_get_name,
+     krb5_fcc_resolve,
+     krb5_fcc_generate_new,
+     krb5_fcc_initialize,
+     krb5_fcc_destroy,
+     krb5_fcc_close,
+     krb5_fcc_store,
+     krb5_fcc_retrieve,
+     krb5_fcc_get_principal,
+     krb5_fcc_start_seq_get,
+     krb5_fcc_next_cred,
+     krb5_fcc_end_seq_get,
+     NULL, /* XXX krb5_fcc_remove, */
+     krb5_fcc_set_flags,
+};
diff --git a/src/lib/krb5/keytab/file/ktf_defops.c b/src/lib/krb5/keytab/file/ktf_defops.c
new file mode 100644 (file)
index 0000000..1df790d
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * $Source$
+ * $Author$
+ *
+ * Copyright 1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/copyright.h>.
+ *
+ * krb5_kt_dfl_ops
+ */
+
+#if !defined(lint) && !defined(SABER)
+static char rcsid_ktf_defops_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
+#include <krb5/copyright.h>
+#include <krb5/krb5.h>
+
+#include "ktfile.h"
+
+krb5_kt_ops krb5_kt_dfl_ops = {
+    "FILE",    /* Prefix -- this string should not appear anywhere else! */
+    krb5_ktfile_resolve,
+    krb5_ktfile_get_name, 
+    krb5_ktfile_close,
+    krb5_ktfile_get_entry,
+    krb5_ktfile_start_seq_get,
+    krb5_ktfile_get_next,
+    krb5_ktfile_end_get,
+    0,
+    0,
+};