1 /* This is a generated file */ 2 #ifndef __kadm5_private_h__ 3 #define __kadm5_private_h__ 4 5 #include <stdarg.h> 6 7 kadm5_ret_t 8 _kadm5_acl_check_permission ( 9 kadm5_server_context */*context*/, 10 unsigned /*op*/, 11 krb5_const_principal /*princ*/); 12 13 kadm5_ret_t 14 _kadm5_acl_init (kadm5_server_context */*context*/); 15 16 kadm5_ret_t 17 _kadm5_bump_pw_expire ( 18 kadm5_server_context */*context*/, 19 hdb_entry */*ent*/); 20 21 krb5_error_code 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*/); 31 32 kadm5_ret_t 33 _kadm5_c_init_context ( 34 kadm5_client_context **/*ctx*/, 35 kadm5_config_params */*params*/, 36 krb5_context /*context*/); 37 38 kadm5_ret_t 39 _kadm5_client_recv ( 40 kadm5_client_context */*context*/, 41 krb5_data */*reply*/); 42 43 kadm5_ret_t 44 _kadm5_client_send ( 45 kadm5_client_context */*context*/, 46 krb5_storage */*sp*/); 47 48 kadm5_ret_t 49 _kadm5_connect (void */*handle*/); 50 51 kadm5_ret_t 52 _kadm5_error_code (kadm5_ret_t /*code*/); 53 54 int 55 _kadm5_exists_keys_hist ( 56 Key */*keys1*/, 57 int /*len1*/, 58 HDB_Ext_KeySet */*hist_keys*/); 59 60 void 61 _kadm5_free_keys ( 62 krb5_context /*context*/, 63 int /*len*/, 64 Key */*keys*/); 65 66 void 67 _kadm5_init_keys ( 68 Key */*keys*/, 69 int /*len*/); 70 71 kadm5_ret_t 72 _kadm5_marshal_params ( 73 krb5_context /*context*/, 74 kadm5_config_params */*params*/, 75 krb5_data */*out*/); 76 77 kadm5_ret_t 78 _kadm5_privs_to_string ( 79 uint32_t /*privs*/, 80 char */*string*/, 81 size_t /*len*/); 82 83 HDB * 84 _kadm5_s_get_db (void */*server_handle*/); 85 86 kadm5_ret_t 87 _kadm5_s_init_context ( 88 kadm5_server_context **/*ctx*/, 89 kadm5_config_params */*params*/, 90 krb5_context /*context*/); 91 92 kadm5_ret_t 93 _kadm5_set_keys ( 94 kadm5_server_context */*context*/, 95 hdb_entry */*ent*/, 96 int /*n_ks_tuple*/, 97 krb5_key_salt_tuple */*ks_tuple*/, 98 const char */*password*/); 99 100 kadm5_ret_t 101 _kadm5_set_keys2 ( 102 kadm5_server_context */*context*/, 103 hdb_entry */*ent*/, 104 int16_t /*n_key_data*/, 105 krb5_key_data */*key_data*/); 106 107 kadm5_ret_t 108 _kadm5_set_keys3 ( 109 kadm5_server_context */*context*/, 110 hdb_entry */*ent*/, 111 int /*n_keys*/, 112 krb5_keyblock */*keyblocks*/); 113 114 kadm5_ret_t 115 _kadm5_set_keys_randomly ( 116 kadm5_server_context */*context*/, 117 hdb_entry */*ent*/, 118 int /*n_ks_tuple*/, 119 krb5_key_salt_tuple */*ks_tuple*/, 120 krb5_keyblock **/*new_keys*/, 121 int */*n_keys*/); 122 123 kadm5_ret_t 124 _kadm5_set_modifier ( 125 kadm5_server_context */*context*/, 126 hdb_entry */*ent*/); 127 128 kadm5_ret_t 129 _kadm5_setup_entry ( 130 kadm5_server_context */*context*/, 131 hdb_entry_ex */*ent*/, 132 uint32_t /*mask*/, 133 kadm5_principal_ent_t /*princ*/, 134 uint32_t /*princ_mask*/, 135 kadm5_principal_ent_t /*def*/, 136 uint32_t /*def_mask*/); 137 138 kadm5_ret_t 139 _kadm5_string_to_privs ( 140 const char */*s*/, 141 uint32_t* /*privs*/); 142 143 kadm5_ret_t 144 _kadm5_unmarshal_params ( 145 krb5_context /*context*/, 146 krb5_data */*in*/, 147 kadm5_config_params */*params*/); 148 149 kadm5_ret_t 150 kadm5_c_chpass_principal ( 151 void */*server_handle*/, 152 krb5_principal /*princ*/, 153 int /*keepold*/, 154 int /*n_ks_tuple*/, 155 krb5_key_salt_tuple */*ks_tuple*/, 156 const char */*password*/); 157 158 kadm5_ret_t 159 kadm5_c_chpass_principal_with_key ( 160 void */*server_handle*/, 161 krb5_principal /*princ*/, 162 int /*keepold*/, 163 int /*n_key_data*/, 164 krb5_key_data */*key_data*/); 165 166 kadm5_ret_t 167 kadm5_c_create_principal ( 168 void */*server_handle*/, 169 kadm5_principal_ent_t /*princ*/, 170 uint32_t /*mask*/, 171 int /*n_ks_tuple*/, 172 krb5_key_salt_tuple */*ks_tuple*/, 173 const char */*password*/); 174 175 kadm5_ret_t 176 kadm5_c_delete_principal ( 177 void */*server_handle*/, 178 krb5_principal /*princ*/); 179 180 kadm5_ret_t 181 kadm5_c_destroy (void */*server_handle*/); 182 183 kadm5_ret_t 184 kadm5_c_flush (void */*server_handle*/); 185 186 kadm5_ret_t 187 kadm5_c_get_principal ( 188 void */*server_handle*/, 189 krb5_principal /*princ*/, 190 kadm5_principal_ent_t /*out*/, 191 uint32_t /*mask*/); 192 193 kadm5_ret_t 194 kadm5_c_get_principals ( 195 void */*server_handle*/, 196 const char */*expression*/, 197 char ***/*princs*/, 198 int */*count*/); 199 200 kadm5_ret_t 201 kadm5_c_get_privs ( 202 void */*server_handle*/, 203 uint32_t */*privs*/); 204 205 kadm5_ret_t 206 kadm5_c_init_with_creds ( 207 const char */*client_name*/, 208 krb5_ccache /*ccache*/, 209 const char */*service_name*/, 210 kadm5_config_params */*realm_params*/, 211 unsigned long /*struct_version*/, 212 unsigned long /*api_version*/, 213 void **/*server_handle*/); 214 215 kadm5_ret_t 216 kadm5_c_init_with_creds_ctx ( 217 krb5_context /*context*/, 218 const char */*client_name*/, 219 krb5_ccache /*ccache*/, 220 const char */*service_name*/, 221 kadm5_config_params */*realm_params*/, 222 unsigned long /*struct_version*/, 223 unsigned long /*api_version*/, 224 void **/*server_handle*/); 225 226 kadm5_ret_t 227 kadm5_c_init_with_password ( 228 const char */*client_name*/, 229 const char */*password*/, 230 const char */*service_name*/, 231 kadm5_config_params */*realm_params*/, 232 unsigned long /*struct_version*/, 233 unsigned long /*api_version*/, 234 void **/*server_handle*/); 235 236 kadm5_ret_t 237 kadm5_c_init_with_password_ctx ( 238 krb5_context /*context*/, 239 const char */*client_name*/, 240 const char */*password*/, 241 const char */*service_name*/, 242 kadm5_config_params */*realm_params*/, 243 unsigned long /*struct_version*/, 244 unsigned long /*api_version*/, 245 void **/*server_handle*/); 246 247 kadm5_ret_t 248 kadm5_c_init_with_skey ( 249 const char */*client_name*/, 250 const char */*keytab*/, 251 const char */*service_name*/, 252 kadm5_config_params */*realm_params*/, 253 unsigned long /*struct_version*/, 254 unsigned long /*api_version*/, 255 void **/*server_handle*/); 256 257 kadm5_ret_t 258 kadm5_c_init_with_skey_ctx ( 259 krb5_context /*context*/, 260 const char */*client_name*/, 261 const char */*keytab*/, 262 const char */*service_name*/, 263 kadm5_config_params */*realm_params*/, 264 unsigned long /*struct_version*/, 265 unsigned long /*api_version*/, 266 void **/*server_handle*/); 267 268 kadm5_ret_t 269 kadm5_c_modify_principal ( 270 void */*server_handle*/, 271 kadm5_principal_ent_t /*princ*/, 272 uint32_t /*mask*/); 273 274 kadm5_ret_t 275 kadm5_c_randkey_principal ( 276 void */*server_handle*/, 277 krb5_principal /*princ*/, 278 krb5_boolean /*keepold*/, 279 int /*n_ks_tuple*/, 280 krb5_key_salt_tuple */*ks_tuple*/, 281 krb5_keyblock **/*new_keys*/, 282 int */*n_keys*/); 283 284 kadm5_ret_t 285 kadm5_c_rename_principal ( 286 void */*server_handle*/, 287 krb5_principal /*source*/, 288 krb5_principal /*target*/); 289 290 kadm5_ret_t 291 kadm5_log_create ( 292 kadm5_server_context */*context*/, 293 hdb_entry */*entry*/); 294 295 kadm5_ret_t 296 kadm5_log_delete ( 297 kadm5_server_context */*context*/, 298 krb5_principal /*princ*/); 299 300 kadm5_ret_t 301 kadm5_log_end (kadm5_server_context */*server_context*/); 302 303 kadm5_ret_t 304 kadm5_log_foreach ( 305 kadm5_server_context */*context*/, 306 enum kadm_iter_opts /*iter_opts*/, 307 off_t */*off_lastp*/, 308 kadm5_ret_t (*/*func*/)(kadm5_server_context *server_context, uint32_t ver, time_t timestamp, enum kadm_ops op, uint32_t len, krb5_storage *sp, void *ctx), 309 void */*ctx*/); 310 311 kadm5_ret_t 312 kadm5_log_get_version ( 313 kadm5_server_context */*server_context*/, 314 uint32_t */*ver*/); 315 316 kadm5_ret_t 317 kadm5_log_get_version_fd ( 318 kadm5_server_context */*server_context*/, 319 int /*fd*/, 320 int /*which*/, 321 uint32_t */*ver*/, 322 uint32_t */*tstamp*/); 323 324 krb5_storage * 325 kadm5_log_goto_end ( 326 kadm5_server_context */*server_context*/, 327 int /*fd*/); 328 329 kadm5_ret_t 330 kadm5_log_init (kadm5_server_context */*server_context*/); 331 332 kadm5_ret_t 333 kadm5_log_init_nb (kadm5_server_context */*server_context*/); 334 335 kadm5_ret_t 336 kadm5_log_init_nolock (kadm5_server_context */*server_context*/); 337 338 kadm5_ret_t 339 kadm5_log_init_sharedlock ( 340 kadm5_server_context */*server_context*/, 341 int /*lock_flags*/); 342 343 kadm5_ret_t 344 kadm5_log_modify ( 345 kadm5_server_context */*context*/, 346 hdb_entry */*entry*/, 347 uint32_t /*mask*/); 348 349 kadm5_ret_t 350 kadm5_log_nop ( 351 kadm5_server_context */*context*/, 352 enum kadm_nop_type /*nop_type*/); 353 354 kadm5_ret_t 355 kadm5_log_previous ( 356 krb5_context /*context*/, 357 krb5_storage */*sp*/, 358 uint32_t */*verp*/, 359 time_t */*tstampp*/, 360 enum kadm_ops */*opp*/, 361 uint32_t */*lenp*/); 362 363 kadm5_ret_t 364 kadm5_log_recover ( 365 kadm5_server_context */*context*/, 366 enum kadm_recover_mode /*mode*/); 367 368 kadm5_ret_t 369 kadm5_log_reinit ( 370 kadm5_server_context */*server_context*/, 371 uint32_t /*vno*/); 372 373 kadm5_ret_t 374 kadm5_log_rename ( 375 kadm5_server_context */*context*/, 376 krb5_principal /*source*/, 377 hdb_entry */*entry*/); 378 379 kadm5_ret_t 380 kadm5_log_replay ( 381 kadm5_server_context */*context*/, 382 enum kadm_ops /*op*/, 383 uint32_t /*ver*/, 384 uint32_t /*len*/, 385 krb5_storage */*sp*/); 386 387 kadm5_ret_t 388 kadm5_log_set_version ( 389 kadm5_server_context */*context*/, 390 uint32_t /*vno*/); 391 392 void 393 kadm5_log_signal_master (kadm5_server_context */*context*/); 394 395 const char * 396 kadm5_log_signal_socket (krb5_context /*context*/); 397 398 kadm5_ret_t 399 kadm5_log_signal_socket_info ( 400 krb5_context /*context*/, 401 int /*server_end*/, 402 struct addrinfo **/*ret_addrs*/); 403 404 kadm5_ret_t 405 kadm5_log_truncate ( 406 kadm5_server_context */*context*/, 407 size_t /*keep*/, 408 size_t /*maxbytes*/); 409 410 kadm5_ret_t 411 kadm5_s_chpass_principal ( 412 void */*server_handle*/, 413 krb5_principal /*princ*/, 414 int /*keepold*/, 415 int /*n_ks_tuple*/, 416 krb5_key_salt_tuple */*ks_tuple*/, 417 const char */*password*/); 418 419 kadm5_ret_t 420 kadm5_s_chpass_principal_cond ( 421 void */*server_handle*/, 422 krb5_principal /*princ*/, 423 int /*keepold*/, 424 const char */*password*/); 425 426 kadm5_ret_t 427 kadm5_s_chpass_principal_with_key ( 428 void */*server_handle*/, 429 krb5_principal /*princ*/, 430 int /*keepold*/, 431 int /*n_key_data*/, 432 krb5_key_data */*key_data*/); 433 434 kadm5_ret_t 435 kadm5_s_create_principal ( 436 void */*server_handle*/, 437 kadm5_principal_ent_t /*princ*/, 438 uint32_t /*mask*/, 439 int /*n_ks_tuple*/, 440 krb5_key_salt_tuple */*ks_tuple*/, 441 const char */*password*/); 442 443 kadm5_ret_t 444 kadm5_s_create_principal_with_key ( 445 void */*server_handle*/, 446 kadm5_principal_ent_t /*princ*/, 447 uint32_t /*mask*/); 448 449 kadm5_ret_t 450 kadm5_s_delete_principal ( 451 void */*server_handle*/, 452 krb5_principal /*princ*/); 453 454 kadm5_ret_t 455 kadm5_s_destroy (void */*server_handle*/); 456 457 kadm5_ret_t 458 kadm5_s_flush (void */*server_handle*/); 459 460 kadm5_ret_t 461 kadm5_s_get_principal ( 462 void */*server_handle*/, 463 krb5_principal /*princ*/, 464 kadm5_principal_ent_t /*out*/, 465 uint32_t /*mask*/); 466 467 kadm5_ret_t 468 kadm5_s_get_principals ( 469 void */*server_handle*/, 470 const char */*expression*/, 471 char ***/*princs*/, 472 int */*count*/); 473 474 kadm5_ret_t 475 kadm5_s_get_privs ( 476 void */*server_handle*/, 477 uint32_t */*privs*/); 478 479 kadm5_ret_t 480 kadm5_s_init_with_creds ( 481 const char */*client_name*/, 482 krb5_ccache /*ccache*/, 483 const char */*service_name*/, 484 kadm5_config_params */*realm_params*/, 485 unsigned long /*struct_version*/, 486 unsigned long /*api_version*/, 487 void **/*server_handle*/); 488 489 kadm5_ret_t 490 kadm5_s_init_with_creds_ctx ( 491 krb5_context /*context*/, 492 const char */*client_name*/, 493 krb5_ccache /*ccache*/, 494 const char */*service_name*/, 495 kadm5_config_params */*realm_params*/, 496 unsigned long /*struct_version*/, 497 unsigned long /*api_version*/, 498 void **/*server_handle*/); 499 500 kadm5_ret_t 501 kadm5_s_init_with_password ( 502 const char */*client_name*/, 503 const char */*password*/, 504 const char */*service_name*/, 505 kadm5_config_params */*realm_params*/, 506 unsigned long /*struct_version*/, 507 unsigned long /*api_version*/, 508 void **/*server_handle*/); 509 510 kadm5_ret_t 511 kadm5_s_init_with_password_ctx ( 512 krb5_context /*context*/, 513 const char */*client_name*/, 514 const char */*password*/, 515 const char */*service_name*/, 516 kadm5_config_params */*realm_params*/, 517 unsigned long /*struct_version*/, 518 unsigned long /*api_version*/, 519 void **/*server_handle*/); 520 521 kadm5_ret_t 522 kadm5_s_init_with_skey ( 523 const char */*client_name*/, 524 const char */*keytab*/, 525 const char */*service_name*/, 526 kadm5_config_params */*realm_params*/, 527 unsigned long /*struct_version*/, 528 unsigned long /*api_version*/, 529 void **/*server_handle*/); 530 531 kadm5_ret_t 532 kadm5_s_init_with_skey_ctx ( 533 krb5_context /*context*/, 534 const char */*client_name*/, 535 const char */*keytab*/, 536 const char */*service_name*/, 537 kadm5_config_params */*realm_params*/, 538 unsigned long /*struct_version*/, 539 unsigned long /*api_version*/, 540 void **/*server_handle*/); 541 542 kadm5_ret_t 543 kadm5_s_modify_principal ( 544 void */*server_handle*/, 545 kadm5_principal_ent_t /*princ*/, 546 uint32_t /*mask*/); 547 548 kadm5_ret_t 549 kadm5_s_randkey_principal ( 550 void */*server_handle*/, 551 krb5_principal /*princ*/, 552 krb5_boolean /*keepold*/, 553 int /*n_ks_tuple*/, 554 krb5_key_salt_tuple */*ks_tuple*/, 555 krb5_keyblock **/*new_keys*/, 556 int */*n_keys*/); 557 558 kadm5_ret_t 559 kadm5_s_rename_principal ( 560 void */*server_handle*/, 561 krb5_principal /*source*/, 562 krb5_principal /*target*/); 563 564 kadm5_ret_t 565 kadm5_s_setkey_principal_3 ( 566 void */*server_handle*/, 567 krb5_principal /*princ*/, 568 krb5_boolean /*keepold*/, 569 int /*n_ks_tuple*/, 570 krb5_key_salt_tuple */*ks_tuple*/, 571 krb5_keyblock */*keyblocks*/, 572 int /*n_keys*/); 573 574 #endif /* __kadm5_private_h__ */ 575