Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / include / kcm-protos.h
blob1f985c601dd28463a637b9fa8dd3e7d7a78608f1
1 /* This is a generated file */
2 #ifndef __kcm_protos_h__
3 #define __kcm_protos_h__
5 #include <stdarg.h>
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 krb5_error_code
12 kcm_access (
13 krb5_context /*context*/,
14 kcm_client */*client*/,
15 kcm_operation /*opcode*/,
16 kcm_ccache /*ccache*/);
18 krb5_error_code
19 kcm_ccache_acquire (
20 krb5_context /*context*/,
21 kcm_ccache /*ccache*/,
22 krb5_creds **/*credp*/);
24 krb5_error_code
25 kcm_ccache_destroy (
26 krb5_context /*context*/,
27 const char */*name*/);
29 krb5_error_code
30 kcm_ccache_destroy_client (
31 krb5_context /*context*/,
32 kcm_client */*client*/,
33 const char */*name*/);
35 krb5_error_code
36 kcm_ccache_destroy_if_empty (
37 krb5_context /*context*/,
38 kcm_ccache /*ccache*/);
40 krb5_error_code
41 kcm_ccache_enqueue_default (
42 krb5_context /*context*/,
43 kcm_ccache /*ccache*/,
44 krb5_creds */*newcred*/);
46 struct kcm_creds *
47 kcm_ccache_find_cred_uuid (
48 krb5_context /*context*/,
49 kcm_ccache /*ccache*/,
50 kcmuuid_t /*uuid*/);
52 char *
53 kcm_ccache_first_name (kcm_client */*client*/);
55 krb5_error_code
56 kcm_ccache_gen_new (
57 krb5_context /*context*/,
58 pid_t /*pid*/,
59 uid_t /*uid*/,
60 gid_t /*gid*/,
61 kcm_ccache */*ccache*/);
63 krb5_error_code
64 kcm_ccache_get_uuids (
65 krb5_context /*context*/,
66 kcm_client */*client*/,
67 kcm_operation /*opcode*/,
68 krb5_storage */*sp*/);
70 krb5_error_code
71 kcm_ccache_new (
72 krb5_context /*context*/,
73 const char */*name*/,
74 kcm_ccache */*ccache*/);
76 krb5_error_code
77 kcm_ccache_new_client (
78 krb5_context /*context*/,
79 kcm_client */*client*/,
80 const char */*name*/,
81 kcm_ccache */*ccache_p*/);
83 char *kcm_ccache_nextid (
84 pid_t /*pid*/,
85 uid_t /*uid*/,
86 gid_t /*gid*/);
88 krb5_error_code
89 kcm_ccache_refresh (
90 krb5_context /*context*/,
91 kcm_ccache /*ccache*/,
92 krb5_creds **/*credp*/);
94 krb5_error_code
95 kcm_ccache_remove_cred (
96 krb5_context /*context*/,
97 kcm_ccache /*ccache*/,
98 krb5_flags /*whichfields*/,
99 const krb5_creds */*mcreds*/);
101 krb5_error_code
102 kcm_ccache_remove_cred_internal (
103 krb5_context /*context*/,
104 kcm_ccache /*ccache*/,
105 krb5_flags /*whichfields*/,
106 const krb5_creds */*mcreds*/);
108 krb5_error_code
109 kcm_ccache_remove_creds (
110 krb5_context /*context*/,
111 kcm_ccache /*ccache*/);
113 krb5_error_code
114 kcm_ccache_remove_creds_internal (
115 krb5_context /*context*/,
116 kcm_ccache /*ccache*/);
118 krb5_error_code
119 kcm_ccache_resolve (
120 krb5_context /*context*/,
121 const char */*name*/,
122 kcm_ccache */*ccache*/);
124 krb5_error_code
125 kcm_ccache_resolve_by_uuid (
126 krb5_context /*context*/,
127 kcmuuid_t /*uuid*/,
128 kcm_ccache */*ccache*/);
130 krb5_error_code
131 kcm_ccache_resolve_client (
132 krb5_context /*context*/,
133 kcm_client */*client*/,
134 kcm_operation /*opcode*/,
135 const char */*name*/,
136 kcm_ccache */*ccache*/);
138 krb5_error_code
139 kcm_ccache_retrieve_cred (
140 krb5_context /*context*/,
141 kcm_ccache /*ccache*/,
142 krb5_flags /*whichfields*/,
143 const krb5_creds */*mcreds*/,
144 krb5_creds **/*credp*/);
146 krb5_error_code
147 kcm_ccache_retrieve_cred_internal (
148 krb5_context /*context*/,
149 kcm_ccache /*ccache*/,
150 krb5_flags /*whichfields*/,
151 const krb5_creds */*mcreds*/,
152 krb5_creds **/*creds*/);
154 krb5_error_code
155 kcm_ccache_store_cred (
156 krb5_context /*context*/,
157 kcm_ccache /*ccache*/,
158 krb5_creds */*creds*/,
159 int /*copy*/);
161 krb5_error_code
162 kcm_ccache_store_cred_internal (
163 krb5_context /*context*/,
164 kcm_ccache /*ccache*/,
165 krb5_creds */*creds*/,
166 int /*copy*/,
167 krb5_creds **/*credp*/);
169 krb5_error_code
170 kcm_chmod (
171 krb5_context /*context*/,
172 kcm_client */*client*/,
173 kcm_ccache /*ccache*/,
174 uint16_t /*mode*/);
176 krb5_error_code
177 kcm_chown (
178 krb5_context /*context*/,
179 kcm_client */*client*/,
180 kcm_ccache /*ccache*/,
181 uid_t /*uid*/,
182 gid_t /*gid*/);
184 krb5_error_code
185 kcm_cleanup_events (
186 krb5_context /*context*/,
187 kcm_ccache /*ccache*/);
189 void
190 kcm_configure (
191 int /*argc*/,
192 char **/*argv*/);
194 krb5_error_code
195 kcm_debug_ccache (krb5_context /*context*/);
197 krb5_error_code
198 kcm_debug_events (krb5_context /*context*/);
200 krb5_error_code
201 kcm_dispatch (
202 krb5_context /*context*/,
203 kcm_client */*client*/,
204 krb5_data */*req_data*/,
205 krb5_data */*resp_data*/);
207 krb5_error_code
208 kcm_enqueue_event (
209 krb5_context /*context*/,
210 kcm_event */*event*/);
212 krb5_error_code
213 kcm_enqueue_event_internal (
214 krb5_context /*context*/,
215 kcm_event */*event*/);
217 krb5_error_code
218 kcm_enqueue_event_relative (
219 krb5_context /*context*/,
220 kcm_event */*event*/);
222 krb5_error_code
223 kcm_internal_ccache (
224 krb5_context /*context*/,
225 kcm_ccache /*c*/,
226 krb5_ccache /*id*/);
229 kcm_is_same_session (
230 kcm_client */*client*/,
231 uid_t /*uid*/,
232 pid_t /*session*/);
234 void
235 kcm_log (
236 int /*level*/,
237 const char */*fmt*/,
238 ...);
240 char*
241 kcm_log_msg (
242 int /*level*/,
243 const char */*fmt*/,
244 ...);
246 char*
247 kcm_log_msg_va (
248 int /*level*/,
249 const char */*fmt*/,
250 va_list /*ap*/);
252 const char *
253 kcm_op2string (kcm_operation /*opcode*/);
255 void
256 kcm_openlog (void);
258 krb5_error_code
259 kcm_release_ccache (
260 krb5_context /*context*/,
261 kcm_ccache /*c*/);
263 krb5_error_code
264 kcm_remove_event (
265 krb5_context /*context*/,
266 kcm_event */*event*/);
268 krb5_error_code
269 kcm_retain_ccache (
270 krb5_context /*context*/,
271 kcm_ccache /*ccache*/);
273 krb5_error_code
274 kcm_run_events (
275 krb5_context /*context*/,
276 time_t /*now*/);
278 void
279 kcm_service (
280 void */*ctx*/,
281 const heim_idata */*req*/,
282 const heim_icred /*cred*/,
283 heim_ipc_complete /*complete*/,
284 heim_sipc_call /*cctx*/);
286 void
287 kcm_session_add (pid_t /*session_id*/);
289 void
290 kcm_session_setup_handler (void);
292 krb5_error_code
293 kcm_zero_ccache_data (
294 krb5_context /*context*/,
295 kcm_ccache /*cache*/);
297 krb5_error_code
298 kcm_zero_ccache_data_internal (
299 krb5_context /*context*/,
300 kcm_ccache_data */*cache*/);
302 #ifdef __cplusplus
304 #endif
306 #endif /* __kcm_protos_h__ */