1 /* This is a generated file */ 2 #ifndef __krb5_protos_h__ 3 #define __krb5_protos_h__ 4 5 #include <stdarg.h> 6 7 #if !defined(__GNUC__) && !defined(__attribute__) 8 #define __attribute__(x) 9 #endif 10 11 #ifndef KRB5_DEPRECATED_FUNCTION 12 #if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1 ))) 13 #define KRB5_DEPRECATED_FUNCTION(X) __attribute__((__deprecated__)) 14 #else 15 #define KRB5_DEPRECATED_FUNCTION(X) 16 #endif 17 #endif 18 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 #ifndef KRB5_LIB 25 #ifndef KRB5_LIB_FUNCTION 26 #if defined(_WIN32) 27 #define KRB5_LIB_FUNCTION __declspec(dllimport) 28 #define KRB5_LIB_CALL __stdcall 29 #define KRB5_LIB_VARIABLE __declspec(dllimport) 30 #else 31 #define KRB5_LIB_FUNCTION 32 #define KRB5_LIB_CALL 33 #define KRB5_LIB_VARIABLE 34 #endif 35 #endif 36 #endif 37 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 38 krb524_convert_creds_kdc ( 39 krb5_context /*context*/, 40 krb5_creds */*in_cred*/, 41 struct credentials */*v4creds*/) 42 KRB5_DEPRECATED_FUNCTION("Use X instead"); 43 44 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 45 krb524_convert_creds_kdc_ccache ( 46 krb5_context /*context*/, 47 krb5_ccache /*ccache*/, 48 krb5_creds */*in_cred*/, 49 struct credentials */*v4creds*/) 50 KRB5_DEPRECATED_FUNCTION("Use X instead"); 51 52 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 53 krb5_abort ( 54 krb5_context /*context*/, 55 krb5_error_code /*code*/, 56 const char */*fmt*/, 57 ...) 58 __attribute__ ((noreturn, format (printf, 3, 4))); 59 60 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 61 krb5_abortx ( 62 krb5_context /*context*/, 63 const char */*fmt*/, 64 ...) 65 __attribute__ ((noreturn, format (printf, 2, 3))); 66 67 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 68 krb5_acl_match_file ( 69 krb5_context /*context*/, 70 const char */*file*/, 71 const char */*format*/, 72 ...); 73 74 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 75 krb5_acl_match_string ( 76 krb5_context /*context*/, 77 const char */*string*/, 78 const char */*format*/, 79 ...); 80 81 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 82 krb5_add_et_list ( 83 krb5_context /*context*/, 84 void (*/*func*/)(struct et_list **)); 85 86 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 87 krb5_add_extra_addresses ( 88 krb5_context /*context*/, 89 krb5_addresses */*addresses*/); 90 91 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 92 krb5_add_ignore_addresses ( 93 krb5_context /*context*/, 94 krb5_addresses */*addresses*/); 95 96 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 97 krb5_addlog_dest ( 98 krb5_context /*context*/, 99 krb5_log_facility */*f*/, 100 const char */*orig*/); 101 102 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 103 krb5_addlog_func ( 104 krb5_context /*context*/, 105 krb5_log_facility */*fac*/, 106 int /*min*/, 107 int /*max*/, 108 krb5_log_log_func_t /*log_func*/, 109 krb5_log_close_func_t /*close_func*/, 110 void */*data*/); 111 112 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 113 krb5_addr2sockaddr ( 114 krb5_context /*context*/, 115 const krb5_address */*addr*/, 116 struct sockaddr */*sa*/, 117 krb5_socklen_t */*sa_size*/, 118 int /*port*/); 119 120 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 121 krb5_address_compare ( 122 krb5_context /*context*/, 123 const krb5_address */*addr1*/, 124 const krb5_address */*addr2*/); 125 126 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 127 krb5_address_order ( 128 krb5_context /*context*/, 129 const krb5_address */*addr1*/, 130 const krb5_address */*addr2*/); 131 132 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 133 krb5_address_prefixlen_boundary ( 134 krb5_context /*context*/, 135 const krb5_address */*inaddr*/, 136 unsigned long /*prefixlen*/, 137 krb5_address */*low*/, 138 krb5_address */*high*/); 139 140 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 141 krb5_address_search ( 142 krb5_context /*context*/, 143 const krb5_address */*addr*/, 144 const krb5_addresses */*addrlist*/); 145 146 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 147 krb5_allow_weak_crypto ( 148 krb5_context /*context*/, 149 krb5_boolean /*enable*/); 150 151 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 152 krb5_aname_to_localname ( 153 krb5_context /*context*/, 154 krb5_const_principal /*aname*/, 155 size_t /*lnsize*/, 156 char */*lname*/); 157 158 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 159 krb5_anyaddr ( 160 krb5_context /*context*/, 161 int /*af*/, 162 struct sockaddr */*sa*/, 163 krb5_socklen_t */*sa_size*/, 164 int /*port*/); 165 166 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 167 krb5_appdefault_boolean ( 168 krb5_context /*context*/, 169 const char */*appname*/, 170 krb5_const_realm /*realm*/, 171 const char */*option*/, 172 krb5_boolean /*def_val*/, 173 krb5_boolean */*ret_val*/); 174 175 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 176 krb5_appdefault_string ( 177 krb5_context /*context*/, 178 const char */*appname*/, 179 krb5_const_realm /*realm*/, 180 const char */*option*/, 181 const char */*def_val*/, 182 char **/*ret_val*/); 183 184 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 185 krb5_appdefault_time ( 186 krb5_context /*context*/, 187 const char */*appname*/, 188 krb5_const_realm /*realm*/, 189 const char */*option*/, 190 time_t /*def_val*/, 191 time_t */*ret_val*/); 192 193 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 194 krb5_append_addresses ( 195 krb5_context /*context*/, 196 krb5_addresses */*dest*/, 197 const krb5_addresses */*source*/); 198 199 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 200 krb5_auth_con_addflags ( 201 krb5_context /*context*/, 202 krb5_auth_context /*auth_context*/, 203 int32_t /*addflags*/, 204 int32_t */*flags*/); 205 206 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 207 krb5_auth_con_free ( 208 krb5_context /*context*/, 209 krb5_auth_context /*auth_context*/); 210 211 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 212 krb5_auth_con_genaddrs ( 213 krb5_context /*context*/, 214 krb5_auth_context /*auth_context*/, 215 krb5_socket_t /*fd*/, 216 int /*flags*/); 217 218 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 219 krb5_auth_con_generatelocalsubkey ( 220 krb5_context /*context*/, 221 krb5_auth_context /*auth_context*/, 222 krb5_keyblock */*key*/); 223 224 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 225 krb5_auth_con_getaddrs ( 226 krb5_context /*context*/, 227 krb5_auth_context /*auth_context*/, 228 krb5_address **/*local_addr*/, 229 krb5_address **/*remote_addr*/); 230 231 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 232 krb5_auth_con_getauthenticator ( 233 krb5_context /*context*/, 234 krb5_auth_context /*auth_context*/, 235 krb5_authenticator */*authenticator*/); 236 237 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 238 krb5_auth_con_getcksumtype ( 239 krb5_context /*context*/, 240 krb5_auth_context /*auth_context*/, 241 krb5_cksumtype */*cksumtype*/); 242 243 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 244 krb5_auth_con_getflags ( 245 krb5_context /*context*/, 246 krb5_auth_context /*auth_context*/, 247 int32_t */*flags*/); 248 249 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 250 krb5_auth_con_getkey ( 251 krb5_context /*context*/, 252 krb5_auth_context /*auth_context*/, 253 krb5_keyblock **/*keyblock*/); 254 255 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 256 krb5_auth_con_getkeytype ( 257 krb5_context /*context*/, 258 krb5_auth_context /*auth_context*/, 259 krb5_keytype */*keytype*/); 260 261 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 262 krb5_auth_con_getlocalseqnumber ( 263 krb5_context /*context*/, 264 krb5_auth_context /*auth_context*/, 265 int32_t */*seqnumber*/); 266 267 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 268 krb5_auth_con_getlocalsubkey ( 269 krb5_context /*context*/, 270 krb5_auth_context /*auth_context*/, 271 krb5_keyblock **/*keyblock*/); 272 273 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 274 krb5_auth_con_getrcache ( 275 krb5_context /*context*/, 276 krb5_auth_context /*auth_context*/, 277 krb5_rcache */*rcache*/); 278 279 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 280 krb5_auth_con_getrecvsubkey ( 281 krb5_context /*context*/, 282 krb5_auth_context /*auth_context*/, 283 krb5_keyblock **/*keyblock*/); 284 285 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 286 krb5_auth_con_getremoteseqnumber ( 287 krb5_context /*context*/, 288 krb5_auth_context /*auth_context*/, 289 int32_t */*seqnumber*/); 290 291 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 292 krb5_auth_con_getremotesubkey ( 293 krb5_context /*context*/, 294 krb5_auth_context /*auth_context*/, 295 krb5_keyblock **/*keyblock*/); 296 297 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 298 krb5_auth_con_getsendsubkey ( 299 krb5_context /*context*/, 300 krb5_auth_context /*auth_context*/, 301 krb5_keyblock **/*keyblock*/); 302 303 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 304 krb5_auth_con_init ( 305 krb5_context /*context*/, 306 krb5_auth_context */*auth_context*/); 307 308 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 309 krb5_auth_con_removeflags ( 310 krb5_context /*context*/, 311 krb5_auth_context /*auth_context*/, 312 int32_t /*removeflags*/, 313 int32_t */*flags*/); 314 315 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 316 krb5_auth_con_setaddrs ( 317 krb5_context /*context*/, 318 krb5_auth_context /*auth_context*/, 319 krb5_address */*local_addr*/, 320 krb5_address */*remote_addr*/); 321 322 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 323 krb5_auth_con_setaddrs_from_fd ( 324 krb5_context /*context*/, 325 krb5_auth_context /*auth_context*/, 326 void */*p_fd*/); 327 328 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 329 krb5_auth_con_setcksumtype ( 330 krb5_context /*context*/, 331 krb5_auth_context /*auth_context*/, 332 krb5_cksumtype /*cksumtype*/); 333 334 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 335 krb5_auth_con_setflags ( 336 krb5_context /*context*/, 337 krb5_auth_context /*auth_context*/, 338 int32_t /*flags*/); 339 340 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 341 krb5_auth_con_setkey ( 342 krb5_context /*context*/, 343 krb5_auth_context /*auth_context*/, 344 krb5_keyblock */*keyblock*/); 345 346 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 347 krb5_auth_con_setkeytype ( 348 krb5_context /*context*/, 349 krb5_auth_context /*auth_context*/, 350 krb5_keytype /*keytype*/); 351 352 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 353 krb5_auth_con_setlocalseqnumber ( 354 krb5_context /*context*/, 355 krb5_auth_context /*auth_context*/, 356 int32_t /*seqnumber*/); 357 358 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 359 krb5_auth_con_setlocalsubkey ( 360 krb5_context /*context*/, 361 krb5_auth_context /*auth_context*/, 362 krb5_keyblock */*keyblock*/); 363 364 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 365 krb5_auth_con_setrcache ( 366 krb5_context /*context*/, 367 krb5_auth_context /*auth_context*/, 368 krb5_rcache /*rcache*/); 369 370 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 371 krb5_auth_con_setrecvsubkey ( 372 krb5_context /*context*/, 373 krb5_auth_context /*auth_context*/, 374 krb5_keyblock */*keyblock*/); 375 376 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 377 krb5_auth_con_setremoteseqnumber ( 378 krb5_context /*context*/, 379 krb5_auth_context /*auth_context*/, 380 int32_t /*seqnumber*/); 381 382 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 383 krb5_auth_con_setremotesubkey ( 384 krb5_context /*context*/, 385 krb5_auth_context /*auth_context*/, 386 krb5_keyblock */*keyblock*/); 387 388 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 389 krb5_auth_con_setsendsubkey ( 390 krb5_context /*context*/, 391 krb5_auth_context /*auth_context*/, 392 krb5_keyblock */*keyblock*/); 393 394 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 395 krb5_auth_con_setuserkey ( 396 krb5_context /*context*/, 397 krb5_auth_context /*auth_context*/, 398 krb5_keyblock */*keyblock*/); 399 400 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 401 krb5_auth_getremoteseqnumber ( 402 krb5_context /*context*/, 403 krb5_auth_context /*auth_context*/, 404 int32_t */*seqnumber*/) 405 KRB5_DEPRECATED_FUNCTION("Use X instead"); 406 407 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 408 krb5_build_ap_req ( 409 krb5_context /*context*/, 410 krb5_enctype /*enctype*/, 411 krb5_creds */*cred*/, 412 krb5_flags /*ap_options*/, 413 krb5_data /*authenticator*/, 414 krb5_data */*retdata*/); 415 416 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 417 krb5_build_principal ( 418 krb5_context /*context*/, 419 krb5_principal */*principal*/, 420 int /*rlen*/, 421 krb5_const_realm /*realm*/, 422 ...); 423 424 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 425 krb5_build_principal_ext ( 426 krb5_context /*context*/, 427 krb5_principal */*principal*/, 428 int /*rlen*/, 429 krb5_const_realm /*realm*/, 430 ...); 431 432 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 433 krb5_build_principal_va ( 434 krb5_context /*context*/, 435 krb5_principal */*principal*/, 436 int /*rlen*/, 437 krb5_const_realm /*realm*/, 438 va_list /*ap*/); 439 440 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 441 krb5_build_principal_va_ext ( 442 krb5_context /*context*/, 443 krb5_principal */*principal*/, 444 int /*rlen*/, 445 krb5_const_realm /*realm*/, 446 va_list /*ap*/); 447 448 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 449 krb5_c_block_size ( 450 krb5_context /*context*/, 451 krb5_enctype /*enctype*/, 452 size_t */*blocksize*/); 453 454 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 455 krb5_c_checksum_length ( 456 krb5_context /*context*/, 457 krb5_cksumtype /*cksumtype*/, 458 size_t */*length*/); 459 460 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 461 krb5_c_decrypt ( 462 krb5_context /*context*/, 463 const krb5_keyblock /*key*/, 464 krb5_keyusage /*usage*/, 465 const krb5_data */*ivec*/, 466 krb5_enc_data */*input*/, 467 krb5_data */*output*/); 468 469 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 470 krb5_c_encrypt ( 471 krb5_context /*context*/, 472 const krb5_keyblock */*key*/, 473 krb5_keyusage /*usage*/, 474 const krb5_data */*ivec*/, 475 const krb5_data */*input*/, 476 krb5_enc_data */*output*/); 477 478 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 479 krb5_c_encrypt_length ( 480 krb5_context /*context*/, 481 krb5_enctype /*enctype*/, 482 size_t /*inputlen*/, 483 size_t */*length*/); 484 485 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 486 krb5_c_enctype_compare ( 487 krb5_context /*context*/, 488 krb5_enctype /*e1*/, 489 krb5_enctype /*e2*/, 490 krb5_boolean */*similar*/) 491 KRB5_DEPRECATED_FUNCTION("Use X instead"); 492 493 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 494 krb5_c_get_checksum ( 495 krb5_context /*context*/, 496 const krb5_checksum */*cksum*/, 497 krb5_cksumtype */*type*/, 498 krb5_data **/*data*/); 499 500 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 501 krb5_c_is_coll_proof_cksum (krb5_cksumtype /*ctype*/); 502 503 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 504 krb5_c_is_keyed_cksum (krb5_cksumtype /*ctype*/); 505 506 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 507 krb5_c_keylengths ( 508 krb5_context /*context*/, 509 krb5_enctype /*enctype*/, 510 size_t */*ilen*/, 511 size_t */*keylen*/); 512 513 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 514 krb5_c_make_checksum ( 515 krb5_context /*context*/, 516 krb5_cksumtype /*cksumtype*/, 517 const krb5_keyblock */*key*/, 518 krb5_keyusage /*usage*/, 519 const krb5_data */*input*/, 520 krb5_checksum */*cksum*/); 521 522 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 523 krb5_c_make_random_key ( 524 krb5_context /*context*/, 525 krb5_enctype /*enctype*/, 526 krb5_keyblock */*random_key*/); 527 528 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 529 krb5_c_prf ( 530 krb5_context /*context*/, 531 const krb5_keyblock */*key*/, 532 const krb5_data */*input*/, 533 krb5_data */*output*/); 534 535 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 536 krb5_c_prf_length ( 537 krb5_context /*context*/, 538 krb5_enctype /*type*/, 539 size_t */*length*/); 540 541 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 542 krb5_c_random_make_octets ( 543 krb5_context /*context*/, 544 krb5_data * /*data*/); 545 546 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 547 krb5_c_set_checksum ( 548 krb5_context /*context*/, 549 krb5_checksum */*cksum*/, 550 krb5_cksumtype /*type*/, 551 const krb5_data */*data*/); 552 553 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 554 krb5_c_valid_cksumtype (krb5_cksumtype /*ctype*/); 555 556 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 557 krb5_c_valid_enctype (krb5_enctype /*etype*/); 558 559 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 560 krb5_c_verify_checksum ( 561 krb5_context /*context*/, 562 const krb5_keyblock */*key*/, 563 krb5_keyusage /*usage*/, 564 const krb5_data */*data*/, 565 const krb5_checksum */*cksum*/, 566 krb5_boolean */*valid*/); 567 568 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 569 krb5_cc_cache_end_seq_get ( 570 krb5_context /*context*/, 571 krb5_cc_cache_cursor /*cursor*/); 572 573 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 574 krb5_cc_cache_get_first ( 575 krb5_context /*context*/, 576 const char */*type*/, 577 krb5_cc_cache_cursor */*cursor*/); 578 579 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 580 krb5_cc_cache_match ( 581 krb5_context /*context*/, 582 krb5_principal /*client*/, 583 krb5_ccache */*id*/); 584 585 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 586 krb5_cc_cache_next ( 587 krb5_context /*context*/, 588 krb5_cc_cache_cursor /*cursor*/, 589 krb5_ccache */*id*/); 590 591 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 592 krb5_cc_clear_mcred (krb5_creds */*mcred*/); 593 594 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 595 krb5_cc_close ( 596 krb5_context /*context*/, 597 krb5_ccache /*id*/); 598 599 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 600 krb5_cc_copy_cache ( 601 krb5_context /*context*/, 602 const krb5_ccache /*from*/, 603 krb5_ccache /*to*/); 604 605 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 606 krb5_cc_copy_creds ( 607 krb5_context /*context*/, 608 const krb5_ccache /*from*/, 609 krb5_ccache /*to*/); 610 611 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 612 krb5_cc_copy_match_f ( 613 krb5_context /*context*/, 614 const krb5_ccache /*from*/, 615 krb5_ccache /*to*/, 616 krb5_boolean (*/*match*/)(krb5_context, void *, const krb5_creds *), 617 void */*matchctx*/, 618 unsigned int */*matched*/); 619 620 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 621 krb5_cc_default ( 622 krb5_context /*context*/, 623 krb5_ccache */*id*/); 624 625 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 626 krb5_cc_default_name (krb5_context /*context*/); 627 628 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 629 krb5_cc_destroy ( 630 krb5_context /*context*/, 631 krb5_ccache /*id*/); 632 633 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 634 krb5_cc_end_seq_get ( 635 krb5_context /*context*/, 636 const krb5_ccache /*id*/, 637 krb5_cc_cursor */*cursor*/); 638 639 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 640 krb5_cc_gen_new ( 641 krb5_context /*context*/, 642 const krb5_cc_ops */*ops*/, 643 krb5_ccache */*id*/) 644 KRB5_DEPRECATED_FUNCTION("Use X instead"); 645 646 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 647 krb5_cc_get_config ( 648 krb5_context /*context*/, 649 krb5_ccache /*id*/, 650 krb5_const_principal /*principal*/, 651 const char */*name*/, 652 krb5_data */*data*/); 653 654 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 655 krb5_cc_get_flags ( 656 krb5_context /*context*/, 657 krb5_ccache /*id*/, 658 krb5_flags */*flags*/); 659 660 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 661 krb5_cc_get_friendly_name ( 662 krb5_context /*context*/, 663 krb5_ccache /*id*/, 664 char **/*name*/); 665 666 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 667 krb5_cc_get_full_name ( 668 krb5_context /*context*/, 669 krb5_ccache /*id*/, 670 char **/*str*/); 671 672 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 673 krb5_cc_get_kdc_offset ( 674 krb5_context /*context*/, 675 krb5_ccache /*id*/, 676 krb5_deltat */*offset*/); 677 678 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 679 krb5_cc_get_lifetime ( 680 krb5_context /*context*/, 681 krb5_ccache /*id*/, 682 time_t */*t*/); 683 684 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 685 krb5_cc_get_name ( 686 krb5_context /*context*/, 687 krb5_ccache /*id*/); 688 689 KRB5_LIB_FUNCTION const krb5_cc_ops * KRB5_LIB_CALL 690 krb5_cc_get_ops ( 691 krb5_context /*context*/, 692 krb5_ccache /*id*/); 693 694 KRB5_LIB_FUNCTION const krb5_cc_ops * KRB5_LIB_CALL 695 krb5_cc_get_prefix_ops ( 696 krb5_context /*context*/, 697 const char */*prefix*/); 698 699 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 700 krb5_cc_get_principal ( 701 krb5_context /*context*/, 702 krb5_ccache /*id*/, 703 krb5_principal */*principal*/); 704 705 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 706 krb5_cc_get_type ( 707 krb5_context /*context*/, 708 krb5_ccache /*id*/); 709 710 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 711 krb5_cc_get_version ( 712 krb5_context /*context*/, 713 const krb5_ccache /*id*/); 714 715 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 716 krb5_cc_initialize ( 717 krb5_context /*context*/, 718 krb5_ccache /*id*/, 719 krb5_principal /*primary_principal*/); 720 721 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 722 krb5_cc_last_change_time ( 723 krb5_context /*context*/, 724 krb5_ccache /*id*/, 725 krb5_timestamp */*mtime*/); 726 727 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 728 krb5_cc_move ( 729 krb5_context /*context*/, 730 krb5_ccache /*from*/, 731 krb5_ccache /*to*/); 732 733 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 734 krb5_cc_new_unique ( 735 krb5_context /*context*/, 736 const char */*type*/, 737 const char */*hint*/, 738 krb5_ccache */*id*/); 739 740 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 741 krb5_cc_next_cred ( 742 krb5_context /*context*/, 743 const krb5_ccache /*id*/, 744 krb5_cc_cursor */*cursor*/, 745 krb5_creds */*creds*/); 746 747 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 748 krb5_cc_register ( 749 krb5_context /*context*/, 750 const krb5_cc_ops */*ops*/, 751 krb5_boolean /*override*/); 752 753 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 754 krb5_cc_remove_cred ( 755 krb5_context /*context*/, 756 krb5_ccache /*id*/, 757 krb5_flags /*which*/, 758 krb5_creds */*cred*/); 759 760 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 761 krb5_cc_resolve ( 762 krb5_context /*context*/, 763 const char */*name*/, 764 krb5_ccache */*id*/); 765 766 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 767 krb5_cc_retrieve_cred ( 768 krb5_context /*context*/, 769 krb5_ccache /*id*/, 770 krb5_flags /*whichfields*/, 771 const krb5_creds */*mcreds*/, 772 krb5_creds */*creds*/); 773 774 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 775 krb5_cc_set_config ( 776 krb5_context /*context*/, 777 krb5_ccache /*id*/, 778 krb5_const_principal /*principal*/, 779 const char */*name*/, 780 krb5_data */*data*/); 781 782 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 783 krb5_cc_set_default_name ( 784 krb5_context /*context*/, 785 const char */*name*/); 786 787 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 788 krb5_cc_set_flags ( 789 krb5_context /*context*/, 790 krb5_ccache /*id*/, 791 krb5_flags /*flags*/); 792 793 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 794 krb5_cc_set_friendly_name ( 795 krb5_context /*context*/, 796 krb5_ccache /*id*/, 797 const char */*name*/); 798 799 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 800 krb5_cc_set_kdc_offset ( 801 krb5_context /*context*/, 802 krb5_ccache /*id*/, 803 krb5_deltat /*offset*/); 804 805 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 806 krb5_cc_start_seq_get ( 807 krb5_context /*context*/, 808 const krb5_ccache /*id*/, 809 krb5_cc_cursor */*cursor*/); 810 811 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 812 krb5_cc_store_cred ( 813 krb5_context /*context*/, 814 krb5_ccache /*id*/, 815 krb5_creds */*creds*/); 816 817 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 818 krb5_cc_support_switch ( 819 krb5_context /*context*/, 820 const char */*type*/); 821 822 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 823 krb5_cc_switch ( 824 krb5_context /*context*/, 825 krb5_ccache /*id*/); 826 827 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 828 krb5_cccol_cursor_free ( 829 krb5_context /*context*/, 830 krb5_cccol_cursor */*cursor*/); 831 832 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 833 krb5_cccol_cursor_new ( 834 krb5_context /*context*/, 835 krb5_cccol_cursor */*cursor*/); 836 837 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 838 krb5_cccol_cursor_next ( 839 krb5_context /*context*/, 840 krb5_cccol_cursor /*cursor*/, 841 krb5_ccache */*cache*/); 842 843 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 844 krb5_cccol_last_change_time ( 845 krb5_context /*context*/, 846 const char */*type*/, 847 krb5_timestamp */*mtime*/); 848 849 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 850 krb5_change_password ( 851 krb5_context /*context*/, 852 krb5_creds */*creds*/, 853 const char */*newpw*/, 854 int */*result_code*/, 855 krb5_data */*result_code_string*/, 856 krb5_data */*result_string*/) 857 KRB5_DEPRECATED_FUNCTION("Use X instead"); 858 859 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 860 krb5_check_transited ( 861 krb5_context /*context*/, 862 krb5_const_realm /*client_realm*/, 863 krb5_const_realm /*server_realm*/, 864 krb5_realm */*realms*/, 865 unsigned int /*num_realms*/, 866 int */*bad_realm*/); 867 868 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 869 krb5_check_transited_realms ( 870 krb5_context /*context*/, 871 const char *const */*realms*/, 872 unsigned int /*num_realms*/, 873 int */*bad_realm*/); 874 875 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 876 krb5_checksum_disable ( 877 krb5_context /*context*/, 878 krb5_cksumtype /*type*/); 879 880 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 881 krb5_checksum_free ( 882 krb5_context /*context*/, 883 krb5_checksum */*cksum*/); 884 885 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 886 krb5_checksum_is_collision_proof ( 887 krb5_context /*context*/, 888 krb5_cksumtype /*type*/); 889 890 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 891 krb5_checksum_is_keyed ( 892 krb5_context /*context*/, 893 krb5_cksumtype /*type*/); 894 895 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 896 krb5_checksumsize ( 897 krb5_context /*context*/, 898 krb5_cksumtype /*type*/, 899 size_t */*size*/); 900 901 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 902 krb5_cksumtype_to_enctype ( 903 krb5_context /*context*/, 904 krb5_cksumtype /*ctype*/, 905 krb5_enctype */*etype*/); 906 907 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 908 krb5_cksumtype_valid ( 909 krb5_context /*context*/, 910 krb5_cksumtype /*ctype*/); 911 912 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 913 krb5_clear_error_message (krb5_context /*context*/); 914 915 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 916 krb5_clear_error_string (krb5_context /*context*/) 917 KRB5_DEPRECATED_FUNCTION("Use X instead"); 918 919 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 920 krb5_closelog ( 921 krb5_context /*context*/, 922 krb5_log_facility */*fac*/); 923 924 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 925 krb5_compare_creds ( 926 krb5_context /*context*/, 927 krb5_flags /*whichfields*/, 928 const krb5_creds * /*mcreds*/, 929 const krb5_creds * /*creds*/); 930 931 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 932 krb5_config_file_free ( 933 krb5_context /*context*/, 934 krb5_config_section */*s*/); 935 936 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 937 krb5_config_free_strings (char **/*strings*/); 938 939 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 940 krb5_config_get_bool ( 941 krb5_context /*context*/, 942 const krb5_config_section */*c*/, 943 ...); 944 945 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 946 krb5_config_get_bool_default ( 947 krb5_context /*context*/, 948 const krb5_config_section */*c*/, 949 krb5_boolean /*def_value*/, 950 ...); 951 952 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 953 krb5_config_get_int ( 954 krb5_context /*context*/, 955 const krb5_config_section */*c*/, 956 ...); 957 958 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 959 krb5_config_get_int_default ( 960 krb5_context /*context*/, 961 const krb5_config_section */*c*/, 962 int /*def_value*/, 963 ...); 964 965 KRB5_LIB_FUNCTION const krb5_config_binding * KRB5_LIB_CALL 966 krb5_config_get_list ( 967 krb5_context /*context*/, 968 const krb5_config_section */*c*/, 969 ...); 970 971 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 972 krb5_config_get_string ( 973 krb5_context /*context*/, 974 const krb5_config_section */*c*/, 975 ...); 976 977 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 978 krb5_config_get_string_default ( 979 krb5_context /*context*/, 980 const krb5_config_section */*c*/, 981 const char */*def_value*/, 982 ...); 983 984 KRB5_LIB_FUNCTION char** KRB5_LIB_CALL 985 krb5_config_get_strings ( 986 krb5_context /*context*/, 987 const krb5_config_section */*c*/, 988 ...); 989 990 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 991 krb5_config_get_time ( 992 krb5_context /*context*/, 993 const krb5_config_section */*c*/, 994 ...); 995 996 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 997 krb5_config_get_time_default ( 998 krb5_context /*context*/, 999 const krb5_config_section */*c*/, 1000 int /*def_value*/, 1001 ...); 1002 1003 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1004 krb5_config_parse_file ( 1005 krb5_context /*context*/, 1006 const char */*fname*/, 1007 krb5_config_section **/*res*/); 1008 1009 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1010 krb5_config_parse_file_multi ( 1011 krb5_context /*context*/, 1012 const char */*fname*/, 1013 krb5_config_section **/*res*/); 1014 1015 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1016 krb5_config_parse_string_multi ( 1017 krb5_context /*context*/, 1018 const char */*string*/, 1019 krb5_config_section **/*res*/) 1020 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1021 1022 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 1023 krb5_config_vget_bool ( 1024 krb5_context /*context*/, 1025 const krb5_config_section */*c*/, 1026 va_list /*args*/); 1027 1028 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 1029 krb5_config_vget_bool_default ( 1030 krb5_context /*context*/, 1031 const krb5_config_section */*c*/, 1032 krb5_boolean /*def_value*/, 1033 va_list /*args*/); 1034 1035 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1036 krb5_config_vget_int ( 1037 krb5_context /*context*/, 1038 const krb5_config_section */*c*/, 1039 va_list /*args*/); 1040 1041 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1042 krb5_config_vget_int_default ( 1043 krb5_context /*context*/, 1044 const krb5_config_section */*c*/, 1045 int /*def_value*/, 1046 va_list /*args*/); 1047 1048 KRB5_LIB_FUNCTION const krb5_config_binding * KRB5_LIB_CALL 1049 krb5_config_vget_list ( 1050 krb5_context /*context*/, 1051 const krb5_config_section */*c*/, 1052 va_list /*args*/); 1053 1054 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 1055 krb5_config_vget_string ( 1056 krb5_context /*context*/, 1057 const krb5_config_section */*c*/, 1058 va_list /*args*/); 1059 1060 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 1061 krb5_config_vget_string_default ( 1062 krb5_context /*context*/, 1063 const krb5_config_section */*c*/, 1064 const char */*def_value*/, 1065 va_list /*args*/); 1066 1067 KRB5_LIB_FUNCTION char ** KRB5_LIB_CALL 1068 krb5_config_vget_strings ( 1069 krb5_context /*context*/, 1070 const krb5_config_section */*c*/, 1071 va_list /*args*/); 1072 1073 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1074 krb5_config_vget_time ( 1075 krb5_context /*context*/, 1076 const krb5_config_section */*c*/, 1077 va_list /*args*/); 1078 1079 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1080 krb5_config_vget_time_default ( 1081 krb5_context /*context*/, 1082 const krb5_config_section */*c*/, 1083 int /*def_value*/, 1084 va_list /*args*/); 1085 1086 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1087 krb5_copy_address ( 1088 krb5_context /*context*/, 1089 const krb5_address */*inaddr*/, 1090 krb5_address */*outaddr*/); 1091 1092 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1093 krb5_copy_addresses ( 1094 krb5_context /*context*/, 1095 const krb5_addresses */*inaddr*/, 1096 krb5_addresses */*outaddr*/); 1097 1098 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1099 krb5_copy_checksum ( 1100 krb5_context /*context*/, 1101 const krb5_checksum */*old*/, 1102 krb5_checksum **/*new*/); 1103 1104 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1105 krb5_copy_context ( 1106 krb5_context /*context*/, 1107 krb5_context */*out*/); 1108 1109 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1110 krb5_copy_creds ( 1111 krb5_context /*context*/, 1112 const krb5_creds */*incred*/, 1113 krb5_creds **/*outcred*/); 1114 1115 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1116 krb5_copy_creds_contents ( 1117 krb5_context /*context*/, 1118 const krb5_creds */*incred*/, 1119 krb5_creds */*c*/); 1120 1121 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1122 krb5_copy_data ( 1123 krb5_context /*context*/, 1124 const krb5_data */*indata*/, 1125 krb5_data **/*outdata*/); 1126 1127 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1128 krb5_copy_host_realm ( 1129 krb5_context /*context*/, 1130 const krb5_realm */*from*/, 1131 krb5_realm **/*to*/); 1132 1133 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1134 krb5_copy_keyblock ( 1135 krb5_context /*context*/, 1136 const krb5_keyblock */*inblock*/, 1137 krb5_keyblock **/*to*/); 1138 1139 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1140 krb5_copy_keyblock_contents ( 1141 krb5_context /*context*/, 1142 const krb5_keyblock */*inblock*/, 1143 krb5_keyblock */*to*/); 1144 1145 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1146 krb5_copy_principal ( 1147 krb5_context /*context*/, 1148 krb5_const_principal /*inprinc*/, 1149 krb5_principal */*outprinc*/); 1150 1151 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1152 krb5_copy_ticket ( 1153 krb5_context /*context*/, 1154 const krb5_ticket */*from*/, 1155 krb5_ticket **/*to*/); 1156 1157 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1158 krb5_create_checksum ( 1159 krb5_context /*context*/, 1160 krb5_crypto /*crypto*/, 1161 krb5_key_usage /*usage*/, 1162 int /*type*/, 1163 void */*data*/, 1164 size_t /*len*/, 1165 Checksum */*result*/); 1166 1167 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1168 krb5_create_checksum_iov ( 1169 krb5_context /*context*/, 1170 krb5_crypto /*crypto*/, 1171 unsigned /*usage*/, 1172 krb5_crypto_iov */*data*/, 1173 unsigned int /*num_data*/, 1174 krb5_cksumtype */*type*/); 1175 1176 KRB5_LIB_FUNCTION unsigned long KRB5_LIB_CALL 1177 krb5_creds_get_ticket_flags (krb5_creds */*creds*/); 1178 1179 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1180 krb5_crypto_destroy ( 1181 krb5_context /*context*/, 1182 krb5_crypto /*crypto*/); 1183 1184 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1185 krb5_crypto_fx_cf2 ( 1186 krb5_context /*context*/, 1187 const krb5_crypto /*crypto1*/, 1188 const krb5_crypto /*crypto2*/, 1189 krb5_data */*pepper1*/, 1190 krb5_data */*pepper2*/, 1191 krb5_enctype /*enctype*/, 1192 krb5_keyblock */*res*/); 1193 1194 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1195 krb5_crypto_get_checksum_type ( 1196 krb5_context /*context*/, 1197 krb5_crypto /*crypto*/, 1198 krb5_cksumtype */*type*/); 1199 1200 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1201 krb5_crypto_getblocksize ( 1202 krb5_context /*context*/, 1203 krb5_crypto /*crypto*/, 1204 size_t */*blocksize*/); 1205 1206 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1207 krb5_crypto_getconfoundersize ( 1208 krb5_context /*context*/, 1209 krb5_crypto /*crypto*/, 1210 size_t */*confoundersize*/); 1211 1212 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1213 krb5_crypto_getenctype ( 1214 krb5_context /*context*/, 1215 krb5_crypto /*crypto*/, 1216 krb5_enctype */*enctype*/); 1217 1218 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1219 krb5_crypto_getpadsize ( 1220 krb5_context /*context*/, 1221 krb5_crypto /*crypto*/, 1222 size_t */*padsize*/); 1223 1224 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1225 krb5_crypto_init ( 1226 krb5_context /*context*/, 1227 const krb5_keyblock */*key*/, 1228 krb5_enctype /*etype*/, 1229 krb5_crypto */*crypto*/); 1230 1231 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1232 krb5_crypto_length ( 1233 krb5_context /*context*/, 1234 krb5_crypto /*crypto*/, 1235 int /*type*/, 1236 size_t */*len*/); 1237 1238 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1239 krb5_crypto_length_iov ( 1240 krb5_context /*context*/, 1241 krb5_crypto /*crypto*/, 1242 krb5_crypto_iov */*data*/, 1243 unsigned int /*num_data*/); 1244 1245 KRB5_LIB_FUNCTION size_t KRB5_LIB_CALL 1246 krb5_crypto_overhead ( 1247 krb5_context /*context*/, 1248 krb5_crypto /*crypto*/); 1249 1250 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1251 krb5_crypto_prf ( 1252 krb5_context /*context*/, 1253 const krb5_crypto /*crypto*/, 1254 const krb5_data */*input*/, 1255 krb5_data */*output*/); 1256 1257 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1258 krb5_crypto_prf_length ( 1259 krb5_context /*context*/, 1260 krb5_enctype /*type*/, 1261 size_t */*length*/); 1262 1263 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1264 krb5_data_alloc ( 1265 krb5_data */*p*/, 1266 int /*len*/); 1267 1268 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1269 krb5_data_cmp ( 1270 const krb5_data */*data1*/, 1271 const krb5_data */*data2*/); 1272 1273 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1274 krb5_data_copy ( 1275 krb5_data */*p*/, 1276 const void */*data*/, 1277 size_t /*len*/); 1278 1279 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1280 krb5_data_ct_cmp ( 1281 const krb5_data */*data1*/, 1282 const krb5_data */*data2*/); 1283 1284 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1285 krb5_data_free (krb5_data */*p*/); 1286 1287 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1288 krb5_data_realloc ( 1289 krb5_data */*p*/, 1290 int /*len*/); 1291 1292 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1293 krb5_data_zero (krb5_data */*p*/); 1294 1295 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1296 krb5_decode_Authenticator ( 1297 krb5_context /*context*/, 1298 const void */*data*/, 1299 size_t /*length*/, 1300 Authenticator */*t*/, 1301 size_t */*len*/) 1302 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1303 1304 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1305 krb5_decode_ETYPE_INFO ( 1306 krb5_context /*context*/, 1307 const void */*data*/, 1308 size_t /*length*/, 1309 ETYPE_INFO */*t*/, 1310 size_t */*len*/) 1311 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1312 1313 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1314 krb5_decode_ETYPE_INFO2 ( 1315 krb5_context /*context*/, 1316 const void */*data*/, 1317 size_t /*length*/, 1318 ETYPE_INFO2 */*t*/, 1319 size_t */*len*/) 1320 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1321 1322 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1323 krb5_decode_EncAPRepPart ( 1324 krb5_context /*context*/, 1325 const void */*data*/, 1326 size_t /*length*/, 1327 EncAPRepPart */*t*/, 1328 size_t */*len*/) 1329 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1330 1331 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1332 krb5_decode_EncASRepPart ( 1333 krb5_context /*context*/, 1334 const void */*data*/, 1335 size_t /*length*/, 1336 EncASRepPart */*t*/, 1337 size_t */*len*/) 1338 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1339 1340 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1341 krb5_decode_EncKrbCredPart ( 1342 krb5_context /*context*/, 1343 const void */*data*/, 1344 size_t /*length*/, 1345 EncKrbCredPart */*t*/, 1346 size_t */*len*/) 1347 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1348 1349 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1350 krb5_decode_EncTGSRepPart ( 1351 krb5_context /*context*/, 1352 const void */*data*/, 1353 size_t /*length*/, 1354 EncTGSRepPart */*t*/, 1355 size_t */*len*/) 1356 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1357 1358 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1359 krb5_decode_EncTicketPart ( 1360 krb5_context /*context*/, 1361 const void */*data*/, 1362 size_t /*length*/, 1363 EncTicketPart */*t*/, 1364 size_t */*len*/) 1365 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1366 1367 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1368 krb5_decode_ap_req ( 1369 krb5_context /*context*/, 1370 const krb5_data */*inbuf*/, 1371 krb5_ap_req */*ap_req*/); 1372 1373 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1374 krb5_decrypt ( 1375 krb5_context /*context*/, 1376 krb5_crypto /*crypto*/, 1377 unsigned /*usage*/, 1378 void */*data*/, 1379 size_t /*len*/, 1380 krb5_data */*result*/); 1381 1382 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1383 krb5_decrypt_EncryptedData ( 1384 krb5_context /*context*/, 1385 krb5_crypto /*crypto*/, 1386 unsigned /*usage*/, 1387 const EncryptedData */*e*/, 1388 krb5_data */*result*/); 1389 1390 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1391 krb5_decrypt_iov_ivec ( 1392 krb5_context /*context*/, 1393 krb5_crypto /*crypto*/, 1394 unsigned /*usage*/, 1395 krb5_crypto_iov */*data*/, 1396 unsigned int /*num_data*/, 1397 void */*ivec*/); 1398 1399 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1400 krb5_decrypt_ivec ( 1401 krb5_context /*context*/, 1402 krb5_crypto /*crypto*/, 1403 unsigned /*usage*/, 1404 void */*data*/, 1405 size_t /*len*/, 1406 krb5_data */*result*/, 1407 void */*ivec*/); 1408 1409 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1410 krb5_decrypt_ticket ( 1411 krb5_context /*context*/, 1412 Ticket */*ticket*/, 1413 krb5_keyblock */*key*/, 1414 EncTicketPart */*out*/, 1415 krb5_flags /*flags*/); 1416 1417 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1418 krb5_derive_key ( 1419 krb5_context /*context*/, 1420 const krb5_keyblock */*key*/, 1421 krb5_enctype /*etype*/, 1422 const void */*constant*/, 1423 size_t /*constant_len*/, 1424 krb5_keyblock **/*derived_key*/); 1425 1426 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1427 krb5_digest_alloc ( 1428 krb5_context /*context*/, 1429 krb5_digest */*digest*/); 1430 1431 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1432 krb5_digest_free (krb5_digest /*digest*/); 1433 1434 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1435 krb5_digest_get_client_binding ( 1436 krb5_context /*context*/, 1437 krb5_digest /*digest*/, 1438 char **/*type*/, 1439 char **/*binding*/); 1440 1441 KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL 1442 krb5_digest_get_identifier ( 1443 krb5_context /*context*/, 1444 krb5_digest /*digest*/); 1445 1446 KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL 1447 krb5_digest_get_opaque ( 1448 krb5_context /*context*/, 1449 krb5_digest /*digest*/); 1450 1451 KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL 1452 krb5_digest_get_rsp ( 1453 krb5_context /*context*/, 1454 krb5_digest /*digest*/); 1455 1456 KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL 1457 krb5_digest_get_server_nonce ( 1458 krb5_context /*context*/, 1459 krb5_digest /*digest*/); 1460 1461 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1462 krb5_digest_get_session_key ( 1463 krb5_context /*context*/, 1464 krb5_digest /*digest*/, 1465 krb5_data */*data*/); 1466 1467 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1468 krb5_digest_get_tickets ( 1469 krb5_context /*context*/, 1470 krb5_digest /*digest*/, 1471 Ticket **/*tickets*/); 1472 1473 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1474 krb5_digest_init_request ( 1475 krb5_context /*context*/, 1476 krb5_digest /*digest*/, 1477 krb5_realm /*realm*/, 1478 krb5_ccache /*ccache*/); 1479 1480 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1481 krb5_digest_probe ( 1482 krb5_context /*context*/, 1483 krb5_realm /*realm*/, 1484 krb5_ccache /*ccache*/, 1485 unsigned */*flags*/); 1486 1487 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 1488 krb5_digest_rep_get_status ( 1489 krb5_context /*context*/, 1490 krb5_digest /*digest*/); 1491 1492 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1493 krb5_digest_request ( 1494 krb5_context /*context*/, 1495 krb5_digest /*digest*/, 1496 krb5_realm /*realm*/, 1497 krb5_ccache /*ccache*/); 1498 1499 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1500 krb5_digest_set_authentication_user ( 1501 krb5_context /*context*/, 1502 krb5_digest /*digest*/, 1503 krb5_principal /*authentication_user*/); 1504 1505 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1506 krb5_digest_set_authid ( 1507 krb5_context /*context*/, 1508 krb5_digest /*digest*/, 1509 const char */*authid*/); 1510 1511 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1512 krb5_digest_set_client_nonce ( 1513 krb5_context /*context*/, 1514 krb5_digest /*digest*/, 1515 const char */*nonce*/); 1516 1517 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1518 krb5_digest_set_digest ( 1519 krb5_context /*context*/, 1520 krb5_digest /*digest*/, 1521 const char */*dgst*/); 1522 1523 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1524 krb5_digest_set_hostname ( 1525 krb5_context /*context*/, 1526 krb5_digest /*digest*/, 1527 const char */*hostname*/); 1528 1529 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1530 krb5_digest_set_identifier ( 1531 krb5_context /*context*/, 1532 krb5_digest /*digest*/, 1533 const char */*id*/); 1534 1535 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1536 krb5_digest_set_method ( 1537 krb5_context /*context*/, 1538 krb5_digest /*digest*/, 1539 const char */*method*/); 1540 1541 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1542 krb5_digest_set_nonceCount ( 1543 krb5_context /*context*/, 1544 krb5_digest /*digest*/, 1545 const char */*nonce_count*/); 1546 1547 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1548 krb5_digest_set_opaque ( 1549 krb5_context /*context*/, 1550 krb5_digest /*digest*/, 1551 const char */*opaque*/); 1552 1553 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1554 krb5_digest_set_qop ( 1555 krb5_context /*context*/, 1556 krb5_digest /*digest*/, 1557 const char */*qop*/); 1558 1559 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1560 krb5_digest_set_realm ( 1561 krb5_context /*context*/, 1562 krb5_digest /*digest*/, 1563 const char */*realm*/); 1564 1565 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 1566 krb5_digest_set_responseData ( 1567 krb5_context /*context*/, 1568 krb5_digest /*digest*/, 1569 const char */*response*/); 1570 1571 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1572 krb5_digest_set_server_cb ( 1573 krb5_context /*context*/, 1574 krb5_digest /*digest*/, 1575 const char */*type*/, 1576 const char */*binding*/); 1577 1578 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1579 krb5_digest_set_server_nonce ( 1580 krb5_context /*context*/, 1581 krb5_digest /*digest*/, 1582 const char */*nonce*/); 1583 1584 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1585 krb5_digest_set_type ( 1586 krb5_context /*context*/, 1587 krb5_digest /*digest*/, 1588 const char */*type*/); 1589 1590 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1591 krb5_digest_set_uri ( 1592 krb5_context /*context*/, 1593 krb5_digest /*digest*/, 1594 const char */*uri*/); 1595 1596 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1597 krb5_digest_set_username ( 1598 krb5_context /*context*/, 1599 krb5_digest /*digest*/, 1600 const char */*username*/); 1601 1602 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1603 krb5_domain_x500_decode ( 1604 krb5_context /*context*/, 1605 krb5_data /*tr*/, 1606 char ***/*realms*/, 1607 unsigned int */*num_realms*/, 1608 const char */*client_realm*/, 1609 const char */*server_realm*/); 1610 1611 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1612 krb5_domain_x500_encode ( 1613 char **/*realms*/, 1614 unsigned int /*num_realms*/, 1615 krb5_data */*encoding*/); 1616 1617 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1618 krb5_eai_to_heim_errno ( 1619 int /*eai_errno*/, 1620 int /*system_error*/); 1621 1622 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1623 krb5_encode_Authenticator ( 1624 krb5_context /*context*/, 1625 void */*data*/, 1626 size_t /*length*/, 1627 Authenticator */*t*/, 1628 size_t */*len*/) 1629 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1630 1631 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1632 krb5_encode_ETYPE_INFO ( 1633 krb5_context /*context*/, 1634 void */*data*/, 1635 size_t /*length*/, 1636 ETYPE_INFO */*t*/, 1637 size_t */*len*/) 1638 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1639 1640 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1641 krb5_encode_ETYPE_INFO2 ( 1642 krb5_context /*context*/, 1643 void */*data*/, 1644 size_t /*length*/, 1645 ETYPE_INFO2 */*t*/, 1646 size_t */*len*/) 1647 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1648 1649 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1650 krb5_encode_EncAPRepPart ( 1651 krb5_context /*context*/, 1652 void */*data*/, 1653 size_t /*length*/, 1654 EncAPRepPart */*t*/, 1655 size_t */*len*/) 1656 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1657 1658 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1659 krb5_encode_EncASRepPart ( 1660 krb5_context /*context*/, 1661 void */*data*/, 1662 size_t /*length*/, 1663 EncASRepPart */*t*/, 1664 size_t */*len*/) 1665 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1666 1667 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1668 krb5_encode_EncKrbCredPart ( 1669 krb5_context /*context*/, 1670 void */*data*/, 1671 size_t /*length*/, 1672 EncKrbCredPart */*t*/, 1673 size_t */*len*/) 1674 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1675 1676 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1677 krb5_encode_EncTGSRepPart ( 1678 krb5_context /*context*/, 1679 void */*data*/, 1680 size_t /*length*/, 1681 EncTGSRepPart */*t*/, 1682 size_t */*len*/) 1683 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1684 1685 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1686 krb5_encode_EncTicketPart ( 1687 krb5_context /*context*/, 1688 void */*data*/, 1689 size_t /*length*/, 1690 EncTicketPart */*t*/, 1691 size_t */*len*/) 1692 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1693 1694 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1695 krb5_encrypt ( 1696 krb5_context /*context*/, 1697 krb5_crypto /*crypto*/, 1698 unsigned /*usage*/, 1699 const void */*data*/, 1700 size_t /*len*/, 1701 krb5_data */*result*/); 1702 1703 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1704 krb5_encrypt_EncryptedData ( 1705 krb5_context /*context*/, 1706 krb5_crypto /*crypto*/, 1707 unsigned /*usage*/, 1708 void */*data*/, 1709 size_t /*len*/, 1710 int /*kvno*/, 1711 EncryptedData */*result*/); 1712 1713 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1714 krb5_encrypt_iov_ivec ( 1715 krb5_context /*context*/, 1716 krb5_crypto /*crypto*/, 1717 unsigned /*usage*/, 1718 krb5_crypto_iov */*data*/, 1719 int /*num_data*/, 1720 void */*ivec*/); 1721 1722 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1723 krb5_encrypt_ivec ( 1724 krb5_context /*context*/, 1725 krb5_crypto /*crypto*/, 1726 unsigned /*usage*/, 1727 const void */*data*/, 1728 size_t /*len*/, 1729 krb5_data */*result*/, 1730 void */*ivec*/); 1731 1732 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1733 krb5_enctype_disable ( 1734 krb5_context /*context*/, 1735 krb5_enctype /*enctype*/); 1736 1737 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1738 krb5_enctype_enable ( 1739 krb5_context /*context*/, 1740 krb5_enctype /*enctype*/); 1741 1742 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1743 krb5_enctype_keybits ( 1744 krb5_context /*context*/, 1745 krb5_enctype /*type*/, 1746 size_t */*keybits*/); 1747 1748 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1749 krb5_enctype_keysize ( 1750 krb5_context /*context*/, 1751 krb5_enctype /*type*/, 1752 size_t */*keysize*/); 1753 1754 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1755 krb5_enctype_to_keytype ( 1756 krb5_context /*context*/, 1757 krb5_enctype /*etype*/, 1758 krb5_keytype */*keytype*/); 1759 1760 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1761 krb5_enctype_to_string ( 1762 krb5_context /*context*/, 1763 krb5_enctype /*etype*/, 1764 char **/*string*/); 1765 1766 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1767 krb5_enctype_valid ( 1768 krb5_context /*context*/, 1769 krb5_enctype /*etype*/); 1770 1771 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 1772 krb5_enctypes_compatible_keys ( 1773 krb5_context /*context*/, 1774 krb5_enctype /*etype1*/, 1775 krb5_enctype /*etype2*/) 1776 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1777 1778 krb5_error_code 1779 krb5_enomem (krb5_context /*context*/); 1780 1781 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1782 krb5_err ( 1783 krb5_context /*context*/, 1784 int /*eval*/, 1785 krb5_error_code /*code*/, 1786 const char */*fmt*/, 1787 ...) 1788 __attribute__ ((noreturn, format (printf, 4, 5))); 1789 1790 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1791 krb5_error_from_rd_error ( 1792 krb5_context /*context*/, 1793 const krb5_error */*error*/, 1794 const krb5_creds */*creds*/); 1795 1796 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1797 krb5_errx ( 1798 krb5_context /*context*/, 1799 int /*eval*/, 1800 const char */*fmt*/, 1801 ...) 1802 __attribute__ ((noreturn, format (printf, 3, 4))); 1803 1804 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1805 krb5_expand_hostname ( 1806 krb5_context /*context*/, 1807 const char */*orig_hostname*/, 1808 char **/*new_hostname*/); 1809 1810 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1811 krb5_expand_hostname_realms ( 1812 krb5_context /*context*/, 1813 const char */*orig_hostname*/, 1814 char **/*new_hostname*/, 1815 char ***/*realms*/); 1816 1817 KRB5_LIB_FUNCTION PA_DATA * KRB5_LIB_CALL 1818 krb5_find_padata ( 1819 PA_DATA */*val*/, 1820 unsigned /*len*/, 1821 int /*type*/, 1822 int */*idx*/); 1823 1824 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1825 krb5_format_time ( 1826 krb5_context /*context*/, 1827 time_t /*t*/, 1828 char */*s*/, 1829 size_t /*len*/, 1830 krb5_boolean /*include_time*/); 1831 1832 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1833 krb5_free_address ( 1834 krb5_context /*context*/, 1835 krb5_address */*address*/); 1836 1837 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1838 krb5_free_addresses ( 1839 krb5_context /*context*/, 1840 krb5_addresses */*addresses*/); 1841 1842 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1843 krb5_free_ap_rep_enc_part ( 1844 krb5_context /*context*/, 1845 krb5_ap_rep_enc_part */*val*/); 1846 1847 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1848 krb5_free_authenticator ( 1849 krb5_context /*context*/, 1850 krb5_authenticator */*authenticator*/); 1851 1852 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1853 krb5_free_checksum ( 1854 krb5_context /*context*/, 1855 krb5_checksum */*cksum*/); 1856 1857 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1858 krb5_free_checksum_contents ( 1859 krb5_context /*context*/, 1860 krb5_checksum */*cksum*/); 1861 1862 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1863 krb5_free_config_files (char **/*filenames*/); 1864 1865 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1866 krb5_free_context (krb5_context /*context*/); 1867 1868 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1869 krb5_free_cred_contents ( 1870 krb5_context /*context*/, 1871 krb5_creds */*c*/); 1872 1873 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1874 krb5_free_creds ( 1875 krb5_context /*context*/, 1876 krb5_creds */*c*/); 1877 1878 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1879 krb5_free_creds_contents ( 1880 krb5_context /*context*/, 1881 krb5_creds */*c*/) 1882 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1883 1884 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1885 krb5_free_data ( 1886 krb5_context /*context*/, 1887 krb5_data */*p*/); 1888 1889 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1890 krb5_free_data_contents ( 1891 krb5_context /*context*/, 1892 krb5_data */*data*/) 1893 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1894 1895 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1896 krb5_free_default_realm ( 1897 krb5_context /*context*/, 1898 krb5_realm /*realm*/); 1899 1900 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1901 krb5_free_error ( 1902 krb5_context /*context*/, 1903 krb5_error */*error*/); 1904 1905 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1906 krb5_free_error_contents ( 1907 krb5_context /*context*/, 1908 krb5_error */*error*/); 1909 1910 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1911 krb5_free_error_message ( 1912 krb5_context /*context*/, 1913 const char */*msg*/); 1914 1915 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1916 krb5_free_error_string ( 1917 krb5_context /*context*/, 1918 char */*str*/) 1919 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1920 1921 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1922 krb5_free_host_realm ( 1923 krb5_context /*context*/, 1924 krb5_realm */*realmlist*/); 1925 1926 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1927 krb5_free_kdc_rep ( 1928 krb5_context /*context*/, 1929 krb5_kdc_rep */*rep*/); 1930 1931 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1932 krb5_free_keyblock ( 1933 krb5_context /*context*/, 1934 krb5_keyblock */*keyblock*/); 1935 1936 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1937 krb5_free_keyblock_contents ( 1938 krb5_context /*context*/, 1939 krb5_keyblock */*keyblock*/); 1940 1941 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1942 krb5_free_krbhst ( 1943 krb5_context /*context*/, 1944 char **/*hostlist*/); 1945 1946 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1947 krb5_free_principal ( 1948 krb5_context /*context*/, 1949 krb5_principal /*p*/); 1950 1951 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1952 krb5_free_salt ( 1953 krb5_context /*context*/, 1954 krb5_salt /*salt*/); 1955 1956 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1957 krb5_free_ticket ( 1958 krb5_context /*context*/, 1959 krb5_ticket */*ticket*/); 1960 1961 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1962 krb5_free_unparsed_name ( 1963 krb5_context /*context*/, 1964 char */*str*/) 1965 KRB5_DEPRECATED_FUNCTION("Use X instead"); 1966 1967 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1968 krb5_fwd_tgt_creds ( 1969 krb5_context /*context*/, 1970 krb5_auth_context /*auth_context*/, 1971 const char */*hostname*/, 1972 krb5_principal /*client*/, 1973 krb5_principal /*server*/, 1974 krb5_ccache /*ccache*/, 1975 int /*forwardable*/, 1976 krb5_data */*out_data*/); 1977 1978 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 1979 krb5_generate_random_block ( 1980 void */*buf*/, 1981 size_t /*len*/); 1982 1983 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1984 krb5_generate_random_keyblock ( 1985 krb5_context /*context*/, 1986 krb5_enctype /*type*/, 1987 krb5_keyblock */*key*/); 1988 1989 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1990 krb5_generate_seq_number ( 1991 krb5_context /*context*/, 1992 const krb5_keyblock */*key*/, 1993 uint32_t */*seqno*/); 1994 1995 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 1996 krb5_generate_subkey ( 1997 krb5_context /*context*/, 1998 const krb5_keyblock */*key*/, 1999 krb5_keyblock **/*subkey*/) 2000 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2001 2002 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2003 krb5_generate_subkey_extended ( 2004 krb5_context /*context*/, 2005 const krb5_keyblock */*key*/, 2006 krb5_enctype /*etype*/, 2007 krb5_keyblock **/*subkey*/); 2008 2009 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2010 krb5_get_all_client_addrs ( 2011 krb5_context /*context*/, 2012 krb5_addresses */*res*/); 2013 2014 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2015 krb5_get_all_server_addrs ( 2016 krb5_context /*context*/, 2017 krb5_addresses */*res*/); 2018 2019 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2020 krb5_get_cred_from_kdc ( 2021 krb5_context /*context*/, 2022 krb5_ccache /*ccache*/, 2023 krb5_creds */*in_creds*/, 2024 krb5_creds **/*out_creds*/, 2025 krb5_creds ***/*ret_tgts*/) 2026 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2027 2028 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2029 krb5_get_cred_from_kdc_opt ( 2030 krb5_context /*context*/, 2031 krb5_ccache /*ccache*/, 2032 krb5_creds */*in_creds*/, 2033 krb5_creds **/*out_creds*/, 2034 krb5_creds ***/*ret_tgts*/, 2035 krb5_flags /*flags*/) 2036 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2037 2038 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2039 krb5_get_credentials ( 2040 krb5_context /*context*/, 2041 krb5_flags /*options*/, 2042 krb5_ccache /*ccache*/, 2043 krb5_creds */*in_creds*/, 2044 krb5_creds **/*out_creds*/); 2045 2046 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2047 krb5_get_credentials_with_flags ( 2048 krb5_context /*context*/, 2049 krb5_flags /*options*/, 2050 krb5_kdc_flags /*flags*/, 2051 krb5_ccache /*ccache*/, 2052 krb5_creds */*in_creds*/, 2053 krb5_creds **/*out_creds*/); 2054 2055 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2056 krb5_get_creds ( 2057 krb5_context /*context*/, 2058 krb5_get_creds_opt /*opt*/, 2059 krb5_ccache /*ccache*/, 2060 krb5_const_principal /*inprinc*/, 2061 krb5_creds **/*out_creds*/); 2062 2063 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2064 krb5_get_creds_opt_add_options ( 2065 krb5_context /*context*/, 2066 krb5_get_creds_opt /*opt*/, 2067 krb5_flags /*options*/); 2068 2069 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2070 krb5_get_creds_opt_alloc ( 2071 krb5_context /*context*/, 2072 krb5_get_creds_opt */*opt*/); 2073 2074 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2075 krb5_get_creds_opt_free ( 2076 krb5_context /*context*/, 2077 krb5_get_creds_opt /*opt*/); 2078 2079 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2080 krb5_get_creds_opt_set_enctype ( 2081 krb5_context /*context*/, 2082 krb5_get_creds_opt /*opt*/, 2083 krb5_enctype /*enctype*/); 2084 2085 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2086 krb5_get_creds_opt_set_impersonate ( 2087 krb5_context /*context*/, 2088 krb5_get_creds_opt /*opt*/, 2089 krb5_const_principal /*self*/); 2090 2091 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2092 krb5_get_creds_opt_set_options ( 2093 krb5_context /*context*/, 2094 krb5_get_creds_opt /*opt*/, 2095 krb5_flags /*options*/); 2096 2097 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2098 krb5_get_creds_opt_set_ticket ( 2099 krb5_context /*context*/, 2100 krb5_get_creds_opt /*opt*/, 2101 const Ticket */*ticket*/); 2102 2103 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2104 krb5_get_default_config_files (char ***/*pfilenames*/); 2105 2106 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2107 krb5_get_default_in_tkt_etypes ( 2108 krb5_context /*context*/, 2109 krb5_pdu /*pdu_type*/, 2110 krb5_enctype **/*etypes*/); 2111 2112 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2113 krb5_get_default_principal ( 2114 krb5_context /*context*/, 2115 krb5_principal */*princ*/); 2116 2117 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2118 krb5_get_default_realm ( 2119 krb5_context /*context*/, 2120 krb5_realm */*realm*/); 2121 2122 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2123 krb5_get_default_realms ( 2124 krb5_context /*context*/, 2125 krb5_realm **/*realms*/); 2126 2127 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2128 krb5_get_dns_canonicalize_hostname (krb5_context /*context*/); 2129 2130 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 2131 krb5_get_err_text ( 2132 krb5_context /*context*/, 2133 krb5_error_code /*code*/) 2134 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2135 2136 KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL 2137 krb5_get_error_message ( 2138 krb5_context /*context*/, 2139 krb5_error_code /*code*/); 2140 2141 KRB5_LIB_FUNCTION char * KRB5_LIB_CALL 2142 krb5_get_error_string (krb5_context /*context*/); 2143 2144 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2145 krb5_get_extra_addresses ( 2146 krb5_context /*context*/, 2147 krb5_addresses */*addresses*/); 2148 2149 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2150 krb5_get_fcache_version ( 2151 krb5_context /*context*/, 2152 int */*version*/); 2153 2154 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2155 krb5_get_forwarded_creds ( 2156 krb5_context /*context*/, 2157 krb5_auth_context /*auth_context*/, 2158 krb5_ccache /*ccache*/, 2159 krb5_flags /*flags*/, 2160 const char */*hostname*/, 2161 krb5_creds */*in_creds*/, 2162 krb5_data */*out_data*/); 2163 2164 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2165 krb5_get_host_realm ( 2166 krb5_context /*context*/, 2167 const char */*targethost*/, 2168 krb5_realm **/*realms*/); 2169 2170 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2171 krb5_get_ignore_addresses ( 2172 krb5_context /*context*/, 2173 krb5_addresses */*addresses*/); 2174 2175 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2176 krb5_get_in_cred ( 2177 krb5_context /*context*/, 2178 krb5_flags /*options*/, 2179 const krb5_addresses */*addrs*/, 2180 const krb5_enctype */*etypes*/, 2181 const krb5_preauthtype */*ptypes*/, 2182 const krb5_preauthdata */*preauth*/, 2183 krb5_key_proc /*key_proc*/, 2184 krb5_const_pointer /*keyseed*/, 2185 krb5_decrypt_proc /*decrypt_proc*/, 2186 krb5_const_pointer /*decryptarg*/, 2187 krb5_creds */*creds*/, 2188 krb5_kdc_rep */*ret_as_reply*/) 2189 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2190 2191 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2192 krb5_get_in_tkt ( 2193 krb5_context /*context*/, 2194 krb5_flags /*options*/, 2195 const krb5_addresses */*addrs*/, 2196 const krb5_enctype */*etypes*/, 2197 const krb5_preauthtype */*ptypes*/, 2198 krb5_key_proc /*key_proc*/, 2199 krb5_const_pointer /*keyseed*/, 2200 krb5_decrypt_proc /*decrypt_proc*/, 2201 krb5_const_pointer /*decryptarg*/, 2202 krb5_creds */*creds*/, 2203 krb5_ccache /*ccache*/, 2204 krb5_kdc_rep */*ret_as_reply*/) 2205 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2206 2207 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2208 krb5_get_in_tkt_with_keytab ( 2209 krb5_context /*context*/, 2210 krb5_flags /*options*/, 2211 krb5_addresses */*addrs*/, 2212 const krb5_enctype */*etypes*/, 2213 const krb5_preauthtype */*pre_auth_types*/, 2214 krb5_keytab /*keytab*/, 2215 krb5_ccache /*ccache*/, 2216 krb5_creds */*creds*/, 2217 krb5_kdc_rep */*ret_as_reply*/) 2218 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2219 2220 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2221 krb5_get_in_tkt_with_password ( 2222 krb5_context /*context*/, 2223 krb5_flags /*options*/, 2224 krb5_addresses */*addrs*/, 2225 const krb5_enctype */*etypes*/, 2226 const krb5_preauthtype */*pre_auth_types*/, 2227 const char */*password*/, 2228 krb5_ccache /*ccache*/, 2229 krb5_creds */*creds*/, 2230 krb5_kdc_rep */*ret_as_reply*/) 2231 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2232 2233 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2234 krb5_get_in_tkt_with_skey ( 2235 krb5_context /*context*/, 2236 krb5_flags /*options*/, 2237 krb5_addresses */*addrs*/, 2238 const krb5_enctype */*etypes*/, 2239 const krb5_preauthtype */*pre_auth_types*/, 2240 const krb5_keyblock */*key*/, 2241 krb5_ccache /*ccache*/, 2242 krb5_creds */*creds*/, 2243 krb5_kdc_rep */*ret_as_reply*/) 2244 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2245 2246 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2247 krb5_get_init_creds_keyblock ( 2248 krb5_context /*context*/, 2249 krb5_creds */*creds*/, 2250 krb5_principal /*client*/, 2251 krb5_keyblock */*keyblock*/, 2252 krb5_deltat /*start_time*/, 2253 const char */*in_tkt_service*/, 2254 krb5_get_init_creds_opt */*options*/); 2255 2256 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2257 krb5_get_init_creds_keytab ( 2258 krb5_context /*context*/, 2259 krb5_creds */*creds*/, 2260 krb5_principal /*client*/, 2261 krb5_keytab /*keytab*/, 2262 krb5_deltat /*start_time*/, 2263 const char */*in_tkt_service*/, 2264 krb5_get_init_creds_opt */*options*/); 2265 2266 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2267 krb5_get_init_creds_opt_alloc ( 2268 krb5_context /*context*/, 2269 krb5_get_init_creds_opt **/*opt*/); 2270 2271 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2272 krb5_get_init_creds_opt_free ( 2273 krb5_context /*context*/, 2274 krb5_get_init_creds_opt */*opt*/); 2275 2276 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2277 krb5_get_init_creds_opt_get_error ( 2278 krb5_context /*context*/, 2279 krb5_get_init_creds_opt */*opt*/, 2280 KRB_ERROR **/*error*/) 2281 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2282 2283 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2284 krb5_get_init_creds_opt_init (krb5_get_init_creds_opt */*opt*/) 2285 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2286 2287 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2288 krb5_get_init_creds_opt_set_address_list ( 2289 krb5_get_init_creds_opt */*opt*/, 2290 krb5_addresses */*addresses*/); 2291 2292 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2293 krb5_get_init_creds_opt_set_addressless ( 2294 krb5_context /*context*/, 2295 krb5_get_init_creds_opt */*opt*/, 2296 krb5_boolean /*addressless*/); 2297 2298 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2299 krb5_get_init_creds_opt_set_anonymous ( 2300 krb5_get_init_creds_opt */*opt*/, 2301 int /*anonymous*/); 2302 2303 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2304 krb5_get_init_creds_opt_set_canonicalize ( 2305 krb5_context /*context*/, 2306 krb5_get_init_creds_opt */*opt*/, 2307 krb5_boolean /*req*/); 2308 2309 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2310 krb5_get_init_creds_opt_set_default_flags ( 2311 krb5_context /*context*/, 2312 const char */*appname*/, 2313 krb5_const_realm /*realm*/, 2314 krb5_get_init_creds_opt */*opt*/); 2315 2316 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2317 krb5_get_init_creds_opt_set_etype_list ( 2318 krb5_get_init_creds_opt */*opt*/, 2319 krb5_enctype */*etype_list*/, 2320 int /*etype_list_length*/); 2321 2322 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2323 krb5_get_init_creds_opt_set_forwardable ( 2324 krb5_get_init_creds_opt */*opt*/, 2325 int /*forwardable*/); 2326 2327 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2328 krb5_get_init_creds_opt_set_pa_password ( 2329 krb5_context /*context*/, 2330 krb5_get_init_creds_opt */*opt*/, 2331 const char */*password*/, 2332 krb5_s2k_proc /*key_proc*/); 2333 2334 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2335 krb5_get_init_creds_opt_set_pac_request ( 2336 krb5_context /*context*/, 2337 krb5_get_init_creds_opt */*opt*/, 2338 krb5_boolean /*req_pac*/); 2339 2340 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2341 krb5_get_init_creds_opt_set_pkinit ( 2342 krb5_context /*context*/, 2343 krb5_get_init_creds_opt */*opt*/, 2344 krb5_principal /*principal*/, 2345 const char */*user_id*/, 2346 const char */*x509_anchors*/, 2347 char * const * /*pool*/, 2348 char * const * /*pki_revoke*/, 2349 int /*flags*/, 2350 krb5_prompter_fct /*prompter*/, 2351 void */*prompter_data*/, 2352 char */*password*/); 2353 2354 krb5_error_code KRB5_LIB_FUNCTION 2355 krb5_get_init_creds_opt_set_pkinit_user_certs ( 2356 krb5_context /*context*/, 2357 krb5_get_init_creds_opt */*opt*/, 2358 struct hx509_certs_data */*certs*/); 2359 2360 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2361 krb5_get_init_creds_opt_set_preauth_list ( 2362 krb5_get_init_creds_opt */*opt*/, 2363 krb5_preauthtype */*preauth_list*/, 2364 int /*preauth_list_length*/); 2365 2366 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2367 krb5_get_init_creds_opt_set_process_last_req ( 2368 krb5_context /*context*/, 2369 krb5_get_init_creds_opt */*opt*/, 2370 krb5_gic_process_last_req /*func*/, 2371 void */*ctx*/); 2372 2373 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2374 krb5_get_init_creds_opt_set_proxiable ( 2375 krb5_get_init_creds_opt */*opt*/, 2376 int /*proxiable*/); 2377 2378 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2379 krb5_get_init_creds_opt_set_renew_life ( 2380 krb5_get_init_creds_opt */*opt*/, 2381 krb5_deltat /*renew_life*/); 2382 2383 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2384 krb5_get_init_creds_opt_set_salt ( 2385 krb5_get_init_creds_opt */*opt*/, 2386 krb5_data */*salt*/); 2387 2388 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2389 krb5_get_init_creds_opt_set_tkt_life ( 2390 krb5_get_init_creds_opt */*opt*/, 2391 krb5_deltat /*tkt_life*/); 2392 2393 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2394 krb5_get_init_creds_opt_set_win2k ( 2395 krb5_context /*context*/, 2396 krb5_get_init_creds_opt */*opt*/, 2397 krb5_boolean /*req*/); 2398 2399 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2400 krb5_get_init_creds_password ( 2401 krb5_context /*context*/, 2402 krb5_creds */*creds*/, 2403 krb5_principal /*client*/, 2404 const char */*password*/, 2405 krb5_prompter_fct /*prompter*/, 2406 void */*data*/, 2407 krb5_deltat /*start_time*/, 2408 const char */*in_tkt_service*/, 2409 krb5_get_init_creds_opt */*options*/); 2410 2411 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2412 krb5_get_kdc_cred ( 2413 krb5_context /*context*/, 2414 krb5_ccache /*id*/, 2415 krb5_kdc_flags /*flags*/, 2416 krb5_addresses */*addresses*/, 2417 Ticket */*second_ticket*/, 2418 krb5_creds */*in_creds*/, 2419 krb5_creds **out_creds ); 2420 2421 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2422 krb5_get_kdc_sec_offset ( 2423 krb5_context /*context*/, 2424 int32_t */*sec*/, 2425 int32_t */*usec*/); 2426 2427 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2428 krb5_get_krb524hst ( 2429 krb5_context /*context*/, 2430 const krb5_realm */*realm*/, 2431 char ***/*hostlist*/); 2432 2433 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2434 krb5_get_krb_admin_hst ( 2435 krb5_context /*context*/, 2436 const krb5_realm */*realm*/, 2437 char ***/*hostlist*/); 2438 2439 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2440 krb5_get_krb_changepw_hst ( 2441 krb5_context /*context*/, 2442 const krb5_realm */*realm*/, 2443 char ***/*hostlist*/); 2444 2445 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2446 krb5_get_krbhst ( 2447 krb5_context /*context*/, 2448 const krb5_realm */*realm*/, 2449 char ***/*hostlist*/); 2450 2451 KRB5_LIB_FUNCTION time_t KRB5_LIB_CALL 2452 krb5_get_max_time_skew (krb5_context /*context*/); 2453 2454 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2455 krb5_get_permitted_enctypes ( 2456 krb5_context /*context*/, 2457 krb5_enctype **/*etypes*/); 2458 2459 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2460 krb5_get_pw_salt ( 2461 krb5_context /*context*/, 2462 krb5_const_principal /*principal*/, 2463 krb5_salt */*salt*/); 2464 2465 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2466 krb5_get_renewed_creds ( 2467 krb5_context /*context*/, 2468 krb5_creds */*creds*/, 2469 krb5_const_principal /*client*/, 2470 krb5_ccache /*ccache*/, 2471 const char */*in_tkt_service*/); 2472 2473 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2474 krb5_get_server_rcache ( 2475 krb5_context /*context*/, 2476 const krb5_data */*piece*/, 2477 krb5_rcache */*id*/); 2478 2479 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2480 krb5_get_use_admin_kdc (krb5_context /*context*/); 2481 2482 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2483 krb5_get_validated_creds ( 2484 krb5_context /*context*/, 2485 krb5_creds */*creds*/, 2486 krb5_principal /*client*/, 2487 krb5_ccache /*ccache*/, 2488 char */*service*/); 2489 2490 KRB5_LIB_FUNCTION krb5_log_facility * KRB5_LIB_CALL 2491 krb5_get_warn_dest (krb5_context /*context*/); 2492 2493 KRB5_LIB_FUNCTION size_t KRB5_LIB_CALL 2494 krb5_get_wrapped_length ( 2495 krb5_context /*context*/, 2496 krb5_crypto /*crypto*/, 2497 size_t /*data_len*/); 2498 2499 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 2500 krb5_getportbyname ( 2501 krb5_context /*context*/, 2502 const char */*service*/, 2503 const char */*proto*/, 2504 int /*default_port*/); 2505 2506 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2507 krb5_h_addr2addr ( 2508 krb5_context /*context*/, 2509 int /*af*/, 2510 const char */*haddr*/, 2511 krb5_address */*addr*/); 2512 2513 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2514 krb5_h_addr2sockaddr ( 2515 krb5_context /*context*/, 2516 int /*af*/, 2517 const char */*addr*/, 2518 struct sockaddr */*sa*/, 2519 krb5_socklen_t */*sa_size*/, 2520 int /*port*/); 2521 2522 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2523 krb5_h_errno_to_heim_errno (int /*eai_errno*/); 2524 2525 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2526 krb5_have_error_string (krb5_context /*context*/); 2527 2528 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2529 krb5_hmac ( 2530 krb5_context /*context*/, 2531 krb5_cksumtype /*cktype*/, 2532 const void */*data*/, 2533 size_t /*len*/, 2534 unsigned /*usage*/, 2535 krb5_keyblock */*key*/, 2536 Checksum */*result*/); 2537 2538 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2539 krb5_init_context (krb5_context */*context*/); 2540 2541 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2542 krb5_init_creds_free ( 2543 krb5_context /*context*/, 2544 krb5_init_creds_context /*ctx*/); 2545 2546 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2547 krb5_init_creds_get ( 2548 krb5_context /*context*/, 2549 krb5_init_creds_context /*ctx*/); 2550 2551 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2552 krb5_init_creds_get_creds ( 2553 krb5_context /*context*/, 2554 krb5_init_creds_context /*ctx*/, 2555 krb5_creds */*cred*/); 2556 2557 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2558 krb5_init_creds_get_error ( 2559 krb5_context /*context*/, 2560 krb5_init_creds_context /*ctx*/, 2561 KRB_ERROR */*error*/); 2562 2563 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2564 krb5_init_creds_init ( 2565 krb5_context /*context*/, 2566 krb5_principal /*client*/, 2567 krb5_prompter_fct /*prompter*/, 2568 void */*prompter_data*/, 2569 krb5_deltat /*start_time*/, 2570 krb5_get_init_creds_opt */*options*/, 2571 krb5_init_creds_context */*rctx*/); 2572 2573 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2574 krb5_init_creds_set_keyblock ( 2575 krb5_context /*context*/, 2576 krb5_init_creds_context /*ctx*/, 2577 krb5_keyblock */*keyblock*/); 2578 2579 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2580 krb5_init_creds_set_keytab ( 2581 krb5_context /*context*/, 2582 krb5_init_creds_context /*ctx*/, 2583 krb5_keytab /*keytab*/); 2584 2585 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2586 krb5_init_creds_set_password ( 2587 krb5_context /*context*/, 2588 krb5_init_creds_context /*ctx*/, 2589 const char */*password*/); 2590 2591 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2592 krb5_init_creds_set_service ( 2593 krb5_context /*context*/, 2594 krb5_init_creds_context /*ctx*/, 2595 const char */*service*/); 2596 2597 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2598 krb5_init_creds_step ( 2599 krb5_context /*context*/, 2600 krb5_init_creds_context /*ctx*/, 2601 krb5_data */*in*/, 2602 krb5_data */*out*/, 2603 krb5_krbhst_info */*hostinfo*/, 2604 unsigned int */*flags*/); 2605 2606 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2607 krb5_init_ets (krb5_context /*context*/); 2608 2609 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2610 krb5_initlog ( 2611 krb5_context /*context*/, 2612 const char */*program*/, 2613 krb5_log_facility **/*fac*/); 2614 2615 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2616 krb5_is_config_principal ( 2617 krb5_context /*context*/, 2618 krb5_const_principal /*principal*/); 2619 2620 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2621 krb5_is_thread_safe (void); 2622 2623 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2624 krb5_kcm_call ( 2625 krb5_context /*context*/, 2626 krb5_storage */*request*/, 2627 krb5_storage **/*response_p*/, 2628 krb5_data */*response_data_p*/); 2629 2630 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2631 krb5_kcm_storage_request ( 2632 krb5_context /*context*/, 2633 uint16_t /*opcode*/, 2634 krb5_storage **/*storage_p*/); 2635 2636 KRB5_LIB_FUNCTION const krb5_enctype * KRB5_LIB_CALL 2637 krb5_kerberos_enctypes (krb5_context /*context*/); 2638 2639 KRB5_LIB_FUNCTION krb5_enctype KRB5_LIB_CALL 2640 krb5_keyblock_get_enctype (const krb5_keyblock */*block*/); 2641 2642 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2643 krb5_keyblock_init ( 2644 krb5_context /*context*/, 2645 krb5_enctype /*type*/, 2646 const void */*data*/, 2647 size_t /*size*/, 2648 krb5_keyblock */*key*/); 2649 2650 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2651 krb5_keyblock_key_proc ( 2652 krb5_context /*context*/, 2653 krb5_keytype /*type*/, 2654 krb5_data */*salt*/, 2655 krb5_const_pointer /*keyseed*/, 2656 krb5_keyblock **/*key*/); 2657 2658 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2659 krb5_keyblock_zero (krb5_keyblock */*keyblock*/); 2660 2661 KRB5_LIB_FUNCTION krb5_error_code KRB5_CALLCONV 2662 krb5_keytab_key_proc ( 2663 krb5_context /*context*/, 2664 krb5_enctype /*enctype*/, 2665 krb5_salt /*salt*/, 2666 krb5_const_pointer /*keyseed*/, 2667 krb5_keyblock **/*key*/) 2668 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2669 2670 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2671 krb5_keytype_to_enctypes ( 2672 krb5_context /*context*/, 2673 krb5_keytype /*keytype*/, 2674 unsigned */*len*/, 2675 krb5_enctype **/*val*/) 2676 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2677 2678 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2679 krb5_keytype_to_enctypes_default ( 2680 krb5_context /*context*/, 2681 krb5_keytype /*keytype*/, 2682 unsigned */*len*/, 2683 krb5_enctype **/*val*/) 2684 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2685 2686 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2687 krb5_keytype_to_string ( 2688 krb5_context /*context*/, 2689 krb5_keytype /*keytype*/, 2690 char **/*string*/) 2691 KRB5_DEPRECATED_FUNCTION("Use X instead"); 2692 2693 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2694 krb5_krbhst_format_string ( 2695 krb5_context /*context*/, 2696 const krb5_krbhst_info */*host*/, 2697 char */*hostname*/, 2698 size_t /*hostlen*/); 2699 2700 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2701 krb5_krbhst_free ( 2702 krb5_context /*context*/, 2703 krb5_krbhst_handle /*handle*/); 2704 2705 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2706 krb5_krbhst_get_addrinfo ( 2707 krb5_context /*context*/, 2708 krb5_krbhst_info */*host*/, 2709 struct addrinfo **/*ai*/); 2710 2711 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2712 krb5_krbhst_init ( 2713 krb5_context /*context*/, 2714 const char */*realm*/, 2715 unsigned int /*type*/, 2716 krb5_krbhst_handle */*handle*/); 2717 2718 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2719 krb5_krbhst_init_flags ( 2720 krb5_context /*context*/, 2721 const char */*realm*/, 2722 unsigned int /*type*/, 2723 int /*flags*/, 2724 krb5_krbhst_handle */*handle*/); 2725 2726 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2727 krb5_krbhst_next ( 2728 krb5_context /*context*/, 2729 krb5_krbhst_handle /*handle*/, 2730 krb5_krbhst_info **/*host*/); 2731 2732 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2733 krb5_krbhst_next_as_string ( 2734 krb5_context /*context*/, 2735 krb5_krbhst_handle /*handle*/, 2736 char */*hostname*/, 2737 size_t /*hostlen*/); 2738 2739 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 2740 krb5_krbhst_reset ( 2741 krb5_context /*context*/, 2742 krb5_krbhst_handle /*handle*/); 2743 2744 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2745 krb5_kt_add_entry ( 2746 krb5_context /*context*/, 2747 krb5_keytab /*id*/, 2748 krb5_keytab_entry */*entry*/); 2749 2750 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2751 krb5_kt_close ( 2752 krb5_context /*context*/, 2753 krb5_keytab /*id*/); 2754 2755 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2756 krb5_kt_compare ( 2757 krb5_context /*context*/, 2758 krb5_keytab_entry */*entry*/, 2759 krb5_const_principal /*principal*/, 2760 krb5_kvno /*vno*/, 2761 krb5_enctype /*enctype*/); 2762 2763 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2764 krb5_kt_copy_entry_contents ( 2765 krb5_context /*context*/, 2766 const krb5_keytab_entry */*in*/, 2767 krb5_keytab_entry */*out*/); 2768 2769 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2770 krb5_kt_default ( 2771 krb5_context /*context*/, 2772 krb5_keytab */*id*/); 2773 2774 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2775 krb5_kt_default_modify_name ( 2776 krb5_context /*context*/, 2777 char */*name*/, 2778 size_t /*namesize*/); 2779 2780 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2781 krb5_kt_default_name ( 2782 krb5_context /*context*/, 2783 char */*name*/, 2784 size_t /*namesize*/); 2785 2786 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2787 krb5_kt_destroy ( 2788 krb5_context /*context*/, 2789 krb5_keytab /*id*/); 2790 2791 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2792 krb5_kt_end_seq_get ( 2793 krb5_context /*context*/, 2794 krb5_keytab /*id*/, 2795 krb5_kt_cursor */*cursor*/); 2796 2797 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2798 krb5_kt_free_entry ( 2799 krb5_context /*context*/, 2800 krb5_keytab_entry */*entry*/); 2801 2802 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2803 krb5_kt_get_entry ( 2804 krb5_context /*context*/, 2805 krb5_keytab /*id*/, 2806 krb5_const_principal /*principal*/, 2807 krb5_kvno /*kvno*/, 2808 krb5_enctype /*enctype*/, 2809 krb5_keytab_entry */*entry*/); 2810 2811 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2812 krb5_kt_get_full_name ( 2813 krb5_context /*context*/, 2814 krb5_keytab /*keytab*/, 2815 char **/*str*/); 2816 2817 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2818 krb5_kt_get_name ( 2819 krb5_context /*context*/, 2820 krb5_keytab /*keytab*/, 2821 char */*name*/, 2822 size_t /*namesize*/); 2823 2824 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2825 krb5_kt_get_type ( 2826 krb5_context /*context*/, 2827 krb5_keytab /*keytab*/, 2828 char */*prefix*/, 2829 size_t /*prefixsize*/); 2830 2831 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2832 krb5_kt_have_content ( 2833 krb5_context /*context*/, 2834 krb5_keytab /*id*/); 2835 2836 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2837 krb5_kt_next_entry ( 2838 krb5_context /*context*/, 2839 krb5_keytab /*id*/, 2840 krb5_keytab_entry */*entry*/, 2841 krb5_kt_cursor */*cursor*/); 2842 2843 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2844 krb5_kt_read_service_key ( 2845 krb5_context /*context*/, 2846 krb5_pointer /*keyprocarg*/, 2847 krb5_principal /*principal*/, 2848 krb5_kvno /*vno*/, 2849 krb5_enctype /*enctype*/, 2850 krb5_keyblock **/*key*/); 2851 2852 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2853 krb5_kt_register ( 2854 krb5_context /*context*/, 2855 const krb5_kt_ops */*ops*/); 2856 2857 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2858 krb5_kt_remove_entry ( 2859 krb5_context /*context*/, 2860 krb5_keytab /*id*/, 2861 krb5_keytab_entry */*entry*/); 2862 2863 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2864 krb5_kt_resolve ( 2865 krb5_context /*context*/, 2866 const char */*name*/, 2867 krb5_keytab */*id*/); 2868 2869 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2870 krb5_kt_start_seq_get ( 2871 krb5_context /*context*/, 2872 krb5_keytab /*id*/, 2873 krb5_kt_cursor */*cursor*/); 2874 2875 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 2876 krb5_kuserok ( 2877 krb5_context /*context*/, 2878 krb5_principal /*principal*/, 2879 const char */*luser*/); 2880 2881 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2882 krb5_log ( 2883 krb5_context /*context*/, 2884 krb5_log_facility */*fac*/, 2885 int /*level*/, 2886 const char */*fmt*/, 2887 ...) 2888 __attribute__((format (printf, 4, 5))); 2889 2890 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2891 krb5_log_msg ( 2892 krb5_context /*context*/, 2893 krb5_log_facility */*fac*/, 2894 int /*level*/, 2895 char **/*reply*/, 2896 const char */*fmt*/, 2897 ...) 2898 __attribute__((format (printf, 5, 6))); 2899 2900 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2901 krb5_make_addrport ( 2902 krb5_context /*context*/, 2903 krb5_address **/*res*/, 2904 const krb5_address */*addr*/, 2905 int16_t /*port*/); 2906 2907 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2908 krb5_make_principal ( 2909 krb5_context /*context*/, 2910 krb5_principal */*principal*/, 2911 krb5_const_realm /*realm*/, 2912 ...); 2913 2914 KRB5_LIB_FUNCTION size_t KRB5_LIB_CALL 2915 krb5_max_sockaddr_size (void); 2916 2917 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2918 krb5_mk_error ( 2919 krb5_context /*context*/, 2920 krb5_error_code /*error_code*/, 2921 const char */*e_text*/, 2922 const krb5_data */*e_data*/, 2923 const krb5_principal /*client*/, 2924 const krb5_principal /*server*/, 2925 time_t */*client_time*/, 2926 int */*client_usec*/, 2927 krb5_data */*reply*/); 2928 2929 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2930 krb5_mk_priv ( 2931 krb5_context /*context*/, 2932 krb5_auth_context /*auth_context*/, 2933 const krb5_data */*userdata*/, 2934 krb5_data */*outbuf*/, 2935 krb5_replay_data */*outdata*/); 2936 2937 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2938 krb5_mk_rep ( 2939 krb5_context /*context*/, 2940 krb5_auth_context /*auth_context*/, 2941 krb5_data */*outbuf*/); 2942 2943 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2944 krb5_mk_req ( 2945 krb5_context /*context*/, 2946 krb5_auth_context */*auth_context*/, 2947 const krb5_flags /*ap_req_options*/, 2948 const char */*service*/, 2949 const char */*hostname*/, 2950 krb5_data */*in_data*/, 2951 krb5_ccache /*ccache*/, 2952 krb5_data */*outbuf*/); 2953 2954 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2955 krb5_mk_req_exact ( 2956 krb5_context /*context*/, 2957 krb5_auth_context */*auth_context*/, 2958 const krb5_flags /*ap_req_options*/, 2959 const krb5_principal /*server*/, 2960 krb5_data */*in_data*/, 2961 krb5_ccache /*ccache*/, 2962 krb5_data */*outbuf*/); 2963 2964 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2965 krb5_mk_req_extended ( 2966 krb5_context /*context*/, 2967 krb5_auth_context */*auth_context*/, 2968 const krb5_flags /*ap_req_options*/, 2969 krb5_data */*in_data*/, 2970 krb5_creds */*in_creds*/, 2971 krb5_data */*outbuf*/); 2972 2973 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 2974 krb5_mk_safe ( 2975 krb5_context /*context*/, 2976 krb5_auth_context /*auth_context*/, 2977 const krb5_data */*userdata*/, 2978 krb5_data */*outbuf*/, 2979 krb5_replay_data */*outdata*/); 2980 2981 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 2982 krb5_net_read ( 2983 krb5_context /*context*/, 2984 void */*p_fd*/, 2985 void */*buf*/, 2986 size_t /*len*/); 2987 2988 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 2989 krb5_net_write ( 2990 krb5_context /*context*/, 2991 void */*p_fd*/, 2992 const void */*buf*/, 2993 size_t /*len*/); 2994 2995 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 2996 krb5_net_write_block ( 2997 krb5_context /*context*/, 2998 void */*p_fd*/, 2999 const void */*buf*/, 3000 size_t /*len*/, 3001 time_t /*timeout*/); 3002 3003 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3004 krb5_ntlm_alloc ( 3005 krb5_context /*context*/, 3006 krb5_ntlm */*ntlm*/); 3007 3008 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3009 krb5_ntlm_free ( 3010 krb5_context /*context*/, 3011 krb5_ntlm /*ntlm*/); 3012 3013 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3014 krb5_ntlm_init_get_challange ( 3015 krb5_context /*context*/, 3016 krb5_ntlm /*ntlm*/, 3017 krb5_data */*challange*/); 3018 3019 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3020 krb5_ntlm_init_get_flags ( 3021 krb5_context /*context*/, 3022 krb5_ntlm /*ntlm*/, 3023 uint32_t */*flags*/); 3024 3025 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3026 krb5_ntlm_init_get_opaque ( 3027 krb5_context /*context*/, 3028 krb5_ntlm /*ntlm*/, 3029 krb5_data */*opaque*/); 3030 3031 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3032 krb5_ntlm_init_get_targetinfo ( 3033 krb5_context /*context*/, 3034 krb5_ntlm /*ntlm*/, 3035 krb5_data */*data*/); 3036 3037 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3038 krb5_ntlm_init_get_targetname ( 3039 krb5_context /*context*/, 3040 krb5_ntlm /*ntlm*/, 3041 char **/*name*/); 3042 3043 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3044 krb5_ntlm_init_request ( 3045 krb5_context /*context*/, 3046 krb5_ntlm /*ntlm*/, 3047 krb5_realm /*realm*/, 3048 krb5_ccache /*ccache*/, 3049 uint32_t /*flags*/, 3050 const char */*hostname*/, 3051 const char */*domainname*/); 3052 3053 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3054 krb5_ntlm_rep_get_sessionkey ( 3055 krb5_context /*context*/, 3056 krb5_ntlm /*ntlm*/, 3057 krb5_data */*data*/); 3058 3059 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3060 krb5_ntlm_rep_get_status ( 3061 krb5_context /*context*/, 3062 krb5_ntlm /*ntlm*/); 3063 3064 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3065 krb5_ntlm_req_set_flags ( 3066 krb5_context /*context*/, 3067 krb5_ntlm /*ntlm*/, 3068 uint32_t /*flags*/); 3069 3070 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3071 krb5_ntlm_req_set_lm ( 3072 krb5_context /*context*/, 3073 krb5_ntlm /*ntlm*/, 3074 void */*hash*/, 3075 size_t /*len*/); 3076 3077 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3078 krb5_ntlm_req_set_ntlm ( 3079 krb5_context /*context*/, 3080 krb5_ntlm /*ntlm*/, 3081 void */*hash*/, 3082 size_t /*len*/); 3083 3084 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3085 krb5_ntlm_req_set_opaque ( 3086 krb5_context /*context*/, 3087 krb5_ntlm /*ntlm*/, 3088 krb5_data */*opaque*/); 3089 3090 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3091 krb5_ntlm_req_set_session ( 3092 krb5_context /*context*/, 3093 krb5_ntlm /*ntlm*/, 3094 void */*sessionkey*/, 3095 size_t /*length*/); 3096 3097 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3098 krb5_ntlm_req_set_targetname ( 3099 krb5_context /*context*/, 3100 krb5_ntlm /*ntlm*/, 3101 const char */*targetname*/); 3102 3103 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3104 krb5_ntlm_req_set_username ( 3105 krb5_context /*context*/, 3106 krb5_ntlm /*ntlm*/, 3107 const char */*username*/); 3108 3109 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3110 krb5_ntlm_request ( 3111 krb5_context /*context*/, 3112 krb5_ntlm /*ntlm*/, 3113 krb5_realm /*realm*/, 3114 krb5_ccache /*ccache*/); 3115 3116 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3117 krb5_openlog ( 3118 krb5_context /*context*/, 3119 const char */*program*/, 3120 krb5_log_facility **/*fac*/); 3121 3122 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3123 krb5_pac_add_buffer ( 3124 krb5_context /*context*/, 3125 krb5_pac /*p*/, 3126 uint32_t /*type*/, 3127 const krb5_data */*data*/); 3128 3129 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3130 krb5_pac_free ( 3131 krb5_context /*context*/, 3132 krb5_pac /*pac*/); 3133 3134 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3135 krb5_pac_get_buffer ( 3136 krb5_context /*context*/, 3137 krb5_pac /*p*/, 3138 uint32_t /*type*/, 3139 krb5_data */*data*/); 3140 3141 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3142 krb5_pac_get_types ( 3143 krb5_context /*context*/, 3144 krb5_pac /*p*/, 3145 size_t */*len*/, 3146 uint32_t **/*types*/); 3147 3148 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3149 krb5_pac_init ( 3150 krb5_context /*context*/, 3151 krb5_pac */*pac*/); 3152 3153 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3154 krb5_pac_parse ( 3155 krb5_context /*context*/, 3156 const void */*ptr*/, 3157 size_t /*len*/, 3158 krb5_pac */*pac*/); 3159 3160 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3161 krb5_pac_verify ( 3162 krb5_context /*context*/, 3163 const krb5_pac /*pac*/, 3164 time_t /*authtime*/, 3165 krb5_const_principal /*principal*/, 3166 const krb5_keyblock */*server*/, 3167 const krb5_keyblock */*privsvr*/); 3168 3169 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 3170 krb5_padata_add ( 3171 krb5_context /*context*/, 3172 METHOD_DATA */*md*/, 3173 int /*type*/, 3174 void */*buf*/, 3175 size_t /*len*/); 3176 3177 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3178 krb5_parse_address ( 3179 krb5_context /*context*/, 3180 const char */*string*/, 3181 krb5_addresses */*addresses*/); 3182 3183 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3184 krb5_parse_name ( 3185 krb5_context /*context*/, 3186 const char */*name*/, 3187 krb5_principal */*principal*/); 3188 3189 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3190 krb5_parse_name_flags ( 3191 krb5_context /*context*/, 3192 const char */*name*/, 3193 int /*flags*/, 3194 krb5_principal */*principal*/); 3195 3196 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3197 krb5_parse_nametype ( 3198 krb5_context /*context*/, 3199 const char */*str*/, 3200 int32_t */*nametype*/); 3201 3202 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3203 krb5_passwd_result_to_string ( 3204 krb5_context /*context*/, 3205 int /*result*/); 3206 3207 KRB5_LIB_FUNCTION krb5_error_code KRB5_CALLCONV 3208 krb5_password_key_proc ( 3209 krb5_context /*context*/, 3210 krb5_enctype /*type*/, 3211 krb5_salt /*salt*/, 3212 krb5_const_pointer /*keyseed*/, 3213 krb5_keyblock **/*key*/) 3214 KRB5_DEPRECATED_FUNCTION("Use X instead"); 3215 3216 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3217 krb5_pk_enterprise_cert ( 3218 krb5_context /*context*/, 3219 const char */*user_id*/, 3220 krb5_const_realm /*realm*/, 3221 krb5_principal */*principal*/, 3222 struct hx509_certs_data **/*res*/); 3223 3224 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3225 krb5_plugin_register ( 3226 krb5_context /*context*/, 3227 enum krb5_plugin_type /*type*/, 3228 const char */*name*/, 3229 void */*symbol*/); 3230 3231 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3232 krb5_prepend_config_files ( 3233 const char */*filelist*/, 3234 char **/*pq*/, 3235 char ***/*ret_pp*/); 3236 3237 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3238 krb5_prepend_config_files_default ( 3239 const char */*filelist*/, 3240 char ***/*pfilenames*/); 3241 3242 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3243 krb5_prepend_error_message ( 3244 krb5_context /*context*/, 3245 krb5_error_code /*ret*/, 3246 const char */*fmt*/, 3247 ...) 3248 __attribute__ ((format (printf, 3, 4))); 3249 3250 KRB5_LIB_FUNCTION krb5_realm * KRB5_LIB_CALL 3251 krb5_princ_realm ( 3252 krb5_context /*context*/, 3253 krb5_principal /*principal*/) 3254 KRB5_DEPRECATED_FUNCTION("Use X instead"); 3255 3256 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3257 krb5_princ_set_realm ( 3258 krb5_context /*context*/, 3259 krb5_principal /*principal*/, 3260 krb5_realm */*realm*/) 3261 KRB5_DEPRECATED_FUNCTION("Use X instead"); 3262 3263 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3264 krb5_principal_compare ( 3265 krb5_context /*context*/, 3266 krb5_const_principal /*princ1*/, 3267 krb5_const_principal /*princ2*/); 3268 3269 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3270 krb5_principal_compare_any_realm ( 3271 krb5_context /*context*/, 3272 krb5_const_principal /*princ1*/, 3273 krb5_const_principal /*princ2*/); 3274 3275 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3276 krb5_principal_get_comp_string ( 3277 krb5_context /*context*/, 3278 krb5_const_principal /*principal*/, 3279 unsigned int /*component*/); 3280 3281 KRB5_LIB_FUNCTION unsigned int KRB5_LIB_CALL 3282 krb5_principal_get_num_comp ( 3283 krb5_context /*context*/, 3284 krb5_const_principal /*principal*/); 3285 3286 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3287 krb5_principal_get_realm ( 3288 krb5_context /*context*/, 3289 krb5_const_principal /*principal*/); 3290 3291 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 3292 krb5_principal_get_type ( 3293 krb5_context /*context*/, 3294 krb5_const_principal /*principal*/); 3295 3296 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3297 krb5_principal_is_krbtgt ( 3298 krb5_context /*context*/, 3299 krb5_const_principal /*p*/); 3300 3301 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3302 krb5_principal_match ( 3303 krb5_context /*context*/, 3304 krb5_const_principal /*princ*/, 3305 krb5_const_principal /*pattern*/); 3306 3307 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3308 krb5_principal_set_realm ( 3309 krb5_context /*context*/, 3310 krb5_principal /*principal*/, 3311 krb5_const_realm /*realm*/); 3312 3313 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3314 krb5_principal_set_type ( 3315 krb5_context /*context*/, 3316 krb5_principal /*principal*/, 3317 int /*type*/); 3318 3319 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3320 krb5_print_address ( 3321 const krb5_address */*addr*/, 3322 char */*str*/, 3323 size_t /*len*/, 3324 size_t */*ret_len*/); 3325 3326 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 3327 krb5_program_setup ( 3328 krb5_context */*context*/, 3329 int /*argc*/, 3330 char **/*argv*/, 3331 struct getargs */*args*/, 3332 int /*num_args*/, 3333 void (KRB5_LIB_CALL *usage)(int, struct getargs*, int)); 3334 3335 KRB5_LIB_FUNCTION int KRB5_CALLCONV 3336 krb5_prompter_posix ( 3337 krb5_context /*context*/, 3338 void */*data*/, 3339 const char */*name*/, 3340 const char */*banner*/, 3341 int /*num_prompts*/, 3342 krb5_prompt prompts[]); 3343 3344 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3345 krb5_random_to_key ( 3346 krb5_context /*context*/, 3347 krb5_enctype /*type*/, 3348 const void */*data*/, 3349 size_t /*size*/, 3350 krb5_keyblock */*key*/); 3351 3352 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3353 krb5_rc_close ( 3354 krb5_context /*context*/, 3355 krb5_rcache /*id*/); 3356 3357 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3358 krb5_rc_default ( 3359 krb5_context /*context*/, 3360 krb5_rcache */*id*/); 3361 3362 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3363 krb5_rc_default_name (krb5_context /*context*/); 3364 3365 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3366 krb5_rc_default_type (krb5_context /*context*/); 3367 3368 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3369 krb5_rc_destroy ( 3370 krb5_context /*context*/, 3371 krb5_rcache /*id*/); 3372 3373 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3374 krb5_rc_expunge ( 3375 krb5_context /*context*/, 3376 krb5_rcache /*id*/); 3377 3378 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3379 krb5_rc_get_lifespan ( 3380 krb5_context /*context*/, 3381 krb5_rcache /*id*/, 3382 krb5_deltat */*auth_lifespan*/); 3383 3384 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3385 krb5_rc_get_name ( 3386 krb5_context /*context*/, 3387 krb5_rcache /*id*/); 3388 3389 KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL 3390 krb5_rc_get_type ( 3391 krb5_context /*context*/, 3392 krb5_rcache /*id*/); 3393 3394 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3395 krb5_rc_initialize ( 3396 krb5_context /*context*/, 3397 krb5_rcache /*id*/, 3398 krb5_deltat /*auth_lifespan*/); 3399 3400 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3401 krb5_rc_recover ( 3402 krb5_context /*context*/, 3403 krb5_rcache /*id*/); 3404 3405 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3406 krb5_rc_resolve ( 3407 krb5_context /*context*/, 3408 krb5_rcache /*id*/, 3409 const char */*name*/); 3410 3411 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3412 krb5_rc_resolve_full ( 3413 krb5_context /*context*/, 3414 krb5_rcache */*id*/, 3415 const char */*string_name*/); 3416 3417 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3418 krb5_rc_resolve_type ( 3419 krb5_context /*context*/, 3420 krb5_rcache */*id*/, 3421 const char */*type*/); 3422 3423 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3424 krb5_rc_store ( 3425 krb5_context /*context*/, 3426 krb5_rcache /*id*/, 3427 krb5_donot_replay */*rep*/); 3428 3429 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3430 krb5_rd_cred ( 3431 krb5_context /*context*/, 3432 krb5_auth_context /*auth_context*/, 3433 krb5_data */*in_data*/, 3434 krb5_creds ***/*ret_creds*/, 3435 krb5_replay_data */*outdata*/); 3436 3437 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3438 krb5_rd_cred2 ( 3439 krb5_context /*context*/, 3440 krb5_auth_context /*auth_context*/, 3441 krb5_ccache /*ccache*/, 3442 krb5_data */*in_data*/); 3443 3444 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3445 krb5_rd_error ( 3446 krb5_context /*context*/, 3447 const krb5_data */*msg*/, 3448 KRB_ERROR */*result*/); 3449 3450 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3451 krb5_rd_priv ( 3452 krb5_context /*context*/, 3453 krb5_auth_context /*auth_context*/, 3454 const krb5_data */*inbuf*/, 3455 krb5_data */*outbuf*/, 3456 krb5_replay_data */*outdata*/); 3457 3458 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3459 krb5_rd_rep ( 3460 krb5_context /*context*/, 3461 krb5_auth_context /*auth_context*/, 3462 const krb5_data */*inbuf*/, 3463 krb5_ap_rep_enc_part **/*repl*/); 3464 3465 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3466 krb5_rd_req ( 3467 krb5_context /*context*/, 3468 krb5_auth_context */*auth_context*/, 3469 const krb5_data */*inbuf*/, 3470 krb5_const_principal /*server*/, 3471 krb5_keytab /*keytab*/, 3472 krb5_flags */*ap_req_options*/, 3473 krb5_ticket **/*ticket*/); 3474 3475 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3476 krb5_rd_req_ctx ( 3477 krb5_context /*context*/, 3478 krb5_auth_context */*auth_context*/, 3479 const krb5_data */*inbuf*/, 3480 krb5_const_principal /*server*/, 3481 krb5_rd_req_in_ctx /*inctx*/, 3482 krb5_rd_req_out_ctx */*outctx*/); 3483 3484 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3485 krb5_rd_req_in_ctx_alloc ( 3486 krb5_context /*context*/, 3487 krb5_rd_req_in_ctx */*ctx*/); 3488 3489 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3490 krb5_rd_req_in_ctx_free ( 3491 krb5_context /*context*/, 3492 krb5_rd_req_in_ctx /*ctx*/); 3493 3494 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3495 krb5_rd_req_in_set_keyblock ( 3496 krb5_context /*context*/, 3497 krb5_rd_req_in_ctx /*in*/, 3498 krb5_keyblock */*keyblock*/); 3499 3500 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3501 krb5_rd_req_in_set_keytab ( 3502 krb5_context /*context*/, 3503 krb5_rd_req_in_ctx /*in*/, 3504 krb5_keytab /*keytab*/); 3505 3506 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3507 krb5_rd_req_in_set_pac_check ( 3508 krb5_context /*context*/, 3509 krb5_rd_req_in_ctx /*in*/, 3510 krb5_boolean /*flag*/); 3511 3512 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3513 krb5_rd_req_out_ctx_free ( 3514 krb5_context /*context*/, 3515 krb5_rd_req_out_ctx /*ctx*/); 3516 3517 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3518 krb5_rd_req_out_get_ap_req_options ( 3519 krb5_context /*context*/, 3520 krb5_rd_req_out_ctx /*out*/, 3521 krb5_flags */*ap_req_options*/); 3522 3523 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3524 krb5_rd_req_out_get_keyblock ( 3525 krb5_context /*context*/, 3526 krb5_rd_req_out_ctx /*out*/, 3527 krb5_keyblock **/*keyblock*/); 3528 3529 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3530 krb5_rd_req_out_get_server ( 3531 krb5_context /*context*/, 3532 krb5_rd_req_out_ctx /*out*/, 3533 krb5_principal */*principal*/); 3534 3535 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3536 krb5_rd_req_out_get_ticket ( 3537 krb5_context /*context*/, 3538 krb5_rd_req_out_ctx /*out*/, 3539 krb5_ticket **/*ticket*/); 3540 3541 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3542 krb5_rd_req_with_keyblock ( 3543 krb5_context /*context*/, 3544 krb5_auth_context */*auth_context*/, 3545 const krb5_data */*inbuf*/, 3546 krb5_const_principal /*server*/, 3547 krb5_keyblock */*keyblock*/, 3548 krb5_flags */*ap_req_options*/, 3549 krb5_ticket **/*ticket*/); 3550 3551 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3552 krb5_rd_safe ( 3553 krb5_context /*context*/, 3554 krb5_auth_context /*auth_context*/, 3555 const krb5_data */*inbuf*/, 3556 krb5_data */*outbuf*/, 3557 krb5_replay_data */*outdata*/); 3558 3559 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3560 krb5_read_message ( 3561 krb5_context /*context*/, 3562 krb5_pointer /*p_fd*/, 3563 krb5_data */*data*/); 3564 3565 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3566 krb5_read_priv_message ( 3567 krb5_context /*context*/, 3568 krb5_auth_context /*ac*/, 3569 krb5_pointer /*p_fd*/, 3570 krb5_data */*data*/); 3571 3572 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3573 krb5_read_safe_message ( 3574 krb5_context /*context*/, 3575 krb5_auth_context /*ac*/, 3576 krb5_pointer /*p_fd*/, 3577 krb5_data */*data*/); 3578 3579 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3580 krb5_realm_compare ( 3581 krb5_context /*context*/, 3582 krb5_const_principal /*princ1*/, 3583 krb5_const_principal /*princ2*/); 3584 3585 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3586 krb5_recvauth ( 3587 krb5_context /*context*/, 3588 krb5_auth_context */*auth_context*/, 3589 krb5_pointer /*p_fd*/, 3590 const char */*appl_version*/, 3591 krb5_principal /*server*/, 3592 int32_t /*flags*/, 3593 krb5_keytab /*keytab*/, 3594 krb5_ticket **/*ticket*/); 3595 3596 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3597 krb5_recvauth_match_version ( 3598 krb5_context /*context*/, 3599 krb5_auth_context */*auth_context*/, 3600 krb5_pointer /*p_fd*/, 3601 krb5_boolean (*/*match_appl_version*/)(const void *, const char*), 3602 const void */*match_data*/, 3603 krb5_principal /*server*/, 3604 int32_t /*flags*/, 3605 krb5_keytab /*keytab*/, 3606 krb5_ticket **/*ticket*/); 3607 3608 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3609 krb5_ret_address ( 3610 krb5_storage */*sp*/, 3611 krb5_address */*adr*/); 3612 3613 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3614 krb5_ret_addrs ( 3615 krb5_storage */*sp*/, 3616 krb5_addresses */*adr*/); 3617 3618 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3619 krb5_ret_authdata ( 3620 krb5_storage */*sp*/, 3621 krb5_authdata */*auth*/); 3622 3623 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3624 krb5_ret_creds ( 3625 krb5_storage */*sp*/, 3626 krb5_creds */*creds*/); 3627 3628 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3629 krb5_ret_creds_tag ( 3630 krb5_storage */*sp*/, 3631 krb5_creds */*creds*/); 3632 3633 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3634 krb5_ret_data ( 3635 krb5_storage */*sp*/, 3636 krb5_data */*data*/); 3637 3638 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3639 krb5_ret_int16 ( 3640 krb5_storage */*sp*/, 3641 int16_t */*value*/); 3642 3643 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3644 krb5_ret_int32 ( 3645 krb5_storage */*sp*/, 3646 int32_t */*value*/); 3647 3648 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3649 krb5_ret_int8 ( 3650 krb5_storage */*sp*/, 3651 int8_t */*value*/); 3652 3653 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3654 krb5_ret_keyblock ( 3655 krb5_storage */*sp*/, 3656 krb5_keyblock */*p*/); 3657 3658 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3659 krb5_ret_principal ( 3660 krb5_storage */*sp*/, 3661 krb5_principal */*princ*/); 3662 3663 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3664 krb5_ret_string ( 3665 krb5_storage */*sp*/, 3666 char **/*string*/); 3667 3668 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3669 krb5_ret_stringnl ( 3670 krb5_storage */*sp*/, 3671 char **/*string*/); 3672 3673 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3674 krb5_ret_stringz ( 3675 krb5_storage */*sp*/, 3676 char **/*string*/); 3677 3678 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3679 krb5_ret_times ( 3680 krb5_storage */*sp*/, 3681 krb5_times */*times*/); 3682 3683 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3684 krb5_ret_uint16 ( 3685 krb5_storage */*sp*/, 3686 uint16_t */*value*/); 3687 3688 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3689 krb5_ret_uint32 ( 3690 krb5_storage */*sp*/, 3691 uint32_t */*value*/); 3692 3693 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3694 krb5_ret_uint8 ( 3695 krb5_storage */*sp*/, 3696 uint8_t */*value*/); 3697 3698 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3699 krb5_salttype_to_string ( 3700 krb5_context /*context*/, 3701 krb5_enctype /*etype*/, 3702 krb5_salttype /*stype*/, 3703 char **/*string*/); 3704 3705 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3706 krb5_sendauth ( 3707 krb5_context /*context*/, 3708 krb5_auth_context */*auth_context*/, 3709 krb5_pointer /*p_fd*/, 3710 const char */*appl_version*/, 3711 krb5_principal /*client*/, 3712 krb5_principal /*server*/, 3713 krb5_flags /*ap_req_options*/, 3714 krb5_data */*in_data*/, 3715 krb5_creds */*in_creds*/, 3716 krb5_ccache /*ccache*/, 3717 krb5_error **/*ret_error*/, 3718 krb5_ap_rep_enc_part **/*rep_result*/, 3719 krb5_creds **/*out_creds*/); 3720 3721 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3722 krb5_sendto ( 3723 krb5_context /*context*/, 3724 const krb5_data */*send_data*/, 3725 krb5_krbhst_handle /*handle*/, 3726 krb5_data */*receive*/); 3727 3728 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3729 krb5_sendto_context ( 3730 krb5_context /*context*/, 3731 krb5_sendto_ctx /*ctx*/, 3732 const krb5_data */*send_data*/, 3733 const krb5_realm /*realm*/, 3734 krb5_data */*receive*/); 3735 3736 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3737 krb5_sendto_ctx_add_flags ( 3738 krb5_sendto_ctx /*ctx*/, 3739 int /*flags*/); 3740 3741 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3742 krb5_sendto_ctx_alloc ( 3743 krb5_context /*context*/, 3744 krb5_sendto_ctx */*ctx*/); 3745 3746 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3747 krb5_sendto_ctx_free ( 3748 krb5_context /*context*/, 3749 krb5_sendto_ctx /*ctx*/); 3750 3751 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 3752 krb5_sendto_ctx_get_flags (krb5_sendto_ctx /*ctx*/); 3753 3754 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3755 krb5_sendto_ctx_set_func ( 3756 krb5_sendto_ctx /*ctx*/, 3757 krb5_sendto_ctx_func /*func*/, 3758 void */*data*/); 3759 3760 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3761 krb5_sendto_ctx_set_type ( 3762 krb5_sendto_ctx /*ctx*/, 3763 int /*type*/); 3764 3765 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3766 krb5_sendto_kdc ( 3767 krb5_context /*context*/, 3768 const krb5_data */*send_data*/, 3769 const krb5_realm */*realm*/, 3770 krb5_data */*receive*/); 3771 3772 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3773 krb5_sendto_kdc_flags ( 3774 krb5_context /*context*/, 3775 const krb5_data */*send_data*/, 3776 const krb5_realm */*realm*/, 3777 krb5_data */*receive*/, 3778 int /*flags*/); 3779 3780 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3781 krb5_set_config_files ( 3782 krb5_context /*context*/, 3783 char **/*filenames*/); 3784 3785 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3786 krb5_set_default_in_tkt_etypes ( 3787 krb5_context /*context*/, 3788 const krb5_enctype */*etypes*/); 3789 3790 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3791 krb5_set_default_realm ( 3792 krb5_context /*context*/, 3793 const char */*realm*/); 3794 3795 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3796 krb5_set_dns_canonicalize_hostname ( 3797 krb5_context /*context*/, 3798 krb5_boolean /*flag*/); 3799 3800 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3801 krb5_set_error_message ( 3802 krb5_context /*context*/, 3803 krb5_error_code /*ret*/, 3804 const char */*fmt*/, 3805 ...) 3806 __attribute__ ((format (printf, 3, 4))); 3807 3808 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3809 krb5_set_error_string ( 3810 krb5_context /*context*/, 3811 const char */*fmt*/, 3812 ...) 3813 __attribute__((format (printf, 2, 3))) KRB5_DEPRECATED_FUNCTION("Use X instead"); 3814 3815 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3816 krb5_set_extra_addresses ( 3817 krb5_context /*context*/, 3818 const krb5_addresses */*addresses*/); 3819 3820 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3821 krb5_set_fcache_version ( 3822 krb5_context /*context*/, 3823 int /*version*/); 3824 3825 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3826 krb5_set_home_dir_access ( 3827 krb5_context /*context*/, 3828 krb5_boolean /*allow*/); 3829 3830 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3831 krb5_set_ignore_addresses ( 3832 krb5_context /*context*/, 3833 const krb5_addresses */*addresses*/); 3834 3835 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3836 krb5_set_kdc_sec_offset ( 3837 krb5_context /*context*/, 3838 int32_t /*sec*/, 3839 int32_t /*usec*/); 3840 3841 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3842 krb5_set_max_time_skew ( 3843 krb5_context /*context*/, 3844 time_t /*t*/); 3845 3846 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3847 krb5_set_password ( 3848 krb5_context /*context*/, 3849 krb5_creds */*creds*/, 3850 const char */*newpw*/, 3851 krb5_principal /*targprinc*/, 3852 int */*result_code*/, 3853 krb5_data */*result_code_string*/, 3854 krb5_data */*result_string*/); 3855 3856 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3857 krb5_set_password_using_ccache ( 3858 krb5_context /*context*/, 3859 krb5_ccache /*ccache*/, 3860 const char */*newpw*/, 3861 krb5_principal /*targprinc*/, 3862 int */*result_code*/, 3863 krb5_data */*result_code_string*/, 3864 krb5_data */*result_string*/); 3865 3866 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3867 krb5_set_real_time ( 3868 krb5_context /*context*/, 3869 krb5_timestamp /*sec*/, 3870 int32_t /*usec*/); 3871 3872 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3873 krb5_set_send_to_kdc_func ( 3874 krb5_context /*context*/, 3875 krb5_send_to_kdc_func /*func*/, 3876 void */*data*/); 3877 3878 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3879 krb5_set_use_admin_kdc ( 3880 krb5_context /*context*/, 3881 krb5_boolean /*flag*/); 3882 3883 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3884 krb5_set_warn_dest ( 3885 krb5_context /*context*/, 3886 krb5_log_facility */*fac*/); 3887 3888 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3889 krb5_sname_to_principal ( 3890 krb5_context /*context*/, 3891 const char */*hostname*/, 3892 const char */*sname*/, 3893 int32_t /*type*/, 3894 krb5_principal */*ret_princ*/); 3895 3896 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3897 krb5_sock_to_principal ( 3898 krb5_context /*context*/, 3899 int /*sock*/, 3900 const char */*sname*/, 3901 int32_t /*type*/, 3902 krb5_principal */*ret_princ*/); 3903 3904 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3905 krb5_sockaddr2address ( 3906 krb5_context /*context*/, 3907 const struct sockaddr */*sa*/, 3908 krb5_address */*addr*/); 3909 3910 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3911 krb5_sockaddr2port ( 3912 krb5_context /*context*/, 3913 const struct sockaddr */*sa*/, 3914 int16_t */*port*/); 3915 3916 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3917 krb5_sockaddr_is_loopback (const struct sockaddr */*sa*/); 3918 3919 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3920 krb5_sockaddr_uninteresting (const struct sockaddr */*sa*/); 3921 3922 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3923 krb5_std_usage ( 3924 int /*code*/, 3925 struct getargs */*args*/, 3926 int /*num_args*/); 3927 3928 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3929 krb5_storage_clear_flags ( 3930 krb5_storage */*sp*/, 3931 krb5_flags /*flags*/); 3932 3933 KRB5_LIB_FUNCTION krb5_storage * KRB5_LIB_CALL 3934 krb5_storage_emem (void); 3935 3936 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3937 krb5_storage_free (krb5_storage */*sp*/); 3938 3939 KRB5_LIB_FUNCTION krb5_storage * KRB5_LIB_CALL 3940 krb5_storage_from_data (krb5_data */*data*/); 3941 3942 KRB5_LIB_FUNCTION krb5_storage * KRB5_LIB_CALL 3943 krb5_storage_from_fd (krb5_socket_t /*fd_in*/); 3944 3945 KRB5_LIB_FUNCTION krb5_storage * KRB5_LIB_CALL 3946 krb5_storage_from_mem ( 3947 void */*buf*/, 3948 size_t /*len*/); 3949 3950 KRB5_LIB_FUNCTION krb5_storage * KRB5_LIB_CALL 3951 krb5_storage_from_readonly_mem ( 3952 const void */*buf*/, 3953 size_t /*len*/); 3954 3955 KRB5_LIB_FUNCTION krb5_flags KRB5_LIB_CALL 3956 krb5_storage_get_byteorder (krb5_storage */*sp*/); 3957 3958 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 3959 krb5_storage_get_eof_code (krb5_storage */*sp*/); 3960 3961 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 3962 krb5_storage_is_flags ( 3963 krb5_storage */*sp*/, 3964 krb5_flags /*flags*/); 3965 3966 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 3967 krb5_storage_read ( 3968 krb5_storage */*sp*/, 3969 void */*buf*/, 3970 size_t /*len*/); 3971 3972 KRB5_LIB_FUNCTION off_t KRB5_LIB_CALL 3973 krb5_storage_seek ( 3974 krb5_storage */*sp*/, 3975 off_t /*offset*/, 3976 int /*whence*/); 3977 3978 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3979 krb5_storage_set_byteorder ( 3980 krb5_storage */*sp*/, 3981 krb5_flags /*byteorder*/); 3982 3983 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3984 krb5_storage_set_eof_code ( 3985 krb5_storage */*sp*/, 3986 int /*code*/); 3987 3988 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3989 krb5_storage_set_flags ( 3990 krb5_storage */*sp*/, 3991 krb5_flags /*flags*/); 3992 3993 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 3994 krb5_storage_set_max_alloc ( 3995 krb5_storage */*sp*/, 3996 size_t /*size*/); 3997 3998 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 3999 krb5_storage_to_data ( 4000 krb5_storage */*sp*/, 4001 krb5_data */*data*/); 4002 4003 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 4004 krb5_storage_truncate ( 4005 krb5_storage */*sp*/, 4006 off_t /*offset*/); 4007 4008 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 4009 krb5_storage_write ( 4010 krb5_storage */*sp*/, 4011 const void */*buf*/, 4012 size_t /*len*/); 4013 4014 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4015 krb5_store_address ( 4016 krb5_storage */*sp*/, 4017 krb5_address /*p*/); 4018 4019 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4020 krb5_store_addrs ( 4021 krb5_storage */*sp*/, 4022 krb5_addresses /*p*/); 4023 4024 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4025 krb5_store_authdata ( 4026 krb5_storage */*sp*/, 4027 krb5_authdata /*auth*/); 4028 4029 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4030 krb5_store_creds ( 4031 krb5_storage */*sp*/, 4032 krb5_creds */*creds*/); 4033 4034 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4035 krb5_store_creds_tag ( 4036 krb5_storage */*sp*/, 4037 krb5_creds */*creds*/); 4038 4039 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4040 krb5_store_data ( 4041 krb5_storage */*sp*/, 4042 krb5_data /*data*/); 4043 4044 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4045 krb5_store_int16 ( 4046 krb5_storage */*sp*/, 4047 int16_t /*value*/); 4048 4049 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4050 krb5_store_int32 ( 4051 krb5_storage */*sp*/, 4052 int32_t /*value*/); 4053 4054 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4055 krb5_store_int8 ( 4056 krb5_storage */*sp*/, 4057 int8_t /*value*/); 4058 4059 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4060 krb5_store_keyblock ( 4061 krb5_storage */*sp*/, 4062 krb5_keyblock /*p*/); 4063 4064 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4065 krb5_store_principal ( 4066 krb5_storage */*sp*/, 4067 krb5_const_principal /*p*/); 4068 4069 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4070 krb5_store_string ( 4071 krb5_storage */*sp*/, 4072 const char */*s*/); 4073 4074 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4075 krb5_store_stringnl ( 4076 krb5_storage */*sp*/, 4077 const char */*s*/); 4078 4079 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4080 krb5_store_stringz ( 4081 krb5_storage */*sp*/, 4082 const char */*s*/); 4083 4084 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4085 krb5_store_times ( 4086 krb5_storage */*sp*/, 4087 krb5_times /*times*/); 4088 4089 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4090 krb5_store_uint16 ( 4091 krb5_storage */*sp*/, 4092 uint16_t /*value*/); 4093 4094 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4095 krb5_store_uint32 ( 4096 krb5_storage */*sp*/, 4097 uint32_t /*value*/); 4098 4099 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4100 krb5_store_uint8 ( 4101 krb5_storage */*sp*/, 4102 uint8_t /*value*/); 4103 4104 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4105 krb5_string_to_deltat ( 4106 const char */*string*/, 4107 krb5_deltat */*deltat*/); 4108 4109 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4110 krb5_string_to_enctype ( 4111 krb5_context /*context*/, 4112 const char */*string*/, 4113 krb5_enctype */*etype*/); 4114 4115 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4116 krb5_string_to_key ( 4117 krb5_context /*context*/, 4118 krb5_enctype /*enctype*/, 4119 const char */*password*/, 4120 krb5_principal /*principal*/, 4121 krb5_keyblock */*key*/); 4122 4123 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4124 krb5_string_to_key_data ( 4125 krb5_context /*context*/, 4126 krb5_enctype /*enctype*/, 4127 krb5_data /*password*/, 4128 krb5_principal /*principal*/, 4129 krb5_keyblock */*key*/); 4130 4131 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4132 krb5_string_to_key_data_salt ( 4133 krb5_context /*context*/, 4134 krb5_enctype /*enctype*/, 4135 krb5_data /*password*/, 4136 krb5_salt /*salt*/, 4137 krb5_keyblock */*key*/); 4138 4139 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4140 krb5_string_to_key_data_salt_opaque ( 4141 krb5_context /*context*/, 4142 krb5_enctype /*enctype*/, 4143 krb5_data /*password*/, 4144 krb5_salt /*salt*/, 4145 krb5_data /*opaque*/, 4146 krb5_keyblock */*key*/); 4147 4148 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4149 krb5_string_to_key_derived ( 4150 krb5_context /*context*/, 4151 const void */*str*/, 4152 size_t /*len*/, 4153 krb5_enctype /*etype*/, 4154 krb5_keyblock */*key*/); 4155 4156 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4157 krb5_string_to_key_salt ( 4158 krb5_context /*context*/, 4159 krb5_enctype /*enctype*/, 4160 const char */*password*/, 4161 krb5_salt /*salt*/, 4162 krb5_keyblock */*key*/); 4163 4164 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4165 krb5_string_to_key_salt_opaque ( 4166 krb5_context /*context*/, 4167 krb5_enctype /*enctype*/, 4168 const char */*password*/, 4169 krb5_salt /*salt*/, 4170 krb5_data /*opaque*/, 4171 krb5_keyblock */*key*/); 4172 4173 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4174 krb5_string_to_keytype ( 4175 krb5_context /*context*/, 4176 const char */*string*/, 4177 krb5_keytype */*keytype*/) 4178 KRB5_DEPRECATED_FUNCTION("Use X instead"); 4179 4180 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4181 krb5_string_to_salttype ( 4182 krb5_context /*context*/, 4183 krb5_enctype /*etype*/, 4184 const char */*string*/, 4185 krb5_salttype */*salttype*/); 4186 4187 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4188 krb5_ticket_get_authorization_data_type ( 4189 krb5_context /*context*/, 4190 krb5_ticket */*ticket*/, 4191 int /*type*/, 4192 krb5_data */*data*/); 4193 4194 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4195 krb5_ticket_get_client ( 4196 krb5_context /*context*/, 4197 const krb5_ticket */*ticket*/, 4198 krb5_principal */*client*/); 4199 4200 KRB5_LIB_FUNCTION time_t KRB5_LIB_CALL 4201 krb5_ticket_get_endtime ( 4202 krb5_context /*context*/, 4203 const krb5_ticket */*ticket*/); 4204 4205 KRB5_LIB_FUNCTION unsigned long KRB5_LIB_CALL 4206 krb5_ticket_get_flags ( 4207 krb5_context /*context*/, 4208 const krb5_ticket */*ticket*/); 4209 4210 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4211 krb5_ticket_get_server ( 4212 krb5_context /*context*/, 4213 const krb5_ticket */*ticket*/, 4214 krb5_principal */*server*/); 4215 4216 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4217 krb5_timeofday ( 4218 krb5_context /*context*/, 4219 krb5_timestamp */*timeret*/); 4220 4221 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4222 krb5_unparse_name ( 4223 krb5_context /*context*/, 4224 krb5_const_principal /*principal*/, 4225 char **/*name*/); 4226 4227 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4228 krb5_unparse_name_fixed ( 4229 krb5_context /*context*/, 4230 krb5_const_principal /*principal*/, 4231 char */*name*/, 4232 size_t /*len*/); 4233 4234 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4235 krb5_unparse_name_fixed_flags ( 4236 krb5_context /*context*/, 4237 krb5_const_principal /*principal*/, 4238 int /*flags*/, 4239 char */*name*/, 4240 size_t /*len*/); 4241 4242 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4243 krb5_unparse_name_fixed_short ( 4244 krb5_context /*context*/, 4245 krb5_const_principal /*principal*/, 4246 char */*name*/, 4247 size_t /*len*/); 4248 4249 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4250 krb5_unparse_name_flags ( 4251 krb5_context /*context*/, 4252 krb5_const_principal /*principal*/, 4253 int /*flags*/, 4254 char **/*name*/); 4255 4256 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4257 krb5_unparse_name_short ( 4258 krb5_context /*context*/, 4259 krb5_const_principal /*principal*/, 4260 char **/*name*/); 4261 4262 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4263 krb5_us_timeofday ( 4264 krb5_context /*context*/, 4265 krb5_timestamp */*sec*/, 4266 int32_t */*usec*/); 4267 4268 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4269 krb5_vabort ( 4270 krb5_context /*context*/, 4271 krb5_error_code /*code*/, 4272 const char */*fmt*/, 4273 va_list /*ap*/) 4274 __attribute__ ((noreturn, format (printf, 3, 0))); 4275 4276 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4277 krb5_vabortx ( 4278 krb5_context /*context*/, 4279 const char */*fmt*/, 4280 va_list /*ap*/) 4281 __attribute__ ((noreturn, format (printf, 2, 0))); 4282 4283 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4284 krb5_verify_ap_req ( 4285 krb5_context /*context*/, 4286 krb5_auth_context */*auth_context*/, 4287 krb5_ap_req */*ap_req*/, 4288 krb5_const_principal /*server*/, 4289 krb5_keyblock */*keyblock*/, 4290 krb5_flags /*flags*/, 4291 krb5_flags */*ap_req_options*/, 4292 krb5_ticket **/*ticket*/); 4293 4294 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4295 krb5_verify_ap_req2 ( 4296 krb5_context /*context*/, 4297 krb5_auth_context */*auth_context*/, 4298 krb5_ap_req */*ap_req*/, 4299 krb5_const_principal /*server*/, 4300 krb5_keyblock */*keyblock*/, 4301 krb5_flags /*flags*/, 4302 krb5_flags */*ap_req_options*/, 4303 krb5_ticket **/*ticket*/, 4304 krb5_key_usage /*usage*/); 4305 4306 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4307 krb5_verify_authenticator_checksum ( 4308 krb5_context /*context*/, 4309 krb5_auth_context /*ac*/, 4310 void */*data*/, 4311 size_t /*len*/); 4312 4313 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4314 krb5_verify_checksum ( 4315 krb5_context /*context*/, 4316 krb5_crypto /*crypto*/, 4317 krb5_key_usage /*usage*/, 4318 void */*data*/, 4319 size_t /*len*/, 4320 Checksum */*cksum*/); 4321 4322 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4323 krb5_verify_checksum_iov ( 4324 krb5_context /*context*/, 4325 krb5_crypto /*crypto*/, 4326 unsigned /*usage*/, 4327 krb5_crypto_iov */*data*/, 4328 unsigned int /*num_data*/, 4329 krb5_cksumtype */*type*/); 4330 4331 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4332 krb5_verify_init_creds ( 4333 krb5_context /*context*/, 4334 krb5_creds */*creds*/, 4335 krb5_principal /*ap_req_server*/, 4336 krb5_keytab /*ap_req_keytab*/, 4337 krb5_ccache */*ccache*/, 4338 krb5_verify_init_creds_opt */*options*/); 4339 4340 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4341 krb5_verify_init_creds_opt_init (krb5_verify_init_creds_opt */*options*/); 4342 4343 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4344 krb5_verify_init_creds_opt_set_ap_req_nofail ( 4345 krb5_verify_init_creds_opt */*options*/, 4346 int /*ap_req_nofail*/); 4347 4348 KRB5_LIB_FUNCTION int KRB5_LIB_CALL 4349 krb5_verify_opt_alloc ( 4350 krb5_context /*context*/, 4351 krb5_verify_opt **/*opt*/); 4352 4353 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4354 krb5_verify_opt_free (krb5_verify_opt */*opt*/); 4355 4356 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4357 krb5_verify_opt_init (krb5_verify_opt */*opt*/); 4358 4359 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4360 krb5_verify_opt_set_ccache ( 4361 krb5_verify_opt */*opt*/, 4362 krb5_ccache /*ccache*/); 4363 4364 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4365 krb5_verify_opt_set_flags ( 4366 krb5_verify_opt */*opt*/, 4367 unsigned int /*flags*/); 4368 4369 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4370 krb5_verify_opt_set_keytab ( 4371 krb5_verify_opt */*opt*/, 4372 krb5_keytab /*keytab*/); 4373 4374 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4375 krb5_verify_opt_set_secure ( 4376 krb5_verify_opt */*opt*/, 4377 krb5_boolean /*secure*/); 4378 4379 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4380 krb5_verify_opt_set_service ( 4381 krb5_verify_opt */*opt*/, 4382 const char */*service*/); 4383 4384 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4385 krb5_verify_user ( 4386 krb5_context /*context*/, 4387 krb5_principal /*principal*/, 4388 krb5_ccache /*ccache*/, 4389 const char */*password*/, 4390 krb5_boolean /*secure*/, 4391 const char */*service*/); 4392 4393 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4394 krb5_verify_user_lrealm ( 4395 krb5_context /*context*/, 4396 krb5_principal /*principal*/, 4397 krb5_ccache /*ccache*/, 4398 const char */*password*/, 4399 krb5_boolean /*secure*/, 4400 const char */*service*/); 4401 4402 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4403 krb5_verify_user_opt ( 4404 krb5_context /*context*/, 4405 krb5_principal /*principal*/, 4406 const char */*password*/, 4407 krb5_verify_opt */*opt*/); 4408 4409 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4410 krb5_verr ( 4411 krb5_context /*context*/, 4412 int /*eval*/, 4413 krb5_error_code /*code*/, 4414 const char */*fmt*/, 4415 va_list /*ap*/) 4416 __attribute__ ((noreturn, format (printf, 4, 0))); 4417 4418 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4419 krb5_verrx ( 4420 krb5_context /*context*/, 4421 int /*eval*/, 4422 const char */*fmt*/, 4423 va_list /*ap*/) 4424 __attribute__ ((noreturn, format (printf, 3, 0))); 4425 4426 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4427 krb5_vlog ( 4428 krb5_context /*context*/, 4429 krb5_log_facility */*fac*/, 4430 int /*level*/, 4431 const char */*fmt*/, 4432 va_list /*ap*/) 4433 __attribute__((format (printf, 4, 0))); 4434 4435 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4436 krb5_vlog_msg ( 4437 krb5_context /*context*/, 4438 krb5_log_facility */*fac*/, 4439 char **/*reply*/, 4440 int /*level*/, 4441 const char */*fmt*/, 4442 va_list /*ap*/) 4443 __attribute__((format (printf, 5, 0))); 4444 4445 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4446 krb5_vprepend_error_message ( 4447 krb5_context /*context*/, 4448 krb5_error_code /*ret*/, 4449 const char */*fmt*/, 4450 va_list /*args*/) 4451 __attribute__ ((format (printf, 3, 0))); 4452 4453 KRB5_LIB_FUNCTION void KRB5_LIB_CALL 4454 krb5_vset_error_message ( 4455 krb5_context /*context*/, 4456 krb5_error_code /*ret*/, 4457 const char */*fmt*/, 4458 va_list /*args*/) 4459 __attribute__ ((format (printf, 3, 0))); 4460 4461 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4462 krb5_vset_error_string ( 4463 krb5_context /*context*/, 4464 const char */*fmt*/, 4465 va_list /*args*/) 4466 __attribute__ ((format (printf, 2, 0))) KRB5_DEPRECATED_FUNCTION("Use X instead"); 4467 4468 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4469 krb5_vwarn ( 4470 krb5_context /*context*/, 4471 krb5_error_code /*code*/, 4472 const char */*fmt*/, 4473 va_list /*ap*/) 4474 __attribute__ ((format (printf, 3, 0))); 4475 4476 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4477 krb5_vwarnx ( 4478 krb5_context /*context*/, 4479 const char */*fmt*/, 4480 va_list /*ap*/) 4481 __attribute__ ((format (printf, 2, 0))); 4482 4483 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4484 krb5_warn ( 4485 krb5_context /*context*/, 4486 krb5_error_code /*code*/, 4487 const char */*fmt*/, 4488 ...) 4489 __attribute__ ((format (printf, 3, 4))); 4490 4491 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4492 krb5_warnx ( 4493 krb5_context /*context*/, 4494 const char */*fmt*/, 4495 ...) 4496 __attribute__ ((format (printf, 2, 3))); 4497 4498 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4499 krb5_write_message ( 4500 krb5_context /*context*/, 4501 krb5_pointer /*p_fd*/, 4502 krb5_data */*data*/); 4503 4504 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4505 krb5_write_priv_message ( 4506 krb5_context /*context*/, 4507 krb5_auth_context /*ac*/, 4508 krb5_pointer /*p_fd*/, 4509 krb5_data */*data*/); 4510 4511 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4512 krb5_write_safe_message ( 4513 krb5_context /*context*/, 4514 krb5_auth_context /*ac*/, 4515 krb5_pointer /*p_fd*/, 4516 krb5_data */*data*/); 4517 4518 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 4519 krb5_xfree (void */*ptr*/); 4520 4521 #ifdef __cplusplus 4522 } 4523 #endif 4524 4525 #undef KRB5_DEPRECATED_FUNCTION 4526 4527 #endif /* __krb5_protos_h__ */ 4528