summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-01-17 17:26:48 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-01-17 17:26:48 +0000
commitbc67494090b9d2c9c8c5b21a28c45235fce54824 (patch)
tree77f0210e17f5d3503f534935c7d2406fffd8170e
parent96c13c6d3404705781455adb6dc8a165b2686703 (diff)
downloadkrb5-bc67494090b9d2c9c8c5b21a28c45235fce54824.tar.gz
krb5-bc67494090b9d2c9c8c5b21a28c45235fce54824.tar.xz
krb5-bc67494090b9d2c9c8c5b21a28c45235fce54824.zip
fix prototypes and typedef
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@107 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/include/krb5/rcache.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/krb5/rcache.h b/src/include/krb5/rcache.h
index 8a99a3e2e..6cb79a25a 100644
--- a/src/include/krb5/rcache.h
+++ b/src/include/krb5/rcache.h
@@ -15,18 +15,19 @@
#ifndef __KRB5_RCACHE__
#define __KRB5_RCACHE__
+
typedef struct krb5_rc_st {
struct krb5_rc_ops *ops;
void *data;
} *krb5_rcache;
-struct krb5_rc_ops {
+typedef struct _krb5_rc_ops {
char *prefix;
int (*resolve) PROTOTYPE((krb5_rcache *id, char *residual));
- int (*new) PROTOTYPE((krb5_rcache *id, krb5_rc_ops *));
+ int (*new) PROTOTYPE((krb5_rcache *id, struct _krb5_rc_ops *));
char *(*get_name) PROTOTYPE((krb5_rcache));
int (*init) PROTOTYPE((krb5_rcache, krb5_timestamp));
- int (*recover) (krb5_rcache));
+ int (*recover) PROTOTYPE((krb5_rcache));
int (*destroy) PROTOTYPE((krb5_rcache));
int (*close) PROTOTYPE((krb5_rcache));
int (*store) PROTOTYPE((krb5_rcache, krb5_tkt_authent *,
@@ -35,7 +36,7 @@ struct krb5_rc_ops {
int (*get_span) PROTOTYPE((krb5_rcache));
int (*remove_cred) PROTOTYPE((krb5_rcache, krb5_tkt_authent *));
int (*expunge) PROTOTYPE((krb_acache));
-};
+} krb5_rc_ops;
#endif /* __KRB5_RCACHE__ */