summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ccache.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/include/krb5/ccache.h b/src/include/krb5/ccache.h
index ee4f32c79..70125fe38 100644
--- a/src/include/krb5/ccache.h
+++ b/src/include/krb5/ccache.h
@@ -25,23 +25,25 @@ typedef struct _krb5_ccache {
typedef struct _krb5_cc_ops {
char *prefix;
- krb5_ccache (*resolve) PROTOTYPE((char *residual));
- krb5_ccache (*gen_new) PROTOTYPE((void));
char *(*get_name) PROTOTYPE((krb5_ccache));
- int (*init) PROTOTYPE((krb5_ccache, krb5_principal));
- int (*destroy) PROTOTYPE((krb5_ccache));
- int (*close) PROTOTYPE((krb5_ccache));
- int (*store) PROTOTYPE((krb5_ccache, krb5_creds *));
- int (*retrieve) PROTOTYPE((krb5_ccache, krb5_flags,
+ krb5_error_code (*resolve) PROTOTYPE((krb5_ccache, char *));
+ krb5_error_code (*gen_new) PROTOTYPE((krb5_ccache));
+ krb5_error_code (*init) PROTOTYPE((krb5_ccache, krb5_principal));
+ krb5_error_code (*destroy) PROTOTYPE((krb5_ccache));
+ krb5_error_code (*close) PROTOTYPE((krb5_ccache));
+ krb5_error_code (*store) PROTOTYPE((krb5_ccache, krb5_creds *));
+ krb5_error_code (*retrieve) PROTOTYPE((krb5_ccache, krb5_flags,
krb5_creds *, krb5_creds *));
- int (*get_princ) PROTOTYPE((krb5_ccache, krb5_principal *));
- int (*get_first) PROTOTYPE((krb5_ccache, krb5_cc_cursor *));
- int (*get_next) PROTOTYPE((krb5_ccache, krb5_cc_cursor *,
+ krb5_error_code (*get_princ) PROTOTYPE((krb5_ccache,
+ krb5_principal *));
+ krb5_error_code (*get_first) PROTOTYPE((krb5_ccache,
+ krb5_cc_cursor *));
+ krb5_error_code (*get_next) PROTOTYPE((krb5_ccache, krb5_cc_cursor *,
krb5_creds *));
- int (*end_get) PROTOTYPE((krb5_ccache, krb5_cc_cursor *));
- int (*remove_cred) PROTOTYPE((krb5_ccache, krb5_flags,
+ krb5_error_code (*end_get) PROTOTYPE((krb5_ccache, krb5_cc_cursor *));
+ krb5_error_code (*remove_cred) PROTOTYPE((krb5_ccache, krb5_flags,
krb5_creds *));
- int (*set_flags) PROTOTYPE((krb5_ccache, krb5_flags));
+ krb5_error_code (*set_flags) PROTOTYPE((krb5_ccache, krb5_flags));
} krb5_cc_ops;
/* for retrieve_cred */