summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-02-12 10:53:26 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-02-12 10:53:26 +0000
commit7e554f6aa3c63219f6c3f51d6370d1180e4552dc (patch)
treee3d60732b4c208b07bddafe27cc236865aae3e64 /src/include
parent1281dcc605421ebf68701c14c8d46e0cb9bb98f7 (diff)
downloadkrb5-7e554f6aa3c63219f6c3f51d6370d1180e4552dc.tar.gz
krb5-7e554f6aa3c63219f6c3f51d6370d1180e4552dc.tar.xz
krb5-7e554f6aa3c63219f6c3f51d6370d1180e4552dc.zip
clean up the rcache ops functions
to return krb5_error_code, and to take sensible arguments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@344 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/rcache.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/src/include/krb5/rcache.h b/src/include/krb5/rcache.h
index 0c8c61eb6..7963a9204 100644
--- a/src/include/krb5/rcache.h
+++ b/src/include/krb5/rcache.h
@@ -23,25 +23,21 @@ typedef struct krb5_rc_st {
typedef struct _krb5_rc_ops {
char *prefix;
- int (*resolve) PROTOTYPE((krb5_rcache *,
- char *));
- int (*new) PROTOTYPE((krb5_rcache *,
- struct _krb5_rc_ops *));
- char *(*get_name) PROTOTYPE((krb5_rcache));
- int (*init) PROTOTYPE((krb5_rcache,
- krb5_timestamp));
- int (*recover) PROTOTYPE((krb5_rcache));
- int (*destroy) PROTOTYPE((krb5_rcache));
- int (*close) PROTOTYPE((krb5_rcache));
- int (*store) PROTOTYPE((krb5_rcache,
- krb5_tkt_authent *,
- krb5_boolean));
- int (*search) PROTOTYPE((krb5_rcache,
- krb5_tkt_authent *));
- int (*get_span) PROTOTYPE((krb5_rcache));
- int (*remove_cred) PROTOTYPE((krb5_rcache,
- krb5_tkt_authent *));
- int (*expunge) PROTOTYPE((krb5_rcache));
+ krb5_error_code (*resolve) PROTOTYPE((krb5_rcache *,
+ char *));
+ krb5_error_code (*new) PROTOTYPE((krb5_rcache *,
+ struct _krb5_rc_ops *));
+ krb5_error_code (*get_name) PROTOTYPE((krb5_rcache, char *, int));
+ krb5_error_code (*init) PROTOTYPE((krb5_rcache,
+ krb5_deltat));
+ krb5_error_code (*recover) PROTOTYPE((krb5_rcache));
+ krb5_error_code (*destroy) PROTOTYPE((krb5_rcache));
+ krb5_error_code (*close) PROTOTYPE((krb5_rcache));
+ krb5_error_code (*store) PROTOTYPE((krb5_rcache,
+ krb5_tkt_authent *,
+ krb5_boolean));
+ krb5_error_code (*get_span) PROTOTYPE((krb5_rcache, krb5_deltat *));
+ krb5_error_code (*expunge) PROTOTYPE((krb5_rcache));
} krb5_rc_ops;