add #defines for READ, RDWR modes
authorJohn Kohl <jtkohl@mit.edu>
Fri, 1 Dec 1989 17:14:07 +0000 (17:14 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 1 Dec 1989 17:14:07 +0000 (17:14 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@42 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/ccache.h

index ebfc02d0dfbce6d460095d122b743bbabc0d67c7..a1074502fe82049d735ee160f7b226869be482bc 100644 (file)
@@ -20,4 +20,8 @@ typedef char *        krb5_tcache_name;       /* a name of a ticket cache */
 typedef        int     krb5_tcache_id;         /* a short "identifier" for quick
                                           cache access */
 typedef        int     krb5_tcache_magic;      /* cookie for sequential lookup */
+
+#define        KRB5_TC_READ    0               /* open cache for read only */
+#define        KRB5_TC_RDWR    1               /* open cache for read/write */
+
 #endif /* __KRB5_TCACHE__ */