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 kadm5_ret_t 22 _kadm5_c_init_context ( 23 kadm5_client_context **/*ctx*/, 24 kadm5_config_params */*params*/, 25 krb5_context /*context*/); 26 27 kadm5_ret_t 28 _kadm5_client_recv ( 29 kadm5_client_context */*context*/, 30 krb5_data */*reply*/); 31 32 kadm5_ret_t 33 _kadm5_client_send ( 34 kadm5_client_context */*context*/, 35 krb5_storage */*sp*/); 36 37 int 38 _kadm5_cmp_keys ( 39 Key */*keys1*/, 40 int /*len1*/, 41 Key */*keys2*/, 42 int /*len2*/); 43 44 kadm5_ret_t 45 _kadm5_connect (void */*handle*/); 46 47 kadm5_ret_t 48 _kadm5_error_code (kadm5_ret_t /*code*/); 49 50 void 51 _kadm5_free_keys ( 52 kadm5_server_context */*context*/, 53 int /*len*/, 54 Key */*keys*/); 55 56 void 57 _kadm5_init_keys ( 58 Key */*keys*/, 59 int /*len*/); 60 61 kadm5_ret_t 62 _kadm5_marshal_params ( 63 krb5_context /*context*/, 64 kadm5_config_params */*params*/, 65 krb5_data */*out*/); 66 67 kadm5_ret_t 68 _kadm5_privs_to_string ( 69 u_int32_t /*privs*/, 70 char */*string*/, 71 size_t /*len*/); 72 73 HDB * 74 _kadm5_s_get_db (void */*server_handle*/); 75 76 kadm5_ret_t 77 _kadm5_s_init_context ( 78 kadm5_server_context **/*ctx*/, 79 kadm5_config_params */*params*/, 80 krb5_context /*context*/); 81 82 kadm5_ret_t 83 _kadm5_set_keys ( 84 kadm5_server_context */*context*/, 85 hdb_entry */*ent*/, 86 const char */*password*/); 87 88 kadm5_ret_t 89 _kadm5_set_keys2 ( 90 kadm5_server_context */*context*/, 91 hdb_entry */*ent*/, 92 int16_t /*n_key_data*/, 93 krb5_key_data */*key_data*/); 94 95 kadm5_ret_t 96 _kadm5_set_keys3 ( 97 kadm5_server_context */*context*/, 98 hdb_entry */*ent*/, 99 int /*n_keys*/, 100 krb5_keyblock */*keyblocks*/); 101 102 kadm5_ret_t 103 _kadm5_set_keys_randomly ( 104 kadm5_server_context */*context*/, 105 hdb_entry */*ent*/, 106 krb5_keyblock **/*new_keys*/, 107 int */*n_keys*/); 108 109 kadm5_ret_t 110 _kadm5_set_modifier ( 111 kadm5_server_context */*context*/, 112 hdb_entry */*ent*/); 113 114 kadm5_ret_t 115 _kadm5_setup_entry ( 116 kadm5_server_context */*context*/, 117 hdb_entry */*ent*/, 118 u_int32_t /*mask*/, 119 kadm5_principal_ent_t /*princ*/, 120 u_int32_t /*princ_mask*/, 121 kadm5_principal_ent_t /*def*/, 122 u_int32_t /*def_mask*/); 123 124 kadm5_ret_t 125 _kadm5_string_to_privs ( 126 const char */*s*/, 127 u_int32_t* /*privs*/); 128 129 kadm5_ret_t 130 _kadm5_unmarshal_params ( 131 krb5_context /*context*/, 132 krb5_data */*in*/, 133 kadm5_config_params */*params*/); 134 135 kadm5_ret_t 136 kadm5_c_chpass_principal ( 137 void */*server_handle*/, 138 krb5_principal /*princ*/, 139 char */*password*/); 140 141 kadm5_ret_t 142 kadm5_c_chpass_principal_with_key ( 143 void */*server_handle*/, 144 krb5_principal /*princ*/, 145 int /*n_key_data*/, 146 krb5_key_data */*key_data*/); 147 148 kadm5_ret_t 149 kadm5_c_create_principal ( 150 void */*server_handle*/, 151 kadm5_principal_ent_t /*princ*/, 152 u_int32_t /*mask*/, 153 char */*password*/); 154 155 kadm5_ret_t 156 kadm5_c_delete_principal ( 157 void */*server_handle*/, 158 krb5_principal /*princ*/); 159 160 kadm5_ret_t 161 kadm5_c_destroy (void */*server_handle*/); 162 163 kadm5_ret_t 164 kadm5_c_flush (void */*server_handle*/); 165 166 kadm5_ret_t 167 kadm5_c_get_principal ( 168 void */*server_handle*/, 169 krb5_principal /*princ*/, 170 kadm5_principal_ent_t /*out*/, 171 u_int32_t /*mask*/); 172 173 kadm5_ret_t 174 kadm5_c_get_principals ( 175 void */*server_handle*/, 176 const char */*exp*/, 177 char ***/*princs*/, 178 int */*count*/); 179 180 kadm5_ret_t 181 kadm5_c_get_privs ( 182 void */*server_handle*/, 183 u_int32_t */*privs*/); 184 185 kadm5_ret_t 186 kadm5_c_init_with_creds ( 187 const char */*client_name*/, 188 krb5_ccache /*ccache*/, 189 const char */*service_name*/, 190 kadm5_config_params */*realm_params*/, 191 unsigned long /*struct_version*/, 192 unsigned long /*api_version*/, 193 void **/*server_handle*/); 194 195 kadm5_ret_t 196 kadm5_c_init_with_creds_ctx ( 197 krb5_context /*context*/, 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*/); 205 206 kadm5_ret_t 207 kadm5_c_init_with_password ( 208 const char */*client_name*/, 209 const char */*password*/, 210 const char */*service_name*/, 211 kadm5_config_params */*realm_params*/, 212 unsigned long /*struct_version*/, 213 unsigned long /*api_version*/, 214 void **/*server_handle*/); 215 216 kadm5_ret_t 217 kadm5_c_init_with_password_ctx ( 218 krb5_context /*context*/, 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*/); 226 227 kadm5_ret_t 228 kadm5_c_init_with_skey ( 229 const char */*client_name*/, 230 const char */*keytab*/, 231 const char */*service_name*/, 232 kadm5_config_params */*realm_params*/, 233 unsigned long /*struct_version*/, 234 unsigned long /*api_version*/, 235 void **/*server_handle*/); 236 237 kadm5_ret_t 238 kadm5_c_init_with_skey_ctx ( 239 krb5_context /*context*/, 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*/); 247 248 kadm5_ret_t 249 kadm5_c_modify_principal ( 250 void */*server_handle*/, 251 kadm5_principal_ent_t /*princ*/, 252 u_int32_t /*mask*/); 253 254 kadm5_ret_t 255 kadm5_c_randkey_principal ( 256 void */*server_handle*/, 257 krb5_principal /*princ*/, 258 krb5_keyblock **/*new_keys*/, 259 int */*n_keys*/); 260 261 kadm5_ret_t 262 kadm5_c_rename_principal ( 263 void */*server_handle*/, 264 krb5_principal /*source*/, 265 krb5_principal /*target*/); 266 267 kadm5_ret_t 268 kadm5_log_create ( 269 kadm5_server_context */*context*/, 270 hdb_entry */*ent*/); 271 272 kadm5_ret_t 273 kadm5_log_delete ( 274 kadm5_server_context */*context*/, 275 krb5_principal /*princ*/); 276 277 kadm5_ret_t 278 kadm5_log_end (kadm5_server_context */*context*/); 279 280 kadm5_ret_t 281 kadm5_log_foreach ( 282 kadm5_server_context */*context*/, 283 void (*/*func*/)(kadm5_server_context *server_context, u_int32_t ver, time_t timestamp, enum kadm_ops op, u_int32_t len, krb5_storage *sp)); 284 285 kadm5_ret_t 286 kadm5_log_get_version ( 287 kadm5_server_context */*context*/, 288 u_int32_t */*ver*/); 289 290 kadm5_ret_t 291 kadm5_log_get_version_fd ( 292 int /*fd*/, 293 u_int32_t */*ver*/); 294 295 krb5_storage * 296 kadm5_log_goto_end (int /*fd*/); 297 298 kadm5_ret_t 299 kadm5_log_init (kadm5_server_context */*context*/); 300 301 kadm5_ret_t 302 kadm5_log_modify ( 303 kadm5_server_context */*context*/, 304 hdb_entry */*ent*/, 305 u_int32_t /*mask*/); 306 307 kadm5_ret_t 308 kadm5_log_nop (kadm5_server_context */*context*/); 309 310 kadm5_ret_t 311 kadm5_log_previous ( 312 krb5_storage */*sp*/, 313 u_int32_t */*ver*/, 314 time_t */*timestamp*/, 315 enum kadm_ops */*op*/, 316 u_int32_t */*len*/); 317 318 kadm5_ret_t 319 kadm5_log_reinit (kadm5_server_context */*context*/); 320 321 kadm5_ret_t 322 kadm5_log_rename ( 323 kadm5_server_context */*context*/, 324 krb5_principal /*source*/, 325 hdb_entry */*ent*/); 326 327 kadm5_ret_t 328 kadm5_log_replay ( 329 kadm5_server_context */*context*/, 330 enum kadm_ops /*op*/, 331 u_int32_t /*ver*/, 332 u_int32_t /*len*/, 333 krb5_storage */*sp*/); 334 335 kadm5_ret_t 336 kadm5_log_replay_create ( 337 kadm5_server_context */*context*/, 338 u_int32_t /*ver*/, 339 u_int32_t /*len*/, 340 krb5_storage */*sp*/); 341 342 kadm5_ret_t 343 kadm5_log_replay_delete ( 344 kadm5_server_context */*context*/, 345 u_int32_t /*ver*/, 346 u_int32_t /*len*/, 347 krb5_storage */*sp*/); 348 349 kadm5_ret_t 350 kadm5_log_replay_modify ( 351 kadm5_server_context */*context*/, 352 u_int32_t /*ver*/, 353 u_int32_t /*len*/, 354 krb5_storage */*sp*/); 355 356 kadm5_ret_t 357 kadm5_log_replay_nop ( 358 kadm5_server_context */*context*/, 359 u_int32_t /*ver*/, 360 u_int32_t /*len*/, 361 krb5_storage */*sp*/); 362 363 kadm5_ret_t 364 kadm5_log_replay_rename ( 365 kadm5_server_context */*context*/, 366 u_int32_t /*ver*/, 367 u_int32_t /*len*/, 368 krb5_storage */*sp*/); 369 370 kadm5_ret_t 371 kadm5_log_set_version ( 372 kadm5_server_context */*context*/, 373 u_int32_t /*vno*/); 374 375 kadm5_ret_t 376 kadm5_log_truncate (kadm5_server_context */*server_context*/); 377 378 kadm5_ret_t 379 kadm5_s_chpass_principal ( 380 void */*server_handle*/, 381 krb5_principal /*princ*/, 382 char */*password*/); 383 384 kadm5_ret_t 385 kadm5_s_chpass_principal_cond ( 386 void */*server_handle*/, 387 krb5_principal /*princ*/, 388 char */*password*/); 389 390 kadm5_ret_t 391 kadm5_s_chpass_principal_with_key ( 392 void */*server_handle*/, 393 krb5_principal /*princ*/, 394 int /*n_key_data*/, 395 krb5_key_data */*key_data*/); 396 397 kadm5_ret_t 398 kadm5_s_create_principal ( 399 void */*server_handle*/, 400 kadm5_principal_ent_t /*princ*/, 401 u_int32_t /*mask*/, 402 char */*password*/); 403 404 kadm5_ret_t 405 kadm5_s_create_principal_with_key ( 406 void */*server_handle*/, 407 kadm5_principal_ent_t /*princ*/, 408 u_int32_t /*mask*/); 409 410 kadm5_ret_t 411 kadm5_s_delete_principal ( 412 void */*server_handle*/, 413 krb5_principal /*princ*/); 414 415 kadm5_ret_t 416 kadm5_s_destroy (void */*server_handle*/); 417 418 kadm5_ret_t 419 kadm5_s_flush (void */*server_handle*/); 420 421 kadm5_ret_t 422 kadm5_s_get_principal ( 423 void */*server_handle*/, 424 krb5_principal /*princ*/, 425 kadm5_principal_ent_t /*out*/, 426 u_int32_t /*mask*/); 427 428 kadm5_ret_t 429 kadm5_s_get_principals ( 430 void */*server_handle*/, 431 const char */*exp*/, 432 char ***/*princs*/, 433 int */*count*/); 434 435 kadm5_ret_t 436 kadm5_s_get_privs ( 437 void */*server_handle*/, 438 u_int32_t */*privs*/); 439 440 kadm5_ret_t 441 kadm5_s_init_with_creds ( 442 const char */*client_name*/, 443 krb5_ccache /*ccache*/, 444 const char */*service_name*/, 445 kadm5_config_params */*realm_params*/, 446 unsigned long /*struct_version*/, 447 unsigned long /*api_version*/, 448 void **/*server_handle*/); 449 450 kadm5_ret_t 451 kadm5_s_init_with_creds_ctx ( 452 krb5_context /*context*/, 453 const char */*client_name*/, 454 krb5_ccache /*ccache*/, 455 const char */*service_name*/, 456 kadm5_config_params */*realm_params*/, 457 unsigned long /*struct_version*/, 458 unsigned long /*api_version*/, 459 void **/*server_handle*/); 460 461 kadm5_ret_t 462 kadm5_s_init_with_password ( 463 const char */*client_name*/, 464 const char */*password*/, 465 const char */*service_name*/, 466 kadm5_config_params */*realm_params*/, 467 unsigned long /*struct_version*/, 468 unsigned long /*api_version*/, 469 void **/*server_handle*/); 470 471 kadm5_ret_t 472 kadm5_s_init_with_password_ctx ( 473 krb5_context /*context*/, 474 const char */*client_name*/, 475 const char */*password*/, 476 const char */*service_name*/, 477 kadm5_config_params */*realm_params*/, 478 unsigned long /*struct_version*/, 479 unsigned long /*api_version*/, 480 void **/*server_handle*/); 481 482 kadm5_ret_t 483 kadm5_s_init_with_skey ( 484 const char */*client_name*/, 485 const char */*keytab*/, 486 const char */*service_name*/, 487 kadm5_config_params */*realm_params*/, 488 unsigned long /*struct_version*/, 489 unsigned long /*api_version*/, 490 void **/*server_handle*/); 491 492 kadm5_ret_t 493 kadm5_s_init_with_skey_ctx ( 494 krb5_context /*context*/, 495 const char */*client_name*/, 496 const char */*keytab*/, 497 const char */*service_name*/, 498 kadm5_config_params */*realm_params*/, 499 unsigned long /*struct_version*/, 500 unsigned long /*api_version*/, 501 void **/*server_handle*/); 502 503 kadm5_ret_t 504 kadm5_s_modify_principal ( 505 void */*server_handle*/, 506 kadm5_principal_ent_t /*princ*/, 507 u_int32_t /*mask*/); 508 509 kadm5_ret_t 510 kadm5_s_randkey_principal ( 511 void */*server_handle*/, 512 krb5_principal /*princ*/, 513 krb5_keyblock **/*new_keys*/, 514 int */*n_keys*/); 515 516 kadm5_ret_t 517 kadm5_s_rename_principal ( 518 void */*server_handle*/, 519 krb5_principal /*source*/, 520 krb5_principal /*target*/); 521 522 #endif /* __kadm5_private_h__ */ 523