From: Barry Jaspan Date: Tue, 30 Jan 1990 16:50:08 +0000 (+0000) Subject: Initial revision X-Git-Tag: krb5-1.0-alpha2~1183 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a686385894244138e45b594039589504b6dc420;p=krb5.git Initial revision git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@200 dc483132-0cff-0310-8789-dd5450dbe970 --- 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; +} +