1 /* This is a generated file */
2 #ifndef __kadm5_private_h__
3 #define __kadm5_private_h__
8 _kadm5_acl_check_permission (
9 kadm5_server_context */*context*/,
11 krb5_const_principal /*princ*/);
14 _kadm5_acl_init (kadm5_server_context */*context*/);
17 _kadm5_bump_pw_expire (
18 kadm5_server_context */*context*/,
22 _kadm5_c_get_cred_cache (
23 krb5_context /*context*/,
24 const char */*client_name*/,
25 const char */*server_name*/,
26 const char */*password*/,
27 krb5_prompter_fct /*prompter*/,
28 const char */*keytab*/,
29 krb5_ccache /*ccache*/,
30 krb5_ccache */*ret_cache*/);
33 _kadm5_c_init_context (
34 kadm5_client_context **/*ctx*/,
35 kadm5_config_params */*params*/,
36 krb5_context /*context*/);
40 kadm5_client_context */*context*/,
41 krb5_data */*reply*/);
45 kadm5_client_context */*context*/,
46 krb5_storage */*sp*/);
56 _kadm5_connect (void */*handle*/);
59 _kadm5_error_code (kadm5_ret_t /*code*/);
63 krb5_context /*context*/,
73 _kadm5_marshal_params (
74 krb5_context /*context*/,
75 kadm5_config_params */*params*/,
79 _kadm5_privs_to_string (
85 _kadm5_s_get_db (void */*server_handle*/);
88 _kadm5_s_init_context (
89 kadm5_server_context **/*ctx*/,
90 kadm5_config_params */*params*/,
91 krb5_context /*context*/);
95 kadm5_server_context */*context*/,
97 const char */*password*/);
101 kadm5_server_context */*context*/,
103 int16_t /*n_key_data*/,
104 krb5_key_data */*key_data*/);
108 kadm5_server_context */*context*/,
111 krb5_keyblock */*keyblocks*/);
114 _kadm5_set_keys_randomly (
115 kadm5_server_context */*context*/,
117 krb5_keyblock **/*new_keys*/,
121 _kadm5_set_modifier (
122 kadm5_server_context */*context*/,
127 kadm5_server_context */*context*/,
128 hdb_entry_ex */*ent*/,
130 kadm5_principal_ent_t /*princ*/,
131 uint32_t /*princ_mask*/,
132 kadm5_principal_ent_t /*def*/,
133 uint32_t /*def_mask*/);
136 _kadm5_string_to_privs (
138 uint32_t* /*privs*/);
141 _kadm5_unmarshal_params (
142 krb5_context /*context*/,
144 kadm5_config_params */*params*/);
147 kadm5_c_chpass_principal (
148 void */*server_handle*/,
149 krb5_principal /*princ*/,
150 const char */*password*/);
153 kadm5_c_chpass_principal_with_key (
154 void */*server_handle*/,
155 krb5_principal /*princ*/,
157 krb5_key_data */*key_data*/);
160 kadm5_c_create_principal (
161 void */*server_handle*/,
162 kadm5_principal_ent_t /*princ*/,
164 const char */*password*/);
167 kadm5_c_delete_principal (
168 void */*server_handle*/,
169 krb5_principal /*princ*/);
172 kadm5_c_destroy (void */*server_handle*/);
175 kadm5_c_flush (void */*server_handle*/);
178 kadm5_c_get_principal (
179 void */*server_handle*/,
180 krb5_principal /*princ*/,
181 kadm5_principal_ent_t /*out*/,
185 kadm5_c_get_principals (
186 void */*server_handle*/,
187 const char */*expression*/,
193 void */*server_handle*/,
194 uint32_t */*privs*/);
197 kadm5_c_init_with_creds (
198 const char */*client_name*/,
199 krb5_ccache /*ccache*/,
200 const char */*service_name*/,
201 kadm5_config_params */*realm_params*/,
202 unsigned long /*struct_version*/,
203 unsigned long /*api_version*/,
204 void **/*server_handle*/);
207 kadm5_c_init_with_creds_ctx (
208 krb5_context /*context*/,
209 const char */*client_name*/,
210 krb5_ccache /*ccache*/,
211 const char */*service_name*/,
212 kadm5_config_params */*realm_params*/,
213 unsigned long /*struct_version*/,
214 unsigned long /*api_version*/,
215 void **/*server_handle*/);
218 kadm5_c_init_with_password (
219 const char */*client_name*/,
220 const char */*password*/,
221 const char */*service_name*/,
222 kadm5_config_params */*realm_params*/,
223 unsigned long /*struct_version*/,
224 unsigned long /*api_version*/,
225 void **/*server_handle*/);
228 kadm5_c_init_with_password_ctx (
229 krb5_context /*context*/,
230 const char */*client_name*/,
231 const char */*password*/,
232 const char */*service_name*/,
233 kadm5_config_params */*realm_params*/,
234 unsigned long /*struct_version*/,
235 unsigned long /*api_version*/,
236 void **/*server_handle*/);
239 kadm5_c_init_with_skey (
240 const char */*client_name*/,
241 const char */*keytab*/,
242 const char */*service_name*/,
243 kadm5_config_params */*realm_params*/,
244 unsigned long /*struct_version*/,
245 unsigned long /*api_version*/,
246 void **/*server_handle*/);
249 kadm5_c_init_with_skey_ctx (
250 krb5_context /*context*/,
251 const char */*client_name*/,
252 const char */*keytab*/,
253 const char */*service_name*/,
254 kadm5_config_params */*realm_params*/,
255 unsigned long /*struct_version*/,
256 unsigned long /*api_version*/,
257 void **/*server_handle*/);
260 kadm5_c_modify_principal (
261 void */*server_handle*/,
262 kadm5_principal_ent_t /*princ*/,
266 kadm5_c_randkey_principal (
267 void */*server_handle*/,
268 krb5_principal /*princ*/,
269 krb5_keyblock **/*new_keys*/,
273 kadm5_c_rename_principal (
274 void */*server_handle*/,
275 krb5_principal /*source*/,
276 krb5_principal /*target*/);
280 kadm5_server_context */*context*/,
285 kadm5_server_context */*context*/,
286 krb5_principal /*princ*/);
289 kadm5_log_end (kadm5_server_context */*context*/);
293 kadm5_server_context */*context*/,
294 void (*/*func*/)(kadm5_server_context *server_context, uint32_t ver, time_t timestamp, enum kadm_ops op, uint32_t len, krb5_storage *, void *),
298 kadm5_log_get_version (
299 kadm5_server_context */*context*/,
303 kadm5_log_get_version_fd (
308 kadm5_log_goto_end (int /*fd*/);
311 kadm5_log_init (kadm5_server_context */*context*/);
315 kadm5_server_context */*context*/,
320 kadm5_log_nop (kadm5_server_context */*context*/);
324 krb5_context /*context*/,
325 krb5_storage */*sp*/,
327 time_t */*timestamp*/,
328 enum kadm_ops */*op*/,
332 kadm5_log_reinit (kadm5_server_context */*context*/);
336 kadm5_server_context */*context*/,
337 krb5_principal /*source*/,
342 kadm5_server_context */*context*/,
343 enum kadm_ops /*op*/,
346 krb5_storage */*sp*/);
349 kadm5_log_set_version (
350 kadm5_server_context */*context*/,
354 kadm5_log_signal_socket (krb5_context /*context*/);
357 kadm5_log_truncate (kadm5_server_context */*server_context*/);
360 kadm5_s_chpass_principal (
361 void */*server_handle*/,
362 krb5_principal /*princ*/,
363 const char */*password*/);
366 kadm5_s_chpass_principal_cond (
367 void */*server_handle*/,
368 krb5_principal /*princ*/,
369 const char */*password*/);
372 kadm5_s_chpass_principal_with_key (
373 void */*server_handle*/,
374 krb5_principal /*princ*/,
376 krb5_key_data */*key_data*/);
379 kadm5_s_create_principal (
380 void */*server_handle*/,
381 kadm5_principal_ent_t /*princ*/,
383 const char */*password*/);
386 kadm5_s_create_principal_with_key (
387 void */*server_handle*/,
388 kadm5_principal_ent_t /*princ*/,
392 kadm5_s_delete_principal (
393 void */*server_handle*/,
394 krb5_principal /*princ*/);
397 kadm5_s_destroy (void */*server_handle*/);
400 kadm5_s_flush (void */*server_handle*/);
403 kadm5_s_get_principal (
404 void */*server_handle*/,
405 krb5_principal /*princ*/,
406 kadm5_principal_ent_t /*out*/,
410 kadm5_s_get_principals (
411 void */*server_handle*/,
412 const char */*expression*/,
418 void */*server_handle*/,
419 uint32_t */*privs*/);
422 kadm5_s_init_with_creds (
423 const char */*client_name*/,
424 krb5_ccache /*ccache*/,
425 const char */*service_name*/,
426 kadm5_config_params */*realm_params*/,
427 unsigned long /*struct_version*/,
428 unsigned long /*api_version*/,
429 void **/*server_handle*/);
432 kadm5_s_init_with_creds_ctx (
433 krb5_context /*context*/,
434 const char */*client_name*/,
435 krb5_ccache /*ccache*/,
436 const char */*service_name*/,
437 kadm5_config_params */*realm_params*/,
438 unsigned long /*struct_version*/,
439 unsigned long /*api_version*/,
440 void **/*server_handle*/);
443 kadm5_s_init_with_password (
444 const char */*client_name*/,
445 const char */*password*/,
446 const char */*service_name*/,
447 kadm5_config_params */*realm_params*/,
448 unsigned long /*struct_version*/,
449 unsigned long /*api_version*/,
450 void **/*server_handle*/);
453 kadm5_s_init_with_password_ctx (
454 krb5_context /*context*/,
455 const char */*client_name*/,
456 const char */*password*/,
457 const char */*service_name*/,
458 kadm5_config_params */*realm_params*/,
459 unsigned long /*struct_version*/,
460 unsigned long /*api_version*/,
461 void **/*server_handle*/);
464 kadm5_s_init_with_skey (
465 const char */*client_name*/,
466 const char */*keytab*/,
467 const char */*service_name*/,
468 kadm5_config_params */*realm_params*/,
469 unsigned long /*struct_version*/,
470 unsigned long /*api_version*/,
471 void **/*server_handle*/);
474 kadm5_s_init_with_skey_ctx (
475 krb5_context /*context*/,
476 const char */*client_name*/,
477 const char */*keytab*/,
478 const char */*service_name*/,
479 kadm5_config_params */*realm_params*/,
480 unsigned long /*struct_version*/,
481 unsigned long /*api_version*/,
482 void **/*server_handle*/);
485 kadm5_s_modify_principal (
486 void */*server_handle*/,
487 kadm5_principal_ent_t /*princ*/,
491 kadm5_s_randkey_principal (
492 void */*server_handle*/,
493 krb5_principal /*princ*/,
494 krb5_keyblock **/*new_keys*/,
498 kadm5_s_rename_principal (
499 void */*server_handle*/,
500 krb5_principal /*source*/,
501 krb5_principal /*target*/);
503 #endif /* __kadm5_private_h__ */