diff options
| author | Barry Jaspan <bjaspan@mit.edu> | 1990-01-30 16:50:08 +0000 |
|---|---|---|
| committer | Barry Jaspan <bjaspan@mit.edu> | 1990-01-30 16:50:08 +0000 |
| commit | 8a686385894244138e45b594039589504b6dc420 (patch) | |
| tree | ab49a9be78f6eb3d6ddb2d0563cbcfd65abbdf2b /src | |
| parent | 27198014e0bc5f3e1fa9cf5dcd661f3d461deabe (diff) | |
Initial revision
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@200 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb5/ccache/file/fcc_sflags.c | 41 |
1 files changed, 41 insertions, 0 deletions
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 + * <krb5/mit-copyright.h>. + * + * 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 <krb5/copyright.h> + +#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; +} + |
