From 8a686385894244138e45b594039589504b6dc420 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Tue, 30 Jan 1990 16:50:08 +0000 Subject: [PATCH] Initial revision git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@200 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc_sflags.c | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/lib/krb5/ccache/file/fcc_sflags.c diff --git a/src/lib/krb5/ccache/file/fcc_sflags.c b/src/lib/krb5/ccache/file/fcc_sflags.c new file mode 100644 index 000000000..aaff8faa6 --- /dev/null +++ b/src/lib/krb5/ccache/file/fcc_sflags.c @@ -0,0 +1,41 @@ +/* + * $Source$ + * $Author$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * This file contains the source code for krb5_fcc_set_flags. + */ + +#if !defined(lint) && !defined(SABER) +static char fcc_set_flags_c[] = "$Id$"; +#endif /* !lint && !SABER */ + +#include + +#include "fcc.h" + +/* + * Requires: + * id is a cred cache returned by krb5_fcc_resolve or + * krb5_fcc_generate_new, but has not been opened by krb5_fcc_initialize. + * + * Modifies: + * id + * + * Effects: + * Sets the operational flags of id to flags. + */ +krb5_error_code +krb5_fcc_set_flags(id, flags); + krb5_ccache id; + krb5_flags flags; +{ + /* XXX This should check for illegal combinations, if any.. */ + ((krb5_fcc_data *) lid->data)->flags = flags; + return KRB5_OK; +} + -- 2.26.2