summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1989-12-01 17:14:07 +0000
committerJohn Kohl <jtkohl@mit.edu>1989-12-01 17:14:07 +0000
commit827b83bca1f1b2491833ccb3f9aeb3a49aa01738 (patch)
tree1b76176b896ffae884f176cc9ddb971725178a8c /src/include
parentcd3e69de5ceec9f8a55ab13cb165f8f4c8ddb66e (diff)
downloadkrb5-827b83bca1f1b2491833ccb3f9aeb3a49aa01738.tar.gz
krb5-827b83bca1f1b2491833ccb3f9aeb3a49aa01738.tar.xz
krb5-827b83bca1f1b2491833ccb3f9aeb3a49aa01738.zip
add #defines for READ, RDWR modes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@42 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ccache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/krb5/ccache.h b/src/include/krb5/ccache.h
index ebfc02d0d..a1074502f 100644
--- a/src/include/krb5/ccache.h
+++ b/src/include/krb5/ccache.h
@@ -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__ */