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;