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 int 49 _kadm5_cmp_keys ( 50 Key */*keys1*/, 51 int /*len1*/, 52 Key */*keys2*/, 53 int /*len2*/); 54 55 kadm5_ret_t 56 _kadm5_connect (void */*handle*/); 57 58 kadm5_ret_t 59 _kadm5_error_code (kadm5_ret_t /*code*/); 60 61 void 62 _kadm5_free_keys ( 63 krb5_context /*context*/, 64 int /*len*/, 65 Key */*keys*/); 66 67 void 68 _kadm5_init_keys ( 69 Key */*keys*/, 70 int /*len*/); 71 72 kadm5_ret_t 73 _kadm5_marshal_params ( 74 krb5_context /*context*/, 75 kadm5_config_params */*params*/, 76 krb5_data */*out*/); 77 78 kadm5_ret_t 79 _kadm5_privs_to_string ( 80 uint32_t /*privs*/, 81 char */*string*/, 82 size_t /*len*/); 83 84 HDB * 85 _kadm5_s_get_db (void */*server_handle*/); 86 87 kadm5_ret_t 88 _kadm5_s_init_context ( 89 kadm5_server_context **/*ctx*/, 90 kadm5_config_params */*params*/, 91 krb5_context /*context*/); 92 93 kadm5_ret_t 94 _kadm5_set_keys ( 95 kadm5_server_context */*context*/, 96 hdb_entry */*ent*/, 97 const char */*password*/); 98 99 kadm5_ret_t 100 _kadm5_set_keys2 ( 101 kadm5_server_context */*context*/, 102 hdb_entry */*ent*/, 103 int16_t /*n_key_data*/, 104 krb5_key_data */*key_data*/); 105 106 kadm5_ret_t 107 _kadm5_set_keys3 ( 108 kadm5_server_context */*context*/, 109 hdb_entry */*ent*/, 110 int /*n_keys*/, 111 krb5_keyblock */*keyblocks*/); 112 113 kadm5_ret_t 114 _kadm5_set_keys_randomly ( 115 kadm5_server_context */*context*/, 116 hdb_entry */*ent*/, 117 krb5_keyblock **/*new_keys*/, 118 int */*n_keys*/); 119 120 kadm5_ret_t 121 _kadm5_set_modifier ( 122 kadm5_server_context */*context*/, 123 hdb_entry */*ent*/); 124 125 kadm5_ret_t 126 _kadm5_setup_entry ( 127 kadm5_server_context */*context*/, 128 hdb_entry_ex */*ent*/, 129 uint32_t /*mask*/, 130 kadm5_principal_ent_t /*princ*/, 131 uint32_t /*princ_mask*/, 132 kadm5_principal_ent_t /*def*/, 133 uint32_t /*def_mask*/); 134 135 kadm5_ret_t 136 _kadm5_string_to_privs ( 137 const char */*s*/, 138 uint32_t* /*privs*/); 139 140 kadm5_ret_t 141 _kadm5_unmarshal_params ( 142 krb5_context /*context*/, 143 krb5_data */*in*/, 144 kadm5_config_params */*params*/); 145 146 kadm5_ret_t 147 kadm5_c_chpass_principal ( 148 void */*server_handle*/, 149 krb5_principal /*princ*/, 150 const char */*password*/); 151 152 kadm5_ret_t 153 kadm5_c_chpass_principal_with_key ( 154 void */*server_handle*/, 155 krb5_principal /*princ*/, 156 int /*n_key_data*/, 157 krb5_key_data */*key_data*/); 158 159 kadm5_ret_t 160 kadm5_c_create_principal ( 161 void */*server_handle*/, 162 kadm5_principal_ent_t /*princ*/, 163 uint32_t /*mask*/, 164 const char */*password*/); 165 166 kadm5_ret_t 167 kadm5_c_delete_principal ( 168 void */*server_handle*/, 169 krb5_principal /*princ*/); 170 171 kadm5_ret_t 172 kadm5_c_destroy (void */*server_handle*/); 173 174 kadm5_ret_t 175 kadm5_c_flush (void */*server_handle*/); 176 177 kadm5_ret_t 178 kadm5_c_get_principal ( 179 void */*server_handle*/, 180 krb5_principal /*princ*/, 181 kadm5_principal_ent_t /*out*/, 182 uint32_t /*mask*/); 183 184 kadm5_ret_t 185 kadm5_c_get_principals ( 186 void */*server_handle*/, 187 const char */*expression*/, 188 char ***/*princs*/, 189 int */*count*/); 190 191 kadm5_ret_t 192 kadm5_c_get_privs ( 193 void */*server_handle*/, 194 uint32_t */*privs*/); 195 196 kadm5_ret_t 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*/); 205 206 kadm5_ret_t 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*/); 216 217 kadm5_ret_t 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*/); 226 227 kadm5_ret_t 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*/); 237 238 kadm5_ret_t 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*/); 247 248 kadm5_ret_t 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*/); 258 259 kadm5_ret_t 260 kadm5_c_modify_principal ( 261 void */*server_handle*/, 262 kadm5_principal_ent_t /*princ*/, 263 uint32_t /*mask*/); 264 265 kadm5_ret_t 266 kadm5_c_randkey_principal ( 267 void */*server_handle*/, 268 krb5_principal /*princ*/, 269 krb5_keyblock **/*new_keys*/, 270 int */*n_keys*/); 271 272 kadm5_ret_t 273 kadm5_c_rename_principal ( 274 void */*server_handle*/, 275 krb5_principal /*source*/, 276 krb5_principal /*target*/); 277 278 kadm5_ret_t 279 kadm5_log_create ( 280 kadm5_server_context */*context*/, 281 hdb_entry */*ent*/); 282 283 kadm5_ret_t 284 kadm5_log_delete ( 285 kadm5_server_context */*context*/, 286 krb5_principal /*princ*/); 287 288 kadm5_ret_t 289 kadm5_log_end (kadm5_server_context */*context*/); 290 291 kadm5_ret_t 292 kadm5_log_foreach ( 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 *), 295 void */*ctx*/); 296 297 kadm5_ret_t 298 kadm5_log_get_version ( 299 kadm5_server_context */*context*/, 300 uint32_t */*ver*/); 301 302 kadm5_ret_t 303 kadm5_log_get_version_fd ( 304 int /*fd*/, 305 uint32_t */*ver*/); 306 307 krb5_storage * 308 kadm5_log_goto_end (int /*fd*/); 309 310 kadm5_ret_t 311 kadm5_log_init (kadm5_server_context */*context*/); 312 313 kadm5_ret_t 314 kadm5_log_modify ( 315 kadm5_server_context */*context*/, 316 hdb_entry */*ent*/, 317 uint32_t /*mask*/); 318 319 kadm5_ret_t 320 kadm5_log_nop (kadm5_server_context */*context*/); 321 322 kadm5_ret_t 323 kadm5_log_previous ( 324 krb5_context /*context*/, 325 krb5_storage */*sp*/, 326 uint32_t */*ver*/, 327 time_t */*timestamp*/, 328 enum kadm_ops */*op*/, 329 uint32_t */*len*/); 330 331 kadm5_ret_t 332 kadm5_log_reinit (kadm5_server_context */*context*/); 333 334 kadm5_ret_t 335 kadm5_log_rename ( 336 kadm5_server_context */*context*/, 337 krb5_principal /*source*/, 338 hdb_entry */*ent*/); 339 340 kadm5_ret_t 341 kadm5_log_replay ( 342 kadm5_server_context */*context*/, 343 enum kadm_ops /*op*/, 344 uint32_t /*ver*/, 345 uint32_t /*len*/, 346 krb5_storage */*sp*/); 347 348 kadm5_ret_t 349 kadm5_log_set_version ( 350 kadm5_server_context */*context*/, 351 uint32_t /*vno*/); 352 353 const char * 354 kadm5_log_signal_socket (krb5_context /*context*/); 355 356 kadm5_ret_t 357 kadm5_log_truncate (kadm5_server_context */*server_context*/); 358 359 kadm5_ret_t 360 kadm5_s_chpass_principal ( 361 void */*server_handle*/, 362 krb5_principal /*princ*/, 363 const char */*password*/); 364 365 kadm5_ret_t 366 kadm5_s_chpass_principal_cond ( 367 void */*server_handle*/, 368 krb5_principal /*princ*/, 369 const char */*password*/); 370 371 kadm5_ret_t 372 kadm5_s_chpass_principal_with_key ( 373 void */*server_handle*/, 374 krb5_principal /*princ*/, 375 int /*n_key_data*/, 376 krb5_key_data */*key_data*/); 377 378 kadm5_ret_t 379 kadm5_s_create_principal ( 380 void */*server_handle*/, 381 kadm5_principal_ent_t /*princ*/, 382 uint32_t /*mask*/, 383 const char */*password*/); 384 385 kadm5_ret_t 386 kadm5_s_create_principal_with_key ( 387 void */*server_handle*/, 388 kadm5_principal_ent_t /*princ*/, 389 uint32_t /*mask*/); 390 391 kadm5_ret_t 392 kadm5_s_delete_principal ( 393 void */*server_handle*/, 394 krb5_principal /*princ*/); 395 396 kadm5_ret_t 397 kadm5_s_destroy (void */*server_handle*/); 398 399 kadm5_ret_t 400 kadm5_s_flush (void */*server_handle*/); 401 402 kadm5_ret_t 403 kadm5_s_get_principal ( 404 void */*server_handle*/, 405 krb5_principal /*princ*/, 406 kadm5_principal_ent_t /*out*/, 407 uint32_t /*mask*/); 408 409 kadm5_ret_t 410 kadm5_s_get_principals ( 411 void */*server_handle*/, 412 const char */*expression*/, 413 char ***/*princs*/, 414 int */*count*/); 415 416 kadm5_ret_t 417 kadm5_s_get_privs ( 418 void */*server_handle*/, 419 uint32_t */*privs*/); 420 421 kadm5_ret_t 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*/); 430 431 kadm5_ret_t 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*/); 441 442 kadm5_ret_t 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*/); 451 452 kadm5_ret_t 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*/); 462 463 kadm5_ret_t 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*/); 472 473 kadm5_ret_t 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*/); 483 484 kadm5_ret_t 485 kadm5_s_modify_principal ( 486 void */*server_handle*/, 487 kadm5_principal_ent_t /*princ*/, 488 uint32_t /*mask*/); 489 490 kadm5_ret_t 491 kadm5_s_randkey_principal ( 492 void */*server_handle*/, 493 krb5_principal /*princ*/, 494 krb5_keyblock **/*new_keys*/, 495 int */*n_keys*/); 496 497 kadm5_ret_t 498 kadm5_s_rename_principal ( 499 void */*server_handle*/, 500 krb5_principal /*source*/, 501 krb5_principal /*target*/); 502 503 #endif /* __kadm5_private_h__ */ 504