Initial revision
authorBarry Jaspan <bjaspan@mit.edu>
Tue, 30 Jan 1990 16:50:08 +0000 (16:50 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Tue, 30 Jan 1990 16:50:08 +0000 (16:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@200 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_sflags.c [new file with mode: 0644]

diff --git a/src/lib/krb5/ccache/file/fcc_sflags.c b/src/lib/krb5/ccache/file/fcc_sflags.c
new file mode 100644 (file)
index 0000000..aaff8fa
--- /dev/null
@@ -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;
+}
+