something that might resemble domain-x500-compress
[heimdal.git] / cache.h
blob05bdc30cb112458f0e240fbc0ac0f6f71892cb42
1 #ifndef __CACHE_H__
2 #define __CACHE_H__
4 krb5_error_code
5 krb5_cc_resolve(krb5_context context,
6 const char *residual,
7 krb5_ccache *id);
9 char *
10 krb5_cc_get_name (krb5_context context,
11 krb5_ccache id);
13 char *
14 krb5_cc_default_name (krb5_context context);
16 krb5_error_code
17 krb5_cc_default (krb5_context context,
18 krb5_ccache *id);
20 krb5_error_code
21 krb5_cc_initialize (krb5_context context,
22 krb5_ccache id,
23 krb5_principal primary_principal);
25 krb5_error_code
26 krb5_cc_destroy (krb5_context context,
27 krb5_ccache id);
29 krb5_error_code
30 krb5_cc_close (krb5_context context,
31 krb5_ccache id);
33 krb5_error_code
34 krb5_cc_store_cred (krb5_context context,
35 krb5_ccache id,
36 krb5_creds *creds);
38 krb5_error_code
39 krb5_cc_retrieve_cred (krb5_context context,
40 krb5_ccache id,
41 krb5_flags whichfields,
42 krb5_creds *mcreds,
43 krb5_creds *creds);
45 krb5_error_code
46 krb5_cc_get_principal (krb5_context context,
47 krb5_ccache id,
48 krb5_principal *principal);
50 krb5_error_code
51 krb5_cc_get_first (krb5_context context,
52 krb5_ccache id,
53 krb5_cc_cursor *cursor);
55 krb5_error_code
56 krb5_cc_get_next (krb5_context context,
57 krb5_ccache id,
58 krb5_creds *creds,
59 krb5_cc_cursor *cursor);
61 krb5_error_code
62 krb5_cc_end_get (krb5_context context,
63 krb5_ccache id,
64 krb5_cc_cursor *cursor);
66 krb5_error_code
67 krb5_cc_remove_cred (krb5_context context,
68 krb5_ccache id,
69 krb5_flags which,
70 krb5_creds *cred);
72 krb5_error_code
73 krb5_cc_set_flags (krb5_context context,
74 krb5_ccache id,
75 krb5_flags flags);
77 krb5_error_code
78 krb5_cc_start_seq_get (krb5_context context,
79 krb5_ccache id,
80 krb5_cc_cursor *cursor);
82 krb5_error_code
83 krb5_cc_next_cred (krb5_context context,
84 krb5_ccache id,
85 krb5_creds *creds,
86 krb5_cc_cursor *cursor);
88 krb5_error_code
89 krb5_cc_end_seq_get (krb5_context context,
90 krb5_ccache id,
91 krb5_cc_cursor *cursor);
93 #endif /* __CACHE_H__ */