No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / kcm / kcm_protos.h
blob0fcea7511f95e5389512852eba713e9f68010082
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 krb5_error_code
47 kcm_ccache_gen_new (
48 krb5_context /*context*/,
49 pid_t /*pid*/,
50 uid_t /*uid*/,
51 gid_t /*gid*/,
52 kcm_ccache */*ccache*/);
54 krb5_error_code
55 kcm_ccache_new (
56 krb5_context /*context*/,
57 const char */*name*/,
58 kcm_ccache */*ccache*/);
60 krb5_error_code
61 kcm_ccache_new_client (
62 krb5_context /*context*/,
63 kcm_client */*client*/,
64 const char */*name*/,
65 kcm_ccache */*ccache_p*/);
67 char *kcm_ccache_nextid (
68 pid_t /*pid*/,
69 uid_t /*uid*/,
70 gid_t /*gid*/);
72 krb5_error_code
73 kcm_ccache_refresh (
74 krb5_context /*context*/,
75 kcm_ccache /*ccache*/,
76 krb5_creds **/*credp*/);
78 krb5_error_code
79 kcm_ccache_remove_cred (
80 krb5_context /*context*/,
81 kcm_ccache /*ccache*/,
82 krb5_flags /*whichfields*/,
83 const krb5_creds */*mcreds*/);
85 krb5_error_code
86 kcm_ccache_remove_cred_internal (
87 krb5_context /*context*/,
88 kcm_ccache /*ccache*/,
89 krb5_flags /*whichfields*/,
90 const krb5_creds */*mcreds*/);
92 krb5_error_code
93 kcm_ccache_remove_creds (
94 krb5_context /*context*/,
95 kcm_ccache /*ccache*/);
97 krb5_error_code
98 kcm_ccache_remove_creds_internal (
99 krb5_context /*context*/,
100 kcm_ccache /*ccache*/);
102 krb5_error_code
103 kcm_ccache_resolve (
104 krb5_context /*context*/,
105 const char */*name*/,
106 kcm_ccache */*ccache*/);
108 krb5_error_code
109 kcm_ccache_resolve_client (
110 krb5_context /*context*/,
111 kcm_client */*client*/,
112 kcm_operation /*opcode*/,
113 const char */*name*/,
114 kcm_ccache */*ccache*/);
116 krb5_error_code
117 kcm_ccache_retrieve_cred (
118 krb5_context /*context*/,
119 kcm_ccache /*ccache*/,
120 krb5_flags /*whichfields*/,
121 const krb5_creds */*mcreds*/,
122 krb5_creds **/*credp*/);
124 krb5_error_code
125 kcm_ccache_retrieve_cred_internal (
126 krb5_context /*context*/,
127 kcm_ccache /*ccache*/,
128 krb5_flags /*whichfields*/,
129 const krb5_creds */*mcreds*/,
130 krb5_creds **/*creds*/);
132 krb5_error_code
133 kcm_ccache_store_cred (
134 krb5_context /*context*/,
135 kcm_ccache /*ccache*/,
136 krb5_creds */*creds*/,
137 int /*copy*/);
139 krb5_error_code
140 kcm_ccache_store_cred_internal (
141 krb5_context /*context*/,
142 kcm_ccache /*ccache*/,
143 krb5_creds */*creds*/,
144 int /*copy*/,
145 krb5_creds **/*credp*/);
147 krb5_error_code
148 kcm_chmod (
149 krb5_context /*context*/,
150 kcm_client */*client*/,
151 kcm_ccache /*ccache*/,
152 uint16_t /*mode*/);
154 krb5_error_code
155 kcm_chown (
156 krb5_context /*context*/,
157 kcm_client */*client*/,
158 kcm_ccache /*ccache*/,
159 uid_t /*uid*/,
160 gid_t /*gid*/);
162 krb5_error_code
163 kcm_cleanup_events (
164 krb5_context /*context*/,
165 kcm_ccache /*ccache*/);
167 void
168 kcm_configure (
169 int /*argc*/,
170 char **/*argv*/);
172 krb5_error_code
173 kcm_cursor_delete (
174 krb5_context /*context*/,
175 pid_t /*pid*/,
176 kcm_ccache /*ccache*/,
177 uint32_t /*key*/);
179 krb5_error_code
180 kcm_cursor_find (
181 krb5_context /*context*/,
182 pid_t /*pid*/,
183 kcm_ccache /*ccache*/,
184 uint32_t /*key*/,
185 kcm_cursor **/*cursor*/);
187 krb5_error_code
188 kcm_cursor_new (
189 krb5_context /*context*/,
190 pid_t /*pid*/,
191 kcm_ccache /*ccache*/,
192 uint32_t */*cursor*/);
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*/);
228 void
229 kcm_log (
230 int /*level*/,
231 const char */*fmt*/,
232 ...);
234 char*
235 kcm_log_msg (
236 int /*level*/,
237 const char */*fmt*/,
238 ...);
240 char*
241 kcm_log_msg_va (
242 int /*level*/,
243 const char */*fmt*/,
244 va_list /*ap*/);
246 void
247 kcm_loop (void);
249 const char *kcm_op2string (kcm_operation /*opcode*/);
251 void
252 kcm_openlog (void);
254 krb5_error_code
255 kcm_release_ccache (
256 krb5_context /*context*/,
257 kcm_ccache */*ccache*/);
259 krb5_error_code
260 kcm_remove_event (
261 krb5_context /*context*/,
262 kcm_event */*event*/);
264 krb5_error_code
265 kcm_retain_ccache (
266 krb5_context /*context*/,
267 kcm_ccache /*ccache*/);
269 krb5_error_code
270 kcm_run_events (
271 krb5_context /*context*/,
272 time_t /*now*/);
274 krb5_error_code
275 kcm_zero_ccache_data (
276 krb5_context /*context*/,
277 kcm_ccache /*cache*/);
279 krb5_error_code
280 kcm_zero_ccache_data_internal (
281 krb5_context /*context*/,
282 kcm_ccache_data */*cache*/);
284 #ifdef __cplusplus
286 #endif
288 #endif /* __kcm_protos_h__ */