From f5a1d5d1ed878a5c48267dd5ef61f3000a42684b Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 3 Jul 1990 12:50:54 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1026 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc_defops.c | 37 +++++++++++++++++++++++++++ src/lib/krb5/keytab/file/ktf_defops.c | 34 ++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 src/lib/krb5/ccache/file/fcc_defops.c create mode 100644 src/lib/krb5/keytab/file/ktf_defops.c diff --git a/src/lib/krb5/ccache/file/fcc_defops.c b/src/lib/krb5/ccache/file/fcc_defops.c new file mode 100644 index 000000000..e471db5c1 --- /dev/null +++ b/src/lib/krb5/ccache/file/fcc_defops.c @@ -0,0 +1,37 @@ +/* + * $Source$ + * $Author$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * This file contains the structure krb5_cc_dfl_ops. + */ + +#if !defined(lint) && !defined(SABER) +static char fcc_defops_c[] = "$Id$"; +#endif /* !lint && !SABER */ + +#include + +#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 index 000000000..1df790dea --- /dev/null +++ b/src/lib/krb5/keytab/file/ktf_defops.c @@ -0,0 +1,34 @@ +/* + * $Source$ + * $Author$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * krb5_kt_dfl_ops + */ + +#if !defined(lint) && !defined(SABER) +static char rcsid_ktf_defops_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + +#include +#include + +#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, +}; -- 2.26.2