r19681: Update to current lorikeet-heimdal. I'm looking at using the realm
[Samba.git] / source / heimdal / lib / krb5 / krb5-protos.h
blob8b61e8d7d250d57a37646c15279dd29fdb0b8136
1 /* This is a generated file */
2 #ifndef __krb5_protos_h__
3 #define __krb5_protos_h__
5 #include <stdarg.h>
7 #if !defined(__GNUC__) && !defined(__attribute__)
8 #define __attribute__(x)
9 #endif
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 #ifndef KRB5_LIB_FUNCTION
16 #if defined(_WIN32)
17 #define KRB5_LIB_FUNCTION _stdcall
18 #else
19 #define KRB5_LIB_FUNCTION
20 #endif
21 #endif
23 krb5_error_code KRB5_LIB_FUNCTION
24 krb524_convert_creds_kdc (
25 krb5_context /*context*/,
26 krb5_creds */*in_cred*/,
27 struct credentials */*v4creds*/);
29 krb5_error_code KRB5_LIB_FUNCTION
30 krb524_convert_creds_kdc_ccache (
31 krb5_context /*context*/,
32 krb5_ccache /*ccache*/,
33 krb5_creds */*in_cred*/,
34 struct credentials */*v4creds*/);
36 krb5_error_code KRB5_LIB_FUNCTION
37 krb5_425_conv_principal (
38 krb5_context /*context*/,
39 const char */*name*/,
40 const char */*instance*/,
41 const char */*realm*/,
42 krb5_principal */*princ*/);
44 krb5_error_code KRB5_LIB_FUNCTION
45 krb5_425_conv_principal_ext (
46 krb5_context /*context*/,
47 const char */*name*/,
48 const char */*instance*/,
49 const char */*realm*/,
50 krb5_boolean (*/*func*/)(krb5_context, krb5_principal),
51 krb5_boolean /*resolve*/,
52 krb5_principal */*principal*/);
54 krb5_error_code KRB5_LIB_FUNCTION
55 krb5_425_conv_principal_ext2 (
56 krb5_context /*context*/,
57 const char */*name*/,
58 const char */*instance*/,
59 const char */*realm*/,
60 krb5_boolean (*/*func*/)(krb5_context, void *, krb5_principal),
61 void */*funcctx*/,
62 krb5_boolean /*resolve*/,
63 krb5_principal */*princ*/);
65 krb5_error_code KRB5_LIB_FUNCTION
66 krb5_524_conv_principal (
67 krb5_context /*context*/,
68 const krb5_principal /*principal*/,
69 char */*name*/,
70 char */*instance*/,
71 char */*realm*/);
73 krb5_error_code KRB5_LIB_FUNCTION
74 krb5_abort (
75 krb5_context /*context*/,
76 krb5_error_code /*code*/,
77 const char */*fmt*/,
78 ...)
79 __attribute__ ((noreturn, format (printf, 3, 4)));
81 krb5_error_code KRB5_LIB_FUNCTION
82 krb5_abortx (
83 krb5_context /*context*/,
84 const char */*fmt*/,
85 ...)
86 __attribute__ ((noreturn, format (printf, 2, 3)));
88 krb5_error_code KRB5_LIB_FUNCTION
89 krb5_acl_match_file (
90 krb5_context /*context*/,
91 const char */*file*/,
92 const char */*format*/,
93 ...);
95 krb5_error_code KRB5_LIB_FUNCTION
96 krb5_acl_match_string (
97 krb5_context /*context*/,
98 const char */*string*/,
99 const char */*format*/,
100 ...);
102 krb5_error_code KRB5_LIB_FUNCTION
103 krb5_add_et_list (
104 krb5_context /*context*/,
105 void (*/*func*/)(struct et_list **));
107 krb5_error_code KRB5_LIB_FUNCTION
108 krb5_add_extra_addresses (
109 krb5_context /*context*/,
110 krb5_addresses */*addresses*/);
112 krb5_error_code KRB5_LIB_FUNCTION
113 krb5_add_ignore_addresses (
114 krb5_context /*context*/,
115 krb5_addresses */*addresses*/);
117 krb5_error_code KRB5_LIB_FUNCTION
118 krb5_addlog_dest (
119 krb5_context /*context*/,
120 krb5_log_facility */*f*/,
121 const char */*orig*/);
123 krb5_error_code KRB5_LIB_FUNCTION
124 krb5_addlog_func (
125 krb5_context /*context*/,
126 krb5_log_facility */*fac*/,
127 int /*min*/,
128 int /*max*/,
129 krb5_log_log_func_t /*log_func*/,
130 krb5_log_close_func_t /*close_func*/,
131 void */*data*/);
133 krb5_error_code KRB5_LIB_FUNCTION
134 krb5_addr2sockaddr (
135 krb5_context /*context*/,
136 const krb5_address */*addr*/,
137 struct sockaddr */*sa*/,
138 krb5_socklen_t */*sa_size*/,
139 int /*port*/);
141 krb5_boolean KRB5_LIB_FUNCTION
142 krb5_address_compare (
143 krb5_context /*context*/,
144 const krb5_address */*addr1*/,
145 const krb5_address */*addr2*/);
147 int KRB5_LIB_FUNCTION
148 krb5_address_order (
149 krb5_context /*context*/,
150 const krb5_address */*addr1*/,
151 const krb5_address */*addr2*/);
153 krb5_error_code KRB5_LIB_FUNCTION
154 krb5_address_prefixlen_boundary (
155 krb5_context /*context*/,
156 const krb5_address */*inaddr*/,
157 unsigned long /*prefixlen*/,
158 krb5_address */*low*/,
159 krb5_address */*high*/);
161 krb5_boolean KRB5_LIB_FUNCTION
162 krb5_address_search (
163 krb5_context /*context*/,
164 const krb5_address */*addr*/,
165 const krb5_addresses */*addrlist*/);
167 krb5_error_code KRB5_LIB_FUNCTION
168 krb5_aname_to_localname (
169 krb5_context /*context*/,
170 krb5_const_principal /*aname*/,
171 size_t /*lnsize*/,
172 char */*lname*/);
174 krb5_error_code KRB5_LIB_FUNCTION
175 krb5_anyaddr (
176 krb5_context /*context*/,
177 int /*af*/,
178 struct sockaddr */*sa*/,
179 krb5_socklen_t */*sa_size*/,
180 int /*port*/);
182 void KRB5_LIB_FUNCTION
183 krb5_appdefault_boolean (
184 krb5_context /*context*/,
185 const char */*appname*/,
186 krb5_const_realm /*realm*/,
187 const char */*option*/,
188 krb5_boolean /*def_val*/,
189 krb5_boolean */*ret_val*/);
191 void KRB5_LIB_FUNCTION
192 krb5_appdefault_string (
193 krb5_context /*context*/,
194 const char */*appname*/,
195 krb5_const_realm /*realm*/,
196 const char */*option*/,
197 const char */*def_val*/,
198 char **/*ret_val*/);
200 void KRB5_LIB_FUNCTION
201 krb5_appdefault_time (
202 krb5_context /*context*/,
203 const char */*appname*/,
204 krb5_const_realm /*realm*/,
205 const char */*option*/,
206 time_t /*def_val*/,
207 time_t */*ret_val*/);
209 krb5_error_code KRB5_LIB_FUNCTION
210 krb5_append_addresses (
211 krb5_context /*context*/,
212 krb5_addresses */*dest*/,
213 const krb5_addresses */*source*/);
215 krb5_error_code KRB5_LIB_FUNCTION
216 krb5_auth_con_addflags (
217 krb5_context /*context*/,
218 krb5_auth_context /*auth_context*/,
219 int32_t /*addflags*/,
220 int32_t */*flags*/);
222 krb5_error_code KRB5_LIB_FUNCTION
223 krb5_auth_con_free (
224 krb5_context /*context*/,
225 krb5_auth_context /*auth_context*/);
227 krb5_error_code KRB5_LIB_FUNCTION
228 krb5_auth_con_genaddrs (
229 krb5_context /*context*/,
230 krb5_auth_context /*auth_context*/,
231 int /*fd*/,
232 int /*flags*/);
234 krb5_error_code KRB5_LIB_FUNCTION
235 krb5_auth_con_generatelocalsubkey (
236 krb5_context /*context*/,
237 krb5_auth_context /*auth_context*/,
238 krb5_keyblock */*key*/);
240 krb5_error_code KRB5_LIB_FUNCTION
241 krb5_auth_con_getaddrs (
242 krb5_context /*context*/,
243 krb5_auth_context /*auth_context*/,
244 krb5_address **/*local_addr*/,
245 krb5_address **/*remote_addr*/);
247 krb5_error_code KRB5_LIB_FUNCTION
248 krb5_auth_con_getauthenticator (
249 krb5_context /*context*/,
250 krb5_auth_context /*auth_context*/,
251 krb5_authenticator */*authenticator*/);
253 krb5_error_code KRB5_LIB_FUNCTION
254 krb5_auth_con_getcksumtype (
255 krb5_context /*context*/,
256 krb5_auth_context /*auth_context*/,
257 krb5_cksumtype */*cksumtype*/);
259 krb5_error_code KRB5_LIB_FUNCTION
260 krb5_auth_con_getflags (
261 krb5_context /*context*/,
262 krb5_auth_context /*auth_context*/,
263 int32_t */*flags*/);
265 krb5_error_code KRB5_LIB_FUNCTION
266 krb5_auth_con_getkey (
267 krb5_context /*context*/,
268 krb5_auth_context /*auth_context*/,
269 krb5_keyblock **/*keyblock*/);
271 krb5_error_code KRB5_LIB_FUNCTION
272 krb5_auth_con_getkeytype (
273 krb5_context /*context*/,
274 krb5_auth_context /*auth_context*/,
275 krb5_keytype */*keytype*/);
277 krb5_error_code KRB5_LIB_FUNCTION
278 krb5_auth_con_getlocalseqnumber (
279 krb5_context /*context*/,
280 krb5_auth_context /*auth_context*/,
281 int32_t */*seqnumber*/);
283 krb5_error_code KRB5_LIB_FUNCTION
284 krb5_auth_con_getlocalsubkey (
285 krb5_context /*context*/,
286 krb5_auth_context /*auth_context*/,
287 krb5_keyblock **/*keyblock*/);
289 krb5_error_code KRB5_LIB_FUNCTION
290 krb5_auth_con_getrcache (
291 krb5_context /*context*/,
292 krb5_auth_context /*auth_context*/,
293 krb5_rcache */*rcache*/);
295 krb5_error_code KRB5_LIB_FUNCTION
296 krb5_auth_con_getremotesubkey (
297 krb5_context /*context*/,
298 krb5_auth_context /*auth_context*/,
299 krb5_keyblock **/*keyblock*/);
301 krb5_error_code KRB5_LIB_FUNCTION
302 krb5_auth_con_init (
303 krb5_context /*context*/,
304 krb5_auth_context */*auth_context*/);
306 krb5_error_code KRB5_LIB_FUNCTION
307 krb5_auth_con_removeflags (
308 krb5_context /*context*/,
309 krb5_auth_context /*auth_context*/,
310 int32_t /*removeflags*/,
311 int32_t */*flags*/);
313 krb5_error_code KRB5_LIB_FUNCTION
314 krb5_auth_con_setaddrs (
315 krb5_context /*context*/,
316 krb5_auth_context /*auth_context*/,
317 krb5_address */*local_addr*/,
318 krb5_address */*remote_addr*/);
320 krb5_error_code KRB5_LIB_FUNCTION
321 krb5_auth_con_setaddrs_from_fd (
322 krb5_context /*context*/,
323 krb5_auth_context /*auth_context*/,
324 void */*p_fd*/);
326 krb5_error_code KRB5_LIB_FUNCTION
327 krb5_auth_con_setcksumtype (
328 krb5_context /*context*/,
329 krb5_auth_context /*auth_context*/,
330 krb5_cksumtype /*cksumtype*/);
332 krb5_error_code KRB5_LIB_FUNCTION
333 krb5_auth_con_setflags (
334 krb5_context /*context*/,
335 krb5_auth_context /*auth_context*/,
336 int32_t /*flags*/);
338 krb5_error_code KRB5_LIB_FUNCTION
339 krb5_auth_con_setkey (
340 krb5_context /*context*/,
341 krb5_auth_context /*auth_context*/,
342 krb5_keyblock */*keyblock*/);
344 krb5_error_code KRB5_LIB_FUNCTION
345 krb5_auth_con_setkeytype (
346 krb5_context /*context*/,
347 krb5_auth_context /*auth_context*/,
348 krb5_keytype /*keytype*/);
350 krb5_error_code KRB5_LIB_FUNCTION
351 krb5_auth_con_setlocalseqnumber (
352 krb5_context /*context*/,
353 krb5_auth_context /*auth_context*/,
354 int32_t /*seqnumber*/);
356 krb5_error_code KRB5_LIB_FUNCTION
357 krb5_auth_con_setlocalsubkey (
358 krb5_context /*context*/,
359 krb5_auth_context /*auth_context*/,
360 krb5_keyblock */*keyblock*/);
362 krb5_error_code KRB5_LIB_FUNCTION
363 krb5_auth_con_setrcache (
364 krb5_context /*context*/,
365 krb5_auth_context /*auth_context*/,
366 krb5_rcache /*rcache*/);
368 krb5_error_code KRB5_LIB_FUNCTION
369 krb5_auth_con_setremoteseqnumber (
370 krb5_context /*context*/,
371 krb5_auth_context /*auth_context*/,
372 int32_t /*seqnumber*/);
374 krb5_error_code KRB5_LIB_FUNCTION
375 krb5_auth_con_setremotesubkey (
376 krb5_context /*context*/,
377 krb5_auth_context /*auth_context*/,
378 krb5_keyblock */*keyblock*/);
380 krb5_error_code KRB5_LIB_FUNCTION
381 krb5_auth_con_setuserkey (
382 krb5_context /*context*/,
383 krb5_auth_context /*auth_context*/,
384 krb5_keyblock */*keyblock*/);
386 krb5_error_code KRB5_LIB_FUNCTION
387 krb5_auth_getremoteseqnumber (
388 krb5_context /*context*/,
389 krb5_auth_context /*auth_context*/,
390 int32_t */*seqnumber*/);
392 krb5_error_code KRB5_LIB_FUNCTION
393 krb5_build_ap_req (
394 krb5_context /*context*/,
395 krb5_enctype /*enctype*/,
396 krb5_creds */*cred*/,
397 krb5_flags /*ap_options*/,
398 krb5_data /*authenticator*/,
399 krb5_data */*retdata*/);
401 krb5_error_code KRB5_LIB_FUNCTION
402 krb5_build_authenticator (
403 krb5_context /*context*/,
404 krb5_auth_context /*auth_context*/,
405 krb5_enctype /*enctype*/,
406 krb5_creds */*cred*/,
407 Checksum */*cksum*/,
408 Authenticator **/*auth_result*/,
409 krb5_data */*result*/,
410 krb5_key_usage /*usage*/);
412 krb5_error_code KRB5_LIB_FUNCTION
413 krb5_build_principal (
414 krb5_context /*context*/,
415 krb5_principal */*principal*/,
416 int /*rlen*/,
417 krb5_const_realm /*realm*/,
418 ...);
420 krb5_error_code KRB5_LIB_FUNCTION
421 krb5_build_principal_ext (
422 krb5_context /*context*/,
423 krb5_principal */*principal*/,
424 int /*rlen*/,
425 krb5_const_realm /*realm*/,
426 ...);
428 krb5_error_code KRB5_LIB_FUNCTION
429 krb5_build_principal_va (
430 krb5_context /*context*/,
431 krb5_principal */*principal*/,
432 int /*rlen*/,
433 krb5_const_realm /*realm*/,
434 va_list /*ap*/);
436 krb5_error_code KRB5_LIB_FUNCTION
437 krb5_build_principal_va_ext (
438 krb5_context /*context*/,
439 krb5_principal */*principal*/,
440 int /*rlen*/,
441 krb5_const_realm /*realm*/,
442 va_list /*ap*/);
444 krb5_error_code KRB5_LIB_FUNCTION
445 krb5_c_block_size (
446 krb5_context /*context*/,
447 krb5_enctype /*enctype*/,
448 size_t */*blocksize*/);
450 krb5_error_code KRB5_LIB_FUNCTION
451 krb5_c_checksum_length (
452 krb5_context /*context*/,
453 krb5_cksumtype /*cksumtype*/,
454 size_t */*length*/);
456 krb5_error_code KRB5_LIB_FUNCTION
457 krb5_c_decrypt (
458 krb5_context /*context*/,
459 const krb5_keyblock /*key*/,
460 krb5_keyusage /*usage*/,
461 const krb5_data */*ivec*/,
462 krb5_enc_data */*input*/,
463 krb5_data */*output*/);
465 krb5_error_code KRB5_LIB_FUNCTION
466 krb5_c_encrypt (
467 krb5_context /*context*/,
468 const krb5_keyblock */*key*/,
469 krb5_keyusage /*usage*/,
470 const krb5_data */*ivec*/,
471 const krb5_data */*input*/,
472 krb5_enc_data */*output*/);
474 krb5_error_code KRB5_LIB_FUNCTION
475 krb5_c_encrypt_length (
476 krb5_context /*context*/,
477 krb5_enctype /*enctype*/,
478 size_t /*inputlen*/,
479 size_t */*length*/);
481 krb5_error_code KRB5_LIB_FUNCTION
482 krb5_c_enctype_compare (
483 krb5_context /*context*/,
484 krb5_enctype /*e1*/,
485 krb5_enctype /*e2*/,
486 krb5_boolean */*similar*/);
488 krb5_error_code KRB5_LIB_FUNCTION
489 krb5_c_get_checksum (
490 krb5_context /*context*/,
491 const krb5_checksum */*cksum*/,
492 krb5_cksumtype */*type*/,
493 krb5_data **/*data*/);
495 krb5_boolean KRB5_LIB_FUNCTION
496 krb5_c_is_coll_proof_cksum (krb5_cksumtype /*ctype*/);
498 krb5_boolean KRB5_LIB_FUNCTION
499 krb5_c_is_keyed_cksum (krb5_cksumtype /*ctype*/);
501 krb5_error_code KRB5_LIB_FUNCTION
502 krb5_c_keylength (
503 krb5_context /*context*/,
504 krb5_enctype /*enctype*/,
505 size_t */*len*/);
507 krb5_error_code KRB5_LIB_FUNCTION
508 krb5_c_make_checksum (
509 krb5_context /*context*/,
510 krb5_cksumtype /*cksumtype*/,
511 const krb5_keyblock */*key*/,
512 krb5_keyusage /*usage*/,
513 const krb5_data */*input*/,
514 krb5_checksum */*cksum*/);
516 krb5_error_code KRB5_LIB_FUNCTION
517 krb5_c_make_random_key (
518 krb5_context /*context*/,
519 krb5_enctype /*enctype*/,
520 krb5_keyblock */*random_key*/);
522 krb5_error_code KRB5_LIB_FUNCTION
523 krb5_c_set_checksum (
524 krb5_context /*context*/,
525 krb5_checksum */*cksum*/,
526 krb5_cksumtype /*type*/,
527 const krb5_data */*data*/);
529 krb5_boolean KRB5_LIB_FUNCTION
530 krb5_c_valid_cksumtype (krb5_cksumtype /*ctype*/);
532 krb5_boolean KRB5_LIB_FUNCTION
533 krb5_c_valid_enctype (krb5_enctype /*etype*/);
535 krb5_error_code KRB5_LIB_FUNCTION
536 krb5_c_verify_checksum (
537 krb5_context /*context*/,
538 const krb5_keyblock */*key*/,
539 krb5_keyusage /*usage*/,
540 const krb5_data */*data*/,
541 const krb5_checksum */*cksum*/,
542 krb5_boolean */*valid*/);
544 krb5_error_code KRB5_LIB_FUNCTION
545 krb5_cc_cache_end_seq_get (
546 krb5_context /*context*/,
547 krb5_cc_cache_cursor /*cursor*/);
549 krb5_error_code KRB5_LIB_FUNCTION
550 krb5_cc_cache_get_first (
551 krb5_context /*context*/,
552 const char */*type*/,
553 krb5_cc_cache_cursor */*cursor*/);
555 krb5_error_code KRB5_LIB_FUNCTION
556 krb5_cc_cache_match (
557 krb5_context /*context*/,
558 krb5_principal /*client*/,
559 const char */*type*/,
560 krb5_ccache */*id*/);
562 krb5_error_code KRB5_LIB_FUNCTION
563 krb5_cc_cache_next (
564 krb5_context /*context*/,
565 krb5_cc_cache_cursor /*cursor*/,
566 krb5_ccache */*id*/);
568 void KRB5_LIB_FUNCTION
569 krb5_cc_clear_mcred (krb5_creds */*mcred*/);
571 krb5_error_code KRB5_LIB_FUNCTION
572 krb5_cc_close (
573 krb5_context /*context*/,
574 krb5_ccache /*id*/);
576 krb5_error_code KRB5_LIB_FUNCTION
577 krb5_cc_copy_cache (
578 krb5_context /*context*/,
579 const krb5_ccache /*from*/,
580 krb5_ccache /*to*/);
582 krb5_error_code KRB5_LIB_FUNCTION
583 krb5_cc_copy_cache_match (
584 krb5_context /*context*/,
585 const krb5_ccache /*from*/,
586 krb5_ccache /*to*/,
587 krb5_flags /*whichfields*/,
588 const krb5_creds * /*mcreds*/,
589 unsigned int */*matched*/);
591 krb5_error_code KRB5_LIB_FUNCTION
592 krb5_cc_default (
593 krb5_context /*context*/,
594 krb5_ccache */*id*/);
596 const char* KRB5_LIB_FUNCTION
597 krb5_cc_default_name (krb5_context /*context*/);
599 krb5_error_code KRB5_LIB_FUNCTION
600 krb5_cc_destroy (
601 krb5_context /*context*/,
602 krb5_ccache /*id*/);
604 krb5_error_code KRB5_LIB_FUNCTION
605 krb5_cc_end_seq_get (
606 krb5_context /*context*/,
607 const krb5_ccache /*id*/,
608 krb5_cc_cursor */*cursor*/);
610 krb5_error_code KRB5_LIB_FUNCTION
611 krb5_cc_gen_new (
612 krb5_context /*context*/,
613 const krb5_cc_ops */*ops*/,
614 krb5_ccache */*id*/);
616 krb5_error_code KRB5_LIB_FUNCTION
617 krb5_cc_get_full_name (
618 krb5_context /*context*/,
619 krb5_ccache /*id*/,
620 char **/*str*/);
622 const char* KRB5_LIB_FUNCTION
623 krb5_cc_get_name (
624 krb5_context /*context*/,
625 krb5_ccache /*id*/);
627 const krb5_cc_ops *
628 krb5_cc_get_ops (
629 krb5_context /*context*/,
630 krb5_ccache /*id*/);
632 const krb5_cc_ops *
633 krb5_cc_get_prefix_ops (
634 krb5_context /*context*/,
635 const char */*prefix*/);
637 krb5_error_code KRB5_LIB_FUNCTION
638 krb5_cc_get_principal (
639 krb5_context /*context*/,
640 krb5_ccache /*id*/,
641 krb5_principal */*principal*/);
643 const char* KRB5_LIB_FUNCTION
644 krb5_cc_get_type (
645 krb5_context /*context*/,
646 krb5_ccache /*id*/);
648 krb5_error_code KRB5_LIB_FUNCTION
649 krb5_cc_get_version (
650 krb5_context /*context*/,
651 const krb5_ccache /*id*/);
653 krb5_error_code KRB5_LIB_FUNCTION
654 krb5_cc_initialize (
655 krb5_context /*context*/,
656 krb5_ccache /*id*/,
657 krb5_principal /*primary_principal*/);
659 krb5_error_code KRB5_LIB_FUNCTION
660 krb5_cc_new_unique (
661 krb5_context /*context*/,
662 const char */*type*/,
663 const char */*hint*/,
664 krb5_ccache */*id*/);
666 krb5_error_code KRB5_LIB_FUNCTION
667 krb5_cc_next_cred (
668 krb5_context /*context*/,
669 const krb5_ccache /*id*/,
670 krb5_cc_cursor */*cursor*/,
671 krb5_creds */*creds*/);
673 krb5_error_code KRB5_LIB_FUNCTION
674 krb5_cc_next_cred_match (
675 krb5_context /*context*/,
676 const krb5_ccache /*id*/,
677 krb5_cc_cursor * /*cursor*/,
678 krb5_creds * /*creds*/,
679 krb5_flags /*whichfields*/,
680 const krb5_creds * /*mcreds*/);
682 krb5_error_code KRB5_LIB_FUNCTION
683 krb5_cc_register (
684 krb5_context /*context*/,
685 const krb5_cc_ops */*ops*/,
686 krb5_boolean /*override*/);
688 krb5_error_code KRB5_LIB_FUNCTION
689 krb5_cc_remove_cred (
690 krb5_context /*context*/,
691 krb5_ccache /*id*/,
692 krb5_flags /*which*/,
693 krb5_creds */*cred*/);
695 krb5_error_code KRB5_LIB_FUNCTION
696 krb5_cc_resolve (
697 krb5_context /*context*/,
698 const char */*name*/,
699 krb5_ccache */*id*/);
701 krb5_error_code KRB5_LIB_FUNCTION
702 krb5_cc_retrieve_cred (
703 krb5_context /*context*/,
704 krb5_ccache /*id*/,
705 krb5_flags /*whichfields*/,
706 const krb5_creds */*mcreds*/,
707 krb5_creds */*creds*/);
709 krb5_error_code KRB5_LIB_FUNCTION
710 krb5_cc_set_default_name (
711 krb5_context /*context*/,
712 const char */*name*/);
714 krb5_error_code KRB5_LIB_FUNCTION
715 krb5_cc_set_flags (
716 krb5_context /*context*/,
717 krb5_ccache /*id*/,
718 krb5_flags /*flags*/);
720 krb5_error_code KRB5_LIB_FUNCTION
721 krb5_cc_start_seq_get (
722 krb5_context /*context*/,
723 const krb5_ccache /*id*/,
724 krb5_cc_cursor */*cursor*/);
726 krb5_error_code KRB5_LIB_FUNCTION
727 krb5_cc_store_cred (
728 krb5_context /*context*/,
729 krb5_ccache /*id*/,
730 krb5_creds */*creds*/);
732 krb5_error_code KRB5_LIB_FUNCTION
733 krb5_change_password (
734 krb5_context /*context*/,
735 krb5_creds */*creds*/,
736 const char */*newpw*/,
737 int */*result_code*/,
738 krb5_data */*result_code_string*/,
739 krb5_data */*result_string*/);
741 krb5_error_code KRB5_LIB_FUNCTION
742 krb5_check_transited (
743 krb5_context /*context*/,
744 krb5_const_realm /*client_realm*/,
745 krb5_const_realm /*server_realm*/,
746 krb5_realm */*realms*/,
747 int /*num_realms*/,
748 int */*bad_realm*/);
750 krb5_error_code KRB5_LIB_FUNCTION
751 krb5_check_transited_realms (
752 krb5_context /*context*/,
753 const char *const */*realms*/,
754 int /*num_realms*/,
755 int */*bad_realm*/);
757 krb5_error_code KRB5_LIB_FUNCTION
758 krb5_checksum_disable (
759 krb5_context /*context*/,
760 krb5_cksumtype /*type*/);
762 void KRB5_LIB_FUNCTION
763 krb5_checksum_free (
764 krb5_context /*context*/,
765 krb5_checksum */*cksum*/);
767 krb5_boolean KRB5_LIB_FUNCTION
768 krb5_checksum_is_collision_proof (
769 krb5_context /*context*/,
770 krb5_cksumtype /*type*/);
772 krb5_boolean KRB5_LIB_FUNCTION
773 krb5_checksum_is_keyed (
774 krb5_context /*context*/,
775 krb5_cksumtype /*type*/);
777 krb5_error_code KRB5_LIB_FUNCTION
778 krb5_checksumsize (
779 krb5_context /*context*/,
780 krb5_cksumtype /*type*/,
781 size_t */*size*/);
783 krb5_error_code KRB5_LIB_FUNCTION
784 krb5_cksumtype_valid (
785 krb5_context /*context*/,
786 krb5_cksumtype /*ctype*/);
788 void KRB5_LIB_FUNCTION
789 krb5_clear_error_string (krb5_context /*context*/);
791 krb5_error_code KRB5_LIB_FUNCTION
792 krb5_closelog (
793 krb5_context /*context*/,
794 krb5_log_facility */*fac*/);
796 krb5_boolean KRB5_LIB_FUNCTION
797 krb5_compare_creds (
798 krb5_context /*context*/,
799 krb5_flags /*whichfields*/,
800 const krb5_creds * /*mcreds*/,
801 const krb5_creds * /*creds*/);
803 krb5_error_code KRB5_LIB_FUNCTION
804 krb5_config_file_free (
805 krb5_context /*context*/,
806 krb5_config_section */*s*/);
808 void KRB5_LIB_FUNCTION
809 krb5_config_free_strings (char **/*strings*/);
811 const void *
812 krb5_config_get (
813 krb5_context /*context*/,
814 const krb5_config_section */*c*/,
815 int /*type*/,
816 ...);
818 krb5_boolean KRB5_LIB_FUNCTION
819 krb5_config_get_bool (
820 krb5_context /*context*/,
821 const krb5_config_section */*c*/,
822 ...);
824 krb5_boolean KRB5_LIB_FUNCTION
825 krb5_config_get_bool_default (
826 krb5_context /*context*/,
827 const krb5_config_section */*c*/,
828 krb5_boolean /*def_value*/,
829 ...);
831 int KRB5_LIB_FUNCTION
832 krb5_config_get_int (
833 krb5_context /*context*/,
834 const krb5_config_section */*c*/,
835 ...);
837 int KRB5_LIB_FUNCTION
838 krb5_config_get_int_default (
839 krb5_context /*context*/,
840 const krb5_config_section */*c*/,
841 int /*def_value*/,
842 ...);
844 const krb5_config_binding *
845 krb5_config_get_list (
846 krb5_context /*context*/,
847 const krb5_config_section */*c*/,
848 ...);
850 const void *
851 krb5_config_get_next (
852 krb5_context /*context*/,
853 const krb5_config_section */*c*/,
854 const krb5_config_binding **/*pointer*/,
855 int /*type*/,
856 ...);
858 const char* KRB5_LIB_FUNCTION
859 krb5_config_get_string (
860 krb5_context /*context*/,
861 const krb5_config_section */*c*/,
862 ...);
864 const char* KRB5_LIB_FUNCTION
865 krb5_config_get_string_default (
866 krb5_context /*context*/,
867 const krb5_config_section */*c*/,
868 const char */*def_value*/,
869 ...);
871 char**
872 krb5_config_get_strings (
873 krb5_context /*context*/,
874 const krb5_config_section */*c*/,
875 ...);
877 int KRB5_LIB_FUNCTION
878 krb5_config_get_time (
879 krb5_context /*context*/,
880 const krb5_config_section */*c*/,
881 ...);
883 int KRB5_LIB_FUNCTION
884 krb5_config_get_time_default (
885 krb5_context /*context*/,
886 const krb5_config_section */*c*/,
887 int /*def_value*/,
888 ...);
890 krb5_error_code KRB5_LIB_FUNCTION
891 krb5_config_parse_file (
892 krb5_context /*context*/,
893 const char */*fname*/,
894 krb5_config_section **/*res*/);
896 krb5_error_code KRB5_LIB_FUNCTION
897 krb5_config_parse_file_multi (
898 krb5_context /*context*/,
899 const char */*fname*/,
900 krb5_config_section **/*res*/);
902 krb5_error_code KRB5_LIB_FUNCTION
903 krb5_config_parse_string_multi (
904 krb5_context /*context*/,
905 const char */*string*/,
906 krb5_config_section **/*res*/);
908 const void *
909 krb5_config_vget (
910 krb5_context /*context*/,
911 const krb5_config_section */*c*/,
912 int /*type*/,
913 va_list /*args*/);
915 krb5_boolean KRB5_LIB_FUNCTION
916 krb5_config_vget_bool (
917 krb5_context /*context*/,
918 const krb5_config_section */*c*/,
919 va_list /*args*/);
921 krb5_boolean KRB5_LIB_FUNCTION
922 krb5_config_vget_bool_default (
923 krb5_context /*context*/,
924 const krb5_config_section */*c*/,
925 krb5_boolean /*def_value*/,
926 va_list /*args*/);
928 int KRB5_LIB_FUNCTION
929 krb5_config_vget_int (
930 krb5_context /*context*/,
931 const krb5_config_section */*c*/,
932 va_list /*args*/);
934 int KRB5_LIB_FUNCTION
935 krb5_config_vget_int_default (
936 krb5_context /*context*/,
937 const krb5_config_section */*c*/,
938 int /*def_value*/,
939 va_list /*args*/);
941 const krb5_config_binding *
942 krb5_config_vget_list (
943 krb5_context /*context*/,
944 const krb5_config_section */*c*/,
945 va_list /*args*/);
947 const void *
948 krb5_config_vget_next (
949 krb5_context /*context*/,
950 const krb5_config_section */*c*/,
951 const krb5_config_binding **/*pointer*/,
952 int /*type*/,
953 va_list /*args*/);
955 const char* KRB5_LIB_FUNCTION
956 krb5_config_vget_string (
957 krb5_context /*context*/,
958 const krb5_config_section */*c*/,
959 va_list /*args*/);
961 const char* KRB5_LIB_FUNCTION
962 krb5_config_vget_string_default (
963 krb5_context /*context*/,
964 const krb5_config_section */*c*/,
965 const char */*def_value*/,
966 va_list /*args*/);
968 char ** KRB5_LIB_FUNCTION
969 krb5_config_vget_strings (
970 krb5_context /*context*/,
971 const krb5_config_section */*c*/,
972 va_list /*args*/);
974 int KRB5_LIB_FUNCTION
975 krb5_config_vget_time (
976 krb5_context /*context*/,
977 const krb5_config_section */*c*/,
978 va_list /*args*/);
980 int KRB5_LIB_FUNCTION
981 krb5_config_vget_time_default (
982 krb5_context /*context*/,
983 const krb5_config_section */*c*/,
984 int /*def_value*/,
985 va_list /*args*/);
987 krb5_error_code KRB5_LIB_FUNCTION
988 krb5_copy_address (
989 krb5_context /*context*/,
990 const krb5_address */*inaddr*/,
991 krb5_address */*outaddr*/);
993 krb5_error_code KRB5_LIB_FUNCTION
994 krb5_copy_addresses (
995 krb5_context /*context*/,
996 const krb5_addresses */*inaddr*/,
997 krb5_addresses */*outaddr*/);
999 krb5_error_code KRB5_LIB_FUNCTION
1000 krb5_copy_checksum (
1001 krb5_context /*context*/,
1002 const krb5_checksum */*old*/,
1003 krb5_checksum **/*new*/);
1005 krb5_error_code KRB5_LIB_FUNCTION
1006 krb5_copy_creds (
1007 krb5_context /*context*/,
1008 const krb5_creds */*incred*/,
1009 krb5_creds **/*outcred*/);
1011 krb5_error_code KRB5_LIB_FUNCTION
1012 krb5_copy_creds_contents (
1013 krb5_context /*context*/,
1014 const krb5_creds */*incred*/,
1015 krb5_creds */*c*/);
1017 krb5_error_code KRB5_LIB_FUNCTION
1018 krb5_copy_data (
1019 krb5_context /*context*/,
1020 const krb5_data */*indata*/,
1021 krb5_data **/*outdata*/);
1023 krb5_error_code KRB5_LIB_FUNCTION
1024 krb5_copy_host_realm (
1025 krb5_context /*context*/,
1026 const krb5_realm */*from*/,
1027 krb5_realm **/*to*/);
1029 krb5_error_code KRB5_LIB_FUNCTION
1030 krb5_copy_keyblock (
1031 krb5_context /*context*/,
1032 const krb5_keyblock */*inblock*/,
1033 krb5_keyblock **/*to*/);
1035 krb5_error_code KRB5_LIB_FUNCTION
1036 krb5_copy_keyblock_contents (
1037 krb5_context /*context*/,
1038 const krb5_keyblock */*inblock*/,
1039 krb5_keyblock */*to*/);
1041 krb5_error_code KRB5_LIB_FUNCTION
1042 krb5_copy_principal (
1043 krb5_context /*context*/,
1044 krb5_const_principal /*inprinc*/,
1045 krb5_principal */*outprinc*/);
1047 krb5_error_code KRB5_LIB_FUNCTION
1048 krb5_copy_ticket (
1049 krb5_context /*context*/,
1050 const krb5_ticket */*from*/,
1051 krb5_ticket **/*to*/);
1053 krb5_error_code KRB5_LIB_FUNCTION
1054 krb5_create_checksum (
1055 krb5_context /*context*/,
1056 krb5_crypto /*crypto*/,
1057 krb5_key_usage /*usage*/,
1058 int /*type*/,
1059 void */*data*/,
1060 size_t /*len*/,
1061 Checksum */*result*/);
1063 krb5_error_code KRB5_LIB_FUNCTION
1064 krb5_crypto_destroy (
1065 krb5_context /*context*/,
1066 krb5_crypto /*crypto*/);
1068 krb5_error_code KRB5_LIB_FUNCTION
1069 krb5_crypto_get_checksum_type (
1070 krb5_context /*context*/,
1071 krb5_crypto /*crypto*/,
1072 krb5_cksumtype */*type*/);
1074 krb5_error_code KRB5_LIB_FUNCTION
1075 krb5_crypto_getblocksize (
1076 krb5_context /*context*/,
1077 krb5_crypto /*crypto*/,
1078 size_t */*blocksize*/);
1080 krb5_error_code KRB5_LIB_FUNCTION
1081 krb5_crypto_getconfoundersize (
1082 krb5_context /*context*/,
1083 krb5_crypto /*crypto*/,
1084 size_t */*confoundersize*/);
1086 krb5_error_code KRB5_LIB_FUNCTION
1087 krb5_crypto_getenctype (
1088 krb5_context /*context*/,
1089 krb5_crypto /*crypto*/,
1090 krb5_enctype */*enctype*/);
1092 krb5_error_code KRB5_LIB_FUNCTION
1093 krb5_crypto_getpadsize (
1094 krb5_context /*context*/,
1095 krb5_crypto /*crypto*/,
1096 size_t */*padsize*/);
1098 krb5_error_code KRB5_LIB_FUNCTION
1099 krb5_crypto_init (
1100 krb5_context /*context*/,
1101 const krb5_keyblock */*key*/,
1102 krb5_enctype /*etype*/,
1103 krb5_crypto */*crypto*/);
1105 krb5_error_code KRB5_LIB_FUNCTION
1106 krb5_data_alloc (
1107 krb5_data */*p*/,
1108 int /*len*/);
1110 krb5_error_code KRB5_LIB_FUNCTION
1111 krb5_data_copy (
1112 krb5_data */*p*/,
1113 const void */*data*/,
1114 size_t /*len*/);
1116 void KRB5_LIB_FUNCTION
1117 krb5_data_free (krb5_data */*p*/);
1119 krb5_error_code KRB5_LIB_FUNCTION
1120 krb5_data_realloc (
1121 krb5_data */*p*/,
1122 int /*len*/);
1124 void KRB5_LIB_FUNCTION
1125 krb5_data_zero (krb5_data */*p*/);
1127 krb5_error_code KRB5_LIB_FUNCTION
1128 krb5_decode_Authenticator (
1129 krb5_context /*context*/,
1130 const void */*data*/,
1131 size_t /*length*/,
1132 Authenticator */*t*/,
1133 size_t */*len*/);
1135 krb5_error_code KRB5_LIB_FUNCTION
1136 krb5_decode_ETYPE_INFO (
1137 krb5_context /*context*/,
1138 const void */*data*/,
1139 size_t /*length*/,
1140 ETYPE_INFO */*t*/,
1141 size_t */*len*/);
1143 krb5_error_code KRB5_LIB_FUNCTION
1144 krb5_decode_ETYPE_INFO2 (
1145 krb5_context /*context*/,
1146 const void */*data*/,
1147 size_t /*length*/,
1148 ETYPE_INFO2 */*t*/,
1149 size_t */*len*/);
1151 krb5_error_code KRB5_LIB_FUNCTION
1152 krb5_decode_EncAPRepPart (
1153 krb5_context /*context*/,
1154 const void */*data*/,
1155 size_t /*length*/,
1156 EncAPRepPart */*t*/,
1157 size_t */*len*/);
1159 krb5_error_code KRB5_LIB_FUNCTION
1160 krb5_decode_EncASRepPart (
1161 krb5_context /*context*/,
1162 const void */*data*/,
1163 size_t /*length*/,
1164 EncASRepPart */*t*/,
1165 size_t */*len*/);
1167 krb5_error_code KRB5_LIB_FUNCTION
1168 krb5_decode_EncKrbCredPart (
1169 krb5_context /*context*/,
1170 const void */*data*/,
1171 size_t /*length*/,
1172 EncKrbCredPart */*t*/,
1173 size_t */*len*/);
1175 krb5_error_code KRB5_LIB_FUNCTION
1176 krb5_decode_EncTGSRepPart (
1177 krb5_context /*context*/,
1178 const void */*data*/,
1179 size_t /*length*/,
1180 EncTGSRepPart */*t*/,
1181 size_t */*len*/);
1183 krb5_error_code KRB5_LIB_FUNCTION
1184 krb5_decode_EncTicketPart (
1185 krb5_context /*context*/,
1186 const void */*data*/,
1187 size_t /*length*/,
1188 EncTicketPart */*t*/,
1189 size_t */*len*/);
1191 krb5_error_code KRB5_LIB_FUNCTION
1192 krb5_decode_ap_req (
1193 krb5_context /*context*/,
1194 const krb5_data */*inbuf*/,
1195 krb5_ap_req */*ap_req*/);
1197 krb5_error_code KRB5_LIB_FUNCTION
1198 krb5_decrypt (
1199 krb5_context /*context*/,
1200 krb5_crypto /*crypto*/,
1201 unsigned /*usage*/,
1202 void */*data*/,
1203 size_t /*len*/,
1204 krb5_data */*result*/);
1206 krb5_error_code KRB5_LIB_FUNCTION
1207 krb5_decrypt_EncryptedData (
1208 krb5_context /*context*/,
1209 krb5_crypto /*crypto*/,
1210 unsigned /*usage*/,
1211 const EncryptedData */*e*/,
1212 krb5_data */*result*/);
1214 krb5_error_code KRB5_LIB_FUNCTION
1215 krb5_decrypt_ivec (
1216 krb5_context /*context*/,
1217 krb5_crypto /*crypto*/,
1218 unsigned /*usage*/,
1219 void */*data*/,
1220 size_t /*len*/,
1221 krb5_data */*result*/,
1222 void */*ivec*/);
1224 krb5_error_code KRB5_LIB_FUNCTION
1225 krb5_decrypt_ticket (
1226 krb5_context /*context*/,
1227 Ticket */*ticket*/,
1228 krb5_keyblock */*key*/,
1229 EncTicketPart */*out*/,
1230 krb5_flags /*flags*/);
1232 krb5_error_code KRB5_LIB_FUNCTION
1233 krb5_derive_key (
1234 krb5_context /*context*/,
1235 const krb5_keyblock */*key*/,
1236 krb5_enctype /*etype*/,
1237 const void */*constant*/,
1238 size_t /*constant_len*/,
1239 krb5_keyblock **/*derived_key*/);
1241 krb5_error_code
1242 krb5_digest_alloc (
1243 krb5_context /*context*/,
1244 krb5_digest */*digest*/);
1246 void
1247 krb5_digest_free (krb5_digest /*digest*/);
1249 krb5_error_code
1250 krb5_digest_get_a1_hash (
1251 krb5_context /*context*/,
1252 krb5_digest /*digest*/,
1253 krb5_data */*data*/);
1255 krb5_error_code
1256 krb5_digest_get_client_binding (
1257 krb5_context /*context*/,
1258 krb5_digest /*digest*/,
1259 char **/*type*/,
1260 char **/*binding*/);
1262 const char *
1263 krb5_digest_get_identifier (
1264 krb5_context /*context*/,
1265 krb5_digest /*digest*/);
1267 const char *
1268 krb5_digest_get_opaque (
1269 krb5_context /*context*/,
1270 krb5_digest /*digest*/);
1272 const char *
1273 krb5_digest_get_responseData (
1274 krb5_context /*context*/,
1275 krb5_digest /*digest*/);
1277 const char *
1278 krb5_digest_get_rsp (
1279 krb5_context /*context*/,
1280 krb5_digest /*digest*/);
1282 const char *
1283 krb5_digest_get_server_nonce (
1284 krb5_context /*context*/,
1285 krb5_digest /*digest*/);
1287 krb5_error_code
1288 krb5_digest_get_tickets (
1289 krb5_context /*context*/,
1290 krb5_digest /*digest*/,
1291 Ticket **/*tickets*/);
1293 krb5_error_code
1294 krb5_digest_init_request (
1295 krb5_context /*context*/,
1296 krb5_digest /*digest*/,
1297 krb5_realm /*realm*/,
1298 krb5_ccache /*ccache*/);
1300 krb5_error_code
1301 krb5_digest_request (
1302 krb5_context /*context*/,
1303 krb5_digest /*digest*/,
1304 krb5_realm /*realm*/,
1305 krb5_ccache /*ccache*/);
1307 krb5_error_code
1308 krb5_digest_set_authentication_user (
1309 krb5_context /*context*/,
1310 krb5_digest /*digest*/,
1311 krb5_principal /*authentication_user*/);
1313 krb5_error_code
1314 krb5_digest_set_authid (
1315 krb5_context /*context*/,
1316 krb5_digest /*digest*/,
1317 const char */*authid*/);
1319 krb5_error_code
1320 krb5_digest_set_client_nonce (
1321 krb5_context /*context*/,
1322 krb5_digest /*digest*/,
1323 const char */*nonce*/);
1325 krb5_error_code
1326 krb5_digest_set_digest (
1327 krb5_context /*context*/,
1328 krb5_digest /*digest*/,
1329 const char */*dgst*/);
1331 krb5_error_code
1332 krb5_digest_set_hostname (
1333 krb5_context /*context*/,
1334 krb5_digest /*digest*/,
1335 const char */*hostname*/);
1337 krb5_error_code
1338 krb5_digest_set_identifier (
1339 krb5_context /*context*/,
1340 krb5_digest /*digest*/,
1341 const char */*id*/);
1343 krb5_error_code
1344 krb5_digest_set_method (
1345 krb5_context /*context*/,
1346 krb5_digest /*digest*/,
1347 const char */*method*/);
1349 krb5_error_code
1350 krb5_digest_set_nonceCount (
1351 krb5_context /*context*/,
1352 krb5_digest /*digest*/,
1353 const char */*nonce_count*/);
1355 krb5_error_code
1356 krb5_digest_set_opaque (
1357 krb5_context /*context*/,
1358 krb5_digest /*digest*/,
1359 const char */*opaque*/);
1361 krb5_error_code
1362 krb5_digest_set_qop (
1363 krb5_context /*context*/,
1364 krb5_digest /*digest*/,
1365 const char */*qop*/);
1367 krb5_error_code
1368 krb5_digest_set_realm (
1369 krb5_context /*context*/,
1370 krb5_digest /*digest*/,
1371 const char */*realm*/);
1373 krb5_error_code
1374 krb5_digest_set_server_cb (
1375 krb5_context /*context*/,
1376 krb5_digest /*digest*/,
1377 const char */*type*/,
1378 const char */*binding*/);
1380 krb5_error_code
1381 krb5_digest_set_server_nonce (
1382 krb5_context /*context*/,
1383 krb5_digest /*digest*/,
1384 const char */*nonce*/);
1386 krb5_error_code
1387 krb5_digest_set_type (
1388 krb5_context /*context*/,
1389 krb5_digest /*digest*/,
1390 const char */*type*/);
1392 krb5_error_code
1393 krb5_digest_set_uri (
1394 krb5_context /*context*/,
1395 krb5_digest /*digest*/,
1396 const char */*uri*/);
1398 krb5_error_code
1399 krb5_digest_set_username (
1400 krb5_context /*context*/,
1401 krb5_digest /*digest*/,
1402 const char */*username*/);
1404 krb5_error_code KRB5_LIB_FUNCTION
1405 krb5_domain_x500_decode (
1406 krb5_context /*context*/,
1407 krb5_data /*tr*/,
1408 char ***/*realms*/,
1409 int */*num_realms*/,
1410 const char */*client_realm*/,
1411 const char */*server_realm*/);
1413 krb5_error_code KRB5_LIB_FUNCTION
1414 krb5_domain_x500_encode (
1415 char **/*realms*/,
1416 int /*num_realms*/,
1417 krb5_data */*encoding*/);
1419 krb5_error_code KRB5_LIB_FUNCTION
1420 krb5_eai_to_heim_errno (
1421 int /*eai_errno*/,
1422 int /*system_error*/);
1424 krb5_error_code KRB5_LIB_FUNCTION
1425 krb5_encode_Authenticator (
1426 krb5_context /*context*/,
1427 void */*data*/,
1428 size_t /*length*/,
1429 Authenticator */*t*/,
1430 size_t */*len*/);
1432 krb5_error_code KRB5_LIB_FUNCTION
1433 krb5_encode_ETYPE_INFO (
1434 krb5_context /*context*/,
1435 void */*data*/,
1436 size_t /*length*/,
1437 ETYPE_INFO */*t*/,
1438 size_t */*len*/);
1440 krb5_error_code KRB5_LIB_FUNCTION
1441 krb5_encode_ETYPE_INFO2 (
1442 krb5_context /*context*/,
1443 void */*data*/,
1444 size_t /*length*/,
1445 ETYPE_INFO2 */*t*/,
1446 size_t */*len*/);
1448 krb5_error_code KRB5_LIB_FUNCTION
1449 krb5_encode_EncAPRepPart (
1450 krb5_context /*context*/,
1451 void */*data*/,
1452 size_t /*length*/,
1453 EncAPRepPart */*t*/,
1454 size_t */*len*/);
1456 krb5_error_code KRB5_LIB_FUNCTION
1457 krb5_encode_EncASRepPart (
1458 krb5_context /*context*/,
1459 void */*data*/,
1460 size_t /*length*/,
1461 EncASRepPart */*t*/,
1462 size_t */*len*/);
1464 krb5_error_code KRB5_LIB_FUNCTION
1465 krb5_encode_EncKrbCredPart (
1466 krb5_context /*context*/,
1467 void */*data*/,
1468 size_t /*length*/,
1469 EncKrbCredPart */*t*/,
1470 size_t */*len*/);
1472 krb5_error_code KRB5_LIB_FUNCTION
1473 krb5_encode_EncTGSRepPart (
1474 krb5_context /*context*/,
1475 void */*data*/,
1476 size_t /*length*/,
1477 EncTGSRepPart */*t*/,
1478 size_t */*len*/);
1480 krb5_error_code KRB5_LIB_FUNCTION
1481 krb5_encode_EncTicketPart (
1482 krb5_context /*context*/,
1483 void */*data*/,
1484 size_t /*length*/,
1485 EncTicketPart */*t*/,
1486 size_t */*len*/);
1488 krb5_error_code KRB5_LIB_FUNCTION
1489 krb5_encrypt (
1490 krb5_context /*context*/,
1491 krb5_crypto /*crypto*/,
1492 unsigned /*usage*/,
1493 const void */*data*/,
1494 size_t /*len*/,
1495 krb5_data */*result*/);
1497 krb5_error_code KRB5_LIB_FUNCTION
1498 krb5_encrypt_EncryptedData (
1499 krb5_context /*context*/,
1500 krb5_crypto /*crypto*/,
1501 unsigned /*usage*/,
1502 void */*data*/,
1503 size_t /*len*/,
1504 int /*kvno*/,
1505 EncryptedData */*result*/);
1507 krb5_error_code KRB5_LIB_FUNCTION
1508 krb5_encrypt_ivec (
1509 krb5_context /*context*/,
1510 krb5_crypto /*crypto*/,
1511 unsigned /*usage*/,
1512 const void */*data*/,
1513 size_t /*len*/,
1514 krb5_data */*result*/,
1515 void */*ivec*/);
1517 krb5_error_code KRB5_LIB_FUNCTION
1518 krb5_enctype_disable (
1519 krb5_context /*context*/,
1520 krb5_enctype /*enctype*/);
1522 krb5_error_code KRB5_LIB_FUNCTION
1523 krb5_enctype_keysize (
1524 krb5_context /*context*/,
1525 krb5_enctype /*type*/,
1526 size_t */*keysize*/);
1528 krb5_error_code KRB5_LIB_FUNCTION
1529 krb5_enctype_to_keytype (
1530 krb5_context /*context*/,
1531 krb5_enctype /*etype*/,
1532 krb5_keytype */*keytype*/);
1534 krb5_error_code KRB5_LIB_FUNCTION
1535 krb5_enctype_to_string (
1536 krb5_context /*context*/,
1537 krb5_enctype /*etype*/,
1538 char **/*string*/);
1540 krb5_error_code KRB5_LIB_FUNCTION
1541 krb5_enctype_valid (
1542 krb5_context /*context*/,
1543 krb5_enctype /*etype*/);
1545 krb5_boolean KRB5_LIB_FUNCTION
1546 krb5_enctypes_compatible_keys (
1547 krb5_context /*context*/,
1548 krb5_enctype /*etype1*/,
1549 krb5_enctype /*etype2*/);
1551 krb5_error_code KRB5_LIB_FUNCTION
1552 krb5_err (
1553 krb5_context /*context*/,
1554 int /*eval*/,
1555 krb5_error_code /*code*/,
1556 const char */*fmt*/,
1557 ...)
1558 __attribute__ ((noreturn, format (printf, 4, 5)));
1560 krb5_error_code KRB5_LIB_FUNCTION
1561 krb5_error_from_rd_error (
1562 krb5_context /*context*/,
1563 const krb5_error */*error*/,
1564 const krb5_creds */*creds*/);
1566 krb5_error_code KRB5_LIB_FUNCTION
1567 krb5_errx (
1568 krb5_context /*context*/,
1569 int /*eval*/,
1570 const char */*fmt*/,
1571 ...)
1572 __attribute__ ((noreturn, format (printf, 3, 4)));
1574 krb5_error_code KRB5_LIB_FUNCTION
1575 krb5_expand_hostname (
1576 krb5_context /*context*/,
1577 const char */*orig_hostname*/,
1578 char **/*new_hostname*/);
1580 krb5_error_code KRB5_LIB_FUNCTION
1581 krb5_expand_hostname_realms (
1582 krb5_context /*context*/,
1583 const char */*orig_hostname*/,
1584 char **/*new_hostname*/,
1585 char ***/*realms*/);
1587 PA_DATA *
1588 krb5_find_padata (
1589 PA_DATA */*val*/,
1590 unsigned /*len*/,
1591 int /*type*/,
1592 int */*idx*/);
1594 krb5_error_code KRB5_LIB_FUNCTION
1595 krb5_format_time (
1596 krb5_context /*context*/,
1597 time_t /*t*/,
1598 char */*s*/,
1599 size_t /*len*/,
1600 krb5_boolean /*include_time*/);
1602 krb5_error_code KRB5_LIB_FUNCTION
1603 krb5_free_address (
1604 krb5_context /*context*/,
1605 krb5_address */*address*/);
1607 krb5_error_code KRB5_LIB_FUNCTION
1608 krb5_free_addresses (
1609 krb5_context /*context*/,
1610 krb5_addresses */*addresses*/);
1612 void KRB5_LIB_FUNCTION
1613 krb5_free_ap_rep_enc_part (
1614 krb5_context /*context*/,
1615 krb5_ap_rep_enc_part */*val*/);
1617 void KRB5_LIB_FUNCTION
1618 krb5_free_authenticator (
1619 krb5_context /*context*/,
1620 krb5_authenticator */*authenticator*/);
1622 void KRB5_LIB_FUNCTION
1623 krb5_free_checksum (
1624 krb5_context /*context*/,
1625 krb5_checksum */*cksum*/);
1627 void KRB5_LIB_FUNCTION
1628 krb5_free_checksum_contents (
1629 krb5_context /*context*/,
1630 krb5_checksum */*cksum*/);
1632 void KRB5_LIB_FUNCTION
1633 krb5_free_config_files (char **/*filenames*/);
1635 void KRB5_LIB_FUNCTION
1636 krb5_free_context (krb5_context /*context*/);
1638 krb5_error_code KRB5_LIB_FUNCTION
1639 krb5_free_cred_contents (
1640 krb5_context /*context*/,
1641 krb5_creds */*c*/);
1643 krb5_error_code KRB5_LIB_FUNCTION
1644 krb5_free_creds (
1645 krb5_context /*context*/,
1646 krb5_creds */*c*/);
1648 krb5_error_code KRB5_LIB_FUNCTION
1649 krb5_free_creds_contents (
1650 krb5_context /*context*/,
1651 krb5_creds */*c*/);
1653 void KRB5_LIB_FUNCTION
1654 krb5_free_data (
1655 krb5_context /*context*/,
1656 krb5_data */*p*/);
1658 void KRB5_LIB_FUNCTION
1659 krb5_free_data_contents (
1660 krb5_context /*context*/,
1661 krb5_data */*data*/);
1663 void KRB5_LIB_FUNCTION
1664 krb5_free_error (
1665 krb5_context /*context*/,
1666 krb5_error */*error*/);
1668 void KRB5_LIB_FUNCTION
1669 krb5_free_error_contents (
1670 krb5_context /*context*/,
1671 krb5_error */*error*/);
1673 void KRB5_LIB_FUNCTION
1674 krb5_free_error_string (
1675 krb5_context /*context*/,
1676 char */*str*/);
1678 krb5_error_code KRB5_LIB_FUNCTION
1679 krb5_free_host_realm (
1680 krb5_context /*context*/,
1681 krb5_realm */*realmlist*/);
1683 krb5_error_code KRB5_LIB_FUNCTION
1684 krb5_free_kdc_rep (
1685 krb5_context /*context*/,
1686 krb5_kdc_rep */*rep*/);
1688 void KRB5_LIB_FUNCTION
1689 krb5_free_keyblock (
1690 krb5_context /*context*/,
1691 krb5_keyblock */*keyblock*/);
1693 void KRB5_LIB_FUNCTION
1694 krb5_free_keyblock_contents (
1695 krb5_context /*context*/,
1696 krb5_keyblock */*keyblock*/);
1698 krb5_error_code KRB5_LIB_FUNCTION
1699 krb5_free_krbhst (
1700 krb5_context /*context*/,
1701 char **/*hostlist*/);
1703 void KRB5_LIB_FUNCTION
1704 krb5_free_principal (
1705 krb5_context /*context*/,
1706 krb5_principal /*p*/);
1708 krb5_error_code KRB5_LIB_FUNCTION
1709 krb5_free_salt (
1710 krb5_context /*context*/,
1711 krb5_salt /*salt*/);
1713 krb5_error_code KRB5_LIB_FUNCTION
1714 krb5_free_ticket (
1715 krb5_context /*context*/,
1716 krb5_ticket */*ticket*/);
1718 krb5_error_code KRB5_LIB_FUNCTION
1719 krb5_fwd_tgt_creds (
1720 krb5_context /*context*/,
1721 krb5_auth_context /*auth_context*/,
1722 const char */*hostname*/,
1723 krb5_principal /*client*/,
1724 krb5_principal /*server*/,
1725 krb5_ccache /*ccache*/,
1726 int /*forwardable*/,
1727 krb5_data */*out_data*/);
1729 void KRB5_LIB_FUNCTION
1730 krb5_generate_random_block (
1731 void */*buf*/,
1732 size_t /*len*/);
1734 krb5_error_code KRB5_LIB_FUNCTION
1735 krb5_generate_random_keyblock (
1736 krb5_context /*context*/,
1737 krb5_enctype /*type*/,
1738 krb5_keyblock */*key*/);
1740 krb5_error_code KRB5_LIB_FUNCTION
1741 krb5_generate_seq_number (
1742 krb5_context /*context*/,
1743 const krb5_keyblock */*key*/,
1744 uint32_t */*seqno*/);
1746 krb5_error_code KRB5_LIB_FUNCTION
1747 krb5_generate_subkey (
1748 krb5_context /*context*/,
1749 const krb5_keyblock */*key*/,
1750 krb5_keyblock **/*subkey*/);
1752 krb5_error_code KRB5_LIB_FUNCTION
1753 krb5_generate_subkey_extended (
1754 krb5_context /*context*/,
1755 const krb5_keyblock */*key*/,
1756 krb5_enctype /*etype*/,
1757 krb5_keyblock **/*subkey*/);
1759 krb5_error_code KRB5_LIB_FUNCTION
1760 krb5_get_all_client_addrs (
1761 krb5_context /*context*/,
1762 krb5_addresses */*res*/);
1764 krb5_error_code KRB5_LIB_FUNCTION
1765 krb5_get_all_server_addrs (
1766 krb5_context /*context*/,
1767 krb5_addresses */*res*/);
1769 krb5_error_code KRB5_LIB_FUNCTION
1770 krb5_get_cred_from_kdc (
1771 krb5_context /*context*/,
1772 krb5_ccache /*ccache*/,
1773 krb5_creds */*in_creds*/,
1774 krb5_creds **/*out_creds*/,
1775 krb5_creds ***/*ret_tgts*/);
1777 krb5_error_code KRB5_LIB_FUNCTION
1778 krb5_get_cred_from_kdc_opt (
1779 krb5_context /*context*/,
1780 krb5_ccache /*ccache*/,
1781 krb5_creds */*in_creds*/,
1782 krb5_creds **/*out_creds*/,
1783 krb5_creds ***/*ret_tgts*/,
1784 krb5_flags /*flags*/);
1786 krb5_error_code KRB5_LIB_FUNCTION
1787 krb5_get_credentials (
1788 krb5_context /*context*/,
1789 krb5_flags /*options*/,
1790 krb5_ccache /*ccache*/,
1791 krb5_creds */*in_creds*/,
1792 krb5_creds **/*out_creds*/);
1794 krb5_error_code KRB5_LIB_FUNCTION
1795 krb5_get_credentials_with_flags (
1796 krb5_context /*context*/,
1797 krb5_flags /*options*/,
1798 krb5_kdc_flags /*flags*/,
1799 krb5_ccache /*ccache*/,
1800 krb5_creds */*in_creds*/,
1801 krb5_creds **/*out_creds*/);
1803 krb5_error_code KRB5_LIB_FUNCTION
1804 krb5_get_creds (
1805 krb5_context /*context*/,
1806 krb5_get_creds_opt /*opt*/,
1807 krb5_ccache /*ccache*/,
1808 krb5_const_principal /*inprinc*/,
1809 krb5_creds **/*out_creds*/);
1811 void KRB5_LIB_FUNCTION
1812 krb5_get_creds_opt_add_options (
1813 krb5_context /*context*/,
1814 krb5_get_creds_opt /*opt*/,
1815 krb5_flags /*options*/);
1817 krb5_error_code KRB5_LIB_FUNCTION
1818 krb5_get_creds_opt_alloc (
1819 krb5_context /*context*/,
1820 krb5_get_creds_opt */*opt*/);
1822 void KRB5_LIB_FUNCTION
1823 krb5_get_creds_opt_free (
1824 krb5_context /*context*/,
1825 krb5_get_creds_opt /*opt*/);
1827 void KRB5_LIB_FUNCTION
1828 krb5_get_creds_opt_set_enctype (
1829 krb5_context /*context*/,
1830 krb5_get_creds_opt /*opt*/,
1831 krb5_enctype /*enctype*/);
1833 krb5_error_code KRB5_LIB_FUNCTION
1834 krb5_get_creds_opt_set_impersonate (
1835 krb5_context /*context*/,
1836 krb5_get_creds_opt /*opt*/,
1837 krb5_const_principal /*self*/);
1839 void KRB5_LIB_FUNCTION
1840 krb5_get_creds_opt_set_options (
1841 krb5_context /*context*/,
1842 krb5_get_creds_opt /*opt*/,
1843 krb5_flags /*options*/);
1845 krb5_error_code KRB5_LIB_FUNCTION
1846 krb5_get_creds_opt_set_ticket (
1847 krb5_context /*context*/,
1848 krb5_get_creds_opt /*opt*/,
1849 const Ticket */*ticket*/);
1851 krb5_error_code KRB5_LIB_FUNCTION
1852 krb5_get_default_config_files (char ***/*pfilenames*/);
1854 krb5_error_code KRB5_LIB_FUNCTION
1855 krb5_get_default_in_tkt_etypes (
1856 krb5_context /*context*/,
1857 krb5_enctype **/*etypes*/);
1859 krb5_error_code KRB5_LIB_FUNCTION
1860 krb5_get_default_principal (
1861 krb5_context /*context*/,
1862 krb5_principal */*princ*/);
1864 krb5_error_code KRB5_LIB_FUNCTION
1865 krb5_get_default_realm (
1866 krb5_context /*context*/,
1867 krb5_realm */*realm*/);
1869 krb5_error_code KRB5_LIB_FUNCTION
1870 krb5_get_default_realms (
1871 krb5_context /*context*/,
1872 krb5_realm **/*realms*/);
1874 krb5_boolean KRB5_LIB_FUNCTION
1875 krb5_get_dns_canonicalize_hostname (krb5_context /*context*/);
1877 const char* KRB5_LIB_FUNCTION
1878 krb5_get_err_text (
1879 krb5_context /*context*/,
1880 krb5_error_code /*code*/);
1882 char * KRB5_LIB_FUNCTION
1883 krb5_get_error_message (
1884 krb5_context /*context*/,
1885 krb5_error_code /*code*/);
1887 char * KRB5_LIB_FUNCTION
1888 krb5_get_error_string (krb5_context /*context*/);
1890 krb5_error_code KRB5_LIB_FUNCTION
1891 krb5_get_extra_addresses (
1892 krb5_context /*context*/,
1893 krb5_addresses */*addresses*/);
1895 krb5_error_code KRB5_LIB_FUNCTION
1896 krb5_get_fcache_version (
1897 krb5_context /*context*/,
1898 int */*version*/);
1900 krb5_error_code KRB5_LIB_FUNCTION
1901 krb5_get_forwarded_creds (
1902 krb5_context /*context*/,
1903 krb5_auth_context /*auth_context*/,
1904 krb5_ccache /*ccache*/,
1905 krb5_flags /*flags*/,
1906 const char */*hostname*/,
1907 krb5_creds */*in_creds*/,
1908 krb5_data */*out_data*/);
1910 krb5_error_code KRB5_LIB_FUNCTION
1911 krb5_get_host_realm (
1912 krb5_context /*context*/,
1913 const char */*targethost*/,
1914 krb5_realm **/*realms*/);
1916 krb5_error_code KRB5_LIB_FUNCTION
1917 krb5_get_ignore_addresses (
1918 krb5_context /*context*/,
1919 krb5_addresses */*addresses*/);
1921 krb5_error_code KRB5_LIB_FUNCTION
1922 krb5_get_in_cred (
1923 krb5_context /*context*/,
1924 krb5_flags /*options*/,
1925 const krb5_addresses */*addrs*/,
1926 const krb5_enctype */*etypes*/,
1927 const krb5_preauthtype */*ptypes*/,
1928 const krb5_preauthdata */*preauth*/,
1929 krb5_key_proc /*key_proc*/,
1930 krb5_const_pointer /*keyseed*/,
1931 krb5_decrypt_proc /*decrypt_proc*/,
1932 krb5_const_pointer /*decryptarg*/,
1933 krb5_creds */*creds*/,
1934 krb5_kdc_rep */*ret_as_reply*/);
1936 krb5_error_code KRB5_LIB_FUNCTION
1937 krb5_get_in_tkt (
1938 krb5_context /*context*/,
1939 krb5_flags /*options*/,
1940 const krb5_addresses */*addrs*/,
1941 const krb5_enctype */*etypes*/,
1942 const krb5_preauthtype */*ptypes*/,
1943 krb5_key_proc /*key_proc*/,
1944 krb5_const_pointer /*keyseed*/,
1945 krb5_decrypt_proc /*decrypt_proc*/,
1946 krb5_const_pointer /*decryptarg*/,
1947 krb5_creds */*creds*/,
1948 krb5_ccache /*ccache*/,
1949 krb5_kdc_rep */*ret_as_reply*/);
1951 krb5_error_code KRB5_LIB_FUNCTION
1952 krb5_get_in_tkt_with_keytab (
1953 krb5_context /*context*/,
1954 krb5_flags /*options*/,
1955 krb5_addresses */*addrs*/,
1956 const krb5_enctype */*etypes*/,
1957 const krb5_preauthtype */*pre_auth_types*/,
1958 krb5_keytab /*keytab*/,
1959 krb5_ccache /*ccache*/,
1960 krb5_creds */*creds*/,
1961 krb5_kdc_rep */*ret_as_reply*/);
1963 krb5_error_code KRB5_LIB_FUNCTION
1964 krb5_get_in_tkt_with_password (
1965 krb5_context /*context*/,
1966 krb5_flags /*options*/,
1967 krb5_addresses */*addrs*/,
1968 const krb5_enctype */*etypes*/,
1969 const krb5_preauthtype */*pre_auth_types*/,
1970 const char */*password*/,
1971 krb5_ccache /*ccache*/,
1972 krb5_creds */*creds*/,
1973 krb5_kdc_rep */*ret_as_reply*/);
1975 krb5_error_code KRB5_LIB_FUNCTION
1976 krb5_get_in_tkt_with_skey (
1977 krb5_context /*context*/,
1978 krb5_flags /*options*/,
1979 krb5_addresses */*addrs*/,
1980 const krb5_enctype */*etypes*/,
1981 const krb5_preauthtype */*pre_auth_types*/,
1982 const krb5_keyblock */*key*/,
1983 krb5_ccache /*ccache*/,
1984 krb5_creds */*creds*/,
1985 krb5_kdc_rep */*ret_as_reply*/);
1987 krb5_error_code KRB5_LIB_FUNCTION
1988 krb5_get_init_creds (
1989 krb5_context /*context*/,
1990 krb5_creds */*creds*/,
1991 krb5_principal /*client*/,
1992 krb5_prompter_fct /*prompter*/,
1993 void */*data*/,
1994 krb5_deltat /*start_time*/,
1995 const char */*in_tkt_service*/,
1996 krb5_get_init_creds_opt */*options*/);
1998 krb5_error_code KRB5_LIB_FUNCTION
1999 krb5_get_init_creds_keyblock (
2000 krb5_context /*context*/,
2001 krb5_creds */*creds*/,
2002 krb5_principal /*client*/,
2003 krb5_keyblock */*keyblock*/,
2004 krb5_deltat /*start_time*/,
2005 const char */*in_tkt_service*/,
2006 krb5_get_init_creds_opt */*options*/);
2008 krb5_error_code KRB5_LIB_FUNCTION
2009 krb5_get_init_creds_keytab (
2010 krb5_context /*context*/,
2011 krb5_creds */*creds*/,
2012 krb5_principal /*client*/,
2013 krb5_keytab /*keytab*/,
2014 krb5_deltat /*start_time*/,
2015 const char */*in_tkt_service*/,
2016 krb5_get_init_creds_opt */*options*/);
2018 krb5_error_code KRB5_LIB_FUNCTION
2019 krb5_get_init_creds_opt_alloc (
2020 krb5_context /*context*/,
2021 krb5_get_init_creds_opt **/*opt*/);
2023 void KRB5_LIB_FUNCTION
2024 krb5_get_init_creds_opt_free (krb5_get_init_creds_opt */*opt*/);
2026 krb5_error_code KRB5_LIB_FUNCTION
2027 krb5_get_init_creds_opt_get_error (
2028 krb5_context /*context*/,
2029 krb5_get_init_creds_opt */*opt*/,
2030 KRB_ERROR **/*error*/);
2032 void KRB5_LIB_FUNCTION
2033 krb5_get_init_creds_opt_init (krb5_get_init_creds_opt */*opt*/);
2035 void KRB5_LIB_FUNCTION
2036 krb5_get_init_creds_opt_set_address_list (
2037 krb5_get_init_creds_opt */*opt*/,
2038 krb5_addresses */*addresses*/);
2040 krb5_error_code KRB5_LIB_FUNCTION
2041 krb5_get_init_creds_opt_set_addressless (
2042 krb5_context /*context*/,
2043 krb5_get_init_creds_opt */*opt*/,
2044 krb5_boolean /*addressless*/);
2046 void KRB5_LIB_FUNCTION
2047 krb5_get_init_creds_opt_set_anonymous (
2048 krb5_get_init_creds_opt */*opt*/,
2049 int /*anonymous*/);
2051 void KRB5_LIB_FUNCTION
2052 krb5_get_init_creds_opt_set_default_flags (
2053 krb5_context /*context*/,
2054 const char */*appname*/,
2055 krb5_const_realm /*realm*/,
2056 krb5_get_init_creds_opt */*opt*/);
2058 void KRB5_LIB_FUNCTION
2059 krb5_get_init_creds_opt_set_etype_list (
2060 krb5_get_init_creds_opt */*opt*/,
2061 krb5_enctype */*etype_list*/,
2062 int /*etype_list_length*/);
2064 void KRB5_LIB_FUNCTION
2065 krb5_get_init_creds_opt_set_forwardable (
2066 krb5_get_init_creds_opt */*opt*/,
2067 int /*forwardable*/);
2069 krb5_error_code KRB5_LIB_FUNCTION
2070 krb5_get_init_creds_opt_set_pa_password (
2071 krb5_context /*context*/,
2072 krb5_get_init_creds_opt */*opt*/,
2073 const char */*password*/,
2074 krb5_s2k_proc /*key_proc*/);
2076 krb5_error_code KRB5_LIB_FUNCTION
2077 krb5_get_init_creds_opt_set_pac_request (
2078 krb5_context /*context*/,
2079 krb5_get_init_creds_opt */*opt*/,
2080 krb5_boolean /*req_pac*/);
2082 krb5_error_code KRB5_LIB_FUNCTION
2083 krb5_get_init_creds_opt_set_pkinit (
2084 krb5_context /*context*/,
2085 krb5_get_init_creds_opt */*opt*/,
2086 krb5_principal /*principal*/,
2087 const char */*user_id*/,
2088 const char */*x509_anchors*/,
2089 char * const * /*pool*/,
2090 char * const * /*pki_revoke*/,
2091 int /*flags*/,
2092 krb5_prompter_fct /*prompter*/,
2093 void */*prompter_data*/,
2094 char */*password*/);
2096 void KRB5_LIB_FUNCTION
2097 krb5_get_init_creds_opt_set_preauth_list (
2098 krb5_get_init_creds_opt */*opt*/,
2099 krb5_preauthtype */*preauth_list*/,
2100 int /*preauth_list_length*/);
2102 void KRB5_LIB_FUNCTION
2103 krb5_get_init_creds_opt_set_proxiable (
2104 krb5_get_init_creds_opt */*opt*/,
2105 int /*proxiable*/);
2107 void KRB5_LIB_FUNCTION
2108 krb5_get_init_creds_opt_set_renew_life (
2109 krb5_get_init_creds_opt */*opt*/,
2110 krb5_deltat /*renew_life*/);
2112 void KRB5_LIB_FUNCTION
2113 krb5_get_init_creds_opt_set_salt (
2114 krb5_get_init_creds_opt */*opt*/,
2115 krb5_data */*salt*/);
2117 void KRB5_LIB_FUNCTION
2118 krb5_get_init_creds_opt_set_tkt_life (
2119 krb5_get_init_creds_opt */*opt*/,
2120 krb5_deltat /*tkt_life*/);
2122 krb5_error_code KRB5_LIB_FUNCTION
2123 krb5_get_init_creds_password (
2124 krb5_context /*context*/,
2125 krb5_creds */*creds*/,
2126 krb5_principal /*client*/,
2127 const char */*password*/,
2128 krb5_prompter_fct /*prompter*/,
2129 void */*data*/,
2130 krb5_deltat /*start_time*/,
2131 const char */*in_tkt_service*/,
2132 krb5_get_init_creds_opt */*in_options*/);
2134 krb5_error_code KRB5_LIB_FUNCTION
2135 krb5_get_kdc_cred (
2136 krb5_context /*context*/,
2137 krb5_ccache /*id*/,
2138 krb5_kdc_flags /*flags*/,
2139 krb5_addresses */*addresses*/,
2140 Ticket */*second_ticket*/,
2141 krb5_creds */*in_creds*/,
2142 krb5_creds **out_creds );
2144 krb5_error_code KRB5_LIB_FUNCTION
2145 krb5_get_kdc_sec_offset (
2146 krb5_context /*context*/,
2147 int32_t */*sec*/,
2148 int32_t */*usec*/);
2150 krb5_error_code KRB5_LIB_FUNCTION
2151 krb5_get_krb524hst (
2152 krb5_context /*context*/,
2153 const krb5_realm */*realm*/,
2154 char ***/*hostlist*/);
2156 krb5_error_code KRB5_LIB_FUNCTION
2157 krb5_get_krb_admin_hst (
2158 krb5_context /*context*/,
2159 const krb5_realm */*realm*/,
2160 char ***/*hostlist*/);
2162 krb5_error_code KRB5_LIB_FUNCTION
2163 krb5_get_krb_changepw_hst (
2164 krb5_context /*context*/,
2165 const krb5_realm */*realm*/,
2166 char ***/*hostlist*/);
2168 krb5_error_code KRB5_LIB_FUNCTION
2169 krb5_get_krbhst (
2170 krb5_context /*context*/,
2171 const krb5_realm */*realm*/,
2172 char ***/*hostlist*/);
2174 time_t KRB5_LIB_FUNCTION
2175 krb5_get_max_time_skew (krb5_context /*context*/);
2177 krb5_error_code KRB5_LIB_FUNCTION
2178 krb5_get_pw_salt (
2179 krb5_context /*context*/,
2180 krb5_const_principal /*principal*/,
2181 krb5_salt */*salt*/);
2183 krb5_error_code KRB5_LIB_FUNCTION
2184 krb5_get_server_rcache (
2185 krb5_context /*context*/,
2186 const krb5_data */*piece*/,
2187 krb5_rcache */*id*/);
2189 krb5_boolean KRB5_LIB_FUNCTION
2190 krb5_get_use_admin_kdc (krb5_context /*context*/);
2192 size_t
2193 krb5_get_wrapped_length (
2194 krb5_context /*context*/,
2195 krb5_crypto /*crypto*/,
2196 size_t /*data_len*/);
2198 int KRB5_LIB_FUNCTION
2199 krb5_getportbyname (
2200 krb5_context /*context*/,
2201 const char */*service*/,
2202 const char */*proto*/,
2203 int /*default_port*/);
2205 krb5_error_code KRB5_LIB_FUNCTION
2206 krb5_h_addr2addr (
2207 krb5_context /*context*/,
2208 int /*af*/,
2209 const char */*haddr*/,
2210 krb5_address */*addr*/);
2212 krb5_error_code KRB5_LIB_FUNCTION
2213 krb5_h_addr2sockaddr (
2214 krb5_context /*context*/,
2215 int /*af*/,
2216 const char */*addr*/,
2217 struct sockaddr */*sa*/,
2218 krb5_socklen_t */*sa_size*/,
2219 int /*port*/);
2221 krb5_error_code KRB5_LIB_FUNCTION
2222 krb5_h_errno_to_heim_errno (int /*eai_errno*/);
2224 krb5_boolean KRB5_LIB_FUNCTION
2225 krb5_have_error_string (krb5_context /*context*/);
2227 krb5_error_code KRB5_LIB_FUNCTION
2228 krb5_hmac (
2229 krb5_context /*context*/,
2230 krb5_cksumtype /*cktype*/,
2231 const void */*data*/,
2232 size_t /*len*/,
2233 unsigned /*usage*/,
2234 krb5_keyblock */*key*/,
2235 Checksum */*result*/);
2237 krb5_error_code KRB5_LIB_FUNCTION
2238 krb5_init_context (krb5_context */*context*/);
2240 void KRB5_LIB_FUNCTION
2241 krb5_init_ets (krb5_context /*context*/);
2243 krb5_error_code KRB5_LIB_FUNCTION
2244 krb5_init_etype (
2245 krb5_context /*context*/,
2246 unsigned */*len*/,
2247 krb5_enctype **/*val*/,
2248 const krb5_enctype */*etypes*/);
2250 krb5_error_code KRB5_LIB_FUNCTION
2251 krb5_initlog (
2252 krb5_context /*context*/,
2253 const char */*program*/,
2254 krb5_log_facility **/*fac*/);
2256 krb5_boolean KRB5_LIB_FUNCTION
2257 krb5_is_thread_safe (void);
2259 const krb5_enctype * KRB5_LIB_FUNCTION
2260 krb5_kerberos_enctypes (krb5_context /*context*/);
2262 krb5_enctype
2263 krb5_keyblock_get_enctype (const krb5_keyblock */*block*/);
2265 krb5_error_code KRB5_LIB_FUNCTION
2266 krb5_keyblock_init (
2267 krb5_context /*context*/,
2268 krb5_enctype /*type*/,
2269 const void */*data*/,
2270 size_t /*size*/,
2271 krb5_keyblock */*key*/);
2273 krb5_error_code KRB5_LIB_FUNCTION
2274 krb5_keyblock_key_proc (
2275 krb5_context /*context*/,
2276 krb5_keytype /*type*/,
2277 krb5_data */*salt*/,
2278 krb5_const_pointer /*keyseed*/,
2279 krb5_keyblock **/*key*/);
2281 void KRB5_LIB_FUNCTION
2282 krb5_keyblock_zero (krb5_keyblock */*keyblock*/);
2284 krb5_error_code KRB5_LIB_FUNCTION
2285 krb5_keytab_key_proc (
2286 krb5_context /*context*/,
2287 krb5_enctype /*enctype*/,
2288 krb5_salt /*salt*/,
2289 krb5_const_pointer /*keyseed*/,
2290 krb5_keyblock **/*key*/);
2292 krb5_error_code KRB5_LIB_FUNCTION
2293 krb5_keytype_to_enctypes (
2294 krb5_context /*context*/,
2295 krb5_keytype /*keytype*/,
2296 unsigned */*len*/,
2297 krb5_enctype **/*val*/);
2299 krb5_error_code KRB5_LIB_FUNCTION
2300 krb5_keytype_to_enctypes_default (
2301 krb5_context /*context*/,
2302 krb5_keytype /*keytype*/,
2303 unsigned */*len*/,
2304 krb5_enctype **/*val*/);
2306 krb5_error_code KRB5_LIB_FUNCTION
2307 krb5_keytype_to_string (
2308 krb5_context /*context*/,
2309 krb5_keytype /*keytype*/,
2310 char **/*string*/);
2312 krb5_error_code KRB5_LIB_FUNCTION
2313 krb5_krbhst_format_string (
2314 krb5_context /*context*/,
2315 const krb5_krbhst_info */*host*/,
2316 char */*hostname*/,
2317 size_t /*hostlen*/);
2319 void KRB5_LIB_FUNCTION
2320 krb5_krbhst_free (
2321 krb5_context /*context*/,
2322 krb5_krbhst_handle /*handle*/);
2324 krb5_error_code KRB5_LIB_FUNCTION
2325 krb5_krbhst_get_addrinfo (
2326 krb5_context /*context*/,
2327 krb5_krbhst_info */*host*/,
2328 struct addrinfo **/*ai*/);
2330 krb5_error_code KRB5_LIB_FUNCTION
2331 krb5_krbhst_init (
2332 krb5_context /*context*/,
2333 const char */*realm*/,
2334 unsigned int /*type*/,
2335 krb5_krbhst_handle */*handle*/);
2337 krb5_error_code KRB5_LIB_FUNCTION
2338 krb5_krbhst_init_flags (
2339 krb5_context /*context*/,
2340 const char */*realm*/,
2341 unsigned int /*type*/,
2342 int /*flags*/,
2343 krb5_krbhst_handle */*handle*/);
2345 krb5_error_code KRB5_LIB_FUNCTION
2346 krb5_krbhst_next (
2347 krb5_context /*context*/,
2348 krb5_krbhst_handle /*handle*/,
2349 krb5_krbhst_info **/*host*/);
2351 krb5_error_code KRB5_LIB_FUNCTION
2352 krb5_krbhst_next_as_string (
2353 krb5_context /*context*/,
2354 krb5_krbhst_handle /*handle*/,
2355 char */*hostname*/,
2356 size_t /*hostlen*/);
2358 void KRB5_LIB_FUNCTION
2359 krb5_krbhst_reset (
2360 krb5_context /*context*/,
2361 krb5_krbhst_handle /*handle*/);
2363 krb5_error_code KRB5_LIB_FUNCTION
2364 krb5_kt_add_entry (
2365 krb5_context /*context*/,
2366 krb5_keytab /*id*/,
2367 krb5_keytab_entry */*entry*/);
2369 krb5_error_code KRB5_LIB_FUNCTION
2370 krb5_kt_close (
2371 krb5_context /*context*/,
2372 krb5_keytab /*id*/);
2374 krb5_boolean KRB5_LIB_FUNCTION
2375 krb5_kt_compare (
2376 krb5_context /*context*/,
2377 krb5_keytab_entry */*entry*/,
2378 krb5_const_principal /*principal*/,
2379 krb5_kvno /*vno*/,
2380 krb5_enctype /*enctype*/);
2382 krb5_error_code KRB5_LIB_FUNCTION
2383 krb5_kt_copy_entry_contents (
2384 krb5_context /*context*/,
2385 const krb5_keytab_entry */*in*/,
2386 krb5_keytab_entry */*out*/);
2388 krb5_error_code KRB5_LIB_FUNCTION
2389 krb5_kt_default (
2390 krb5_context /*context*/,
2391 krb5_keytab */*id*/);
2393 krb5_error_code KRB5_LIB_FUNCTION
2394 krb5_kt_default_modify_name (
2395 krb5_context /*context*/,
2396 char */*name*/,
2397 size_t /*namesize*/);
2399 krb5_error_code KRB5_LIB_FUNCTION
2400 krb5_kt_default_name (
2401 krb5_context /*context*/,
2402 char */*name*/,
2403 size_t /*namesize*/);
2405 krb5_error_code KRB5_LIB_FUNCTION
2406 krb5_kt_end_seq_get (
2407 krb5_context /*context*/,
2408 krb5_keytab /*id*/,
2409 krb5_kt_cursor */*cursor*/);
2411 krb5_error_code KRB5_LIB_FUNCTION
2412 krb5_kt_free_entry (
2413 krb5_context /*context*/,
2414 krb5_keytab_entry */*entry*/);
2416 krb5_error_code KRB5_LIB_FUNCTION
2417 krb5_kt_get_entry (
2418 krb5_context /*context*/,
2419 krb5_keytab /*id*/,
2420 krb5_const_principal /*principal*/,
2421 krb5_kvno /*kvno*/,
2422 krb5_enctype /*enctype*/,
2423 krb5_keytab_entry */*entry*/);
2425 krb5_error_code KRB5_LIB_FUNCTION
2426 krb5_kt_get_full_name (
2427 krb5_context /*context*/,
2428 krb5_keytab /*keytab*/,
2429 char **/*str*/);
2431 krb5_error_code KRB5_LIB_FUNCTION
2432 krb5_kt_get_name (
2433 krb5_context /*context*/,
2434 krb5_keytab /*keytab*/,
2435 char */*name*/,
2436 size_t /*namesize*/);
2438 krb5_error_code KRB5_LIB_FUNCTION
2439 krb5_kt_get_type (
2440 krb5_context /*context*/,
2441 krb5_keytab /*keytab*/,
2442 char */*prefix*/,
2443 size_t /*prefixsize*/);
2445 krb5_error_code KRB5_LIB_FUNCTION
2446 krb5_kt_next_entry (
2447 krb5_context /*context*/,
2448 krb5_keytab /*id*/,
2449 krb5_keytab_entry */*entry*/,
2450 krb5_kt_cursor */*cursor*/);
2452 krb5_error_code KRB5_LIB_FUNCTION
2453 krb5_kt_read_service_key (
2454 krb5_context /*context*/,
2455 krb5_pointer /*keyprocarg*/,
2456 krb5_principal /*principal*/,
2457 krb5_kvno /*vno*/,
2458 krb5_enctype /*enctype*/,
2459 krb5_keyblock **/*key*/);
2461 krb5_error_code KRB5_LIB_FUNCTION
2462 krb5_kt_register (
2463 krb5_context /*context*/,
2464 const krb5_kt_ops */*ops*/);
2466 krb5_error_code KRB5_LIB_FUNCTION
2467 krb5_kt_remove_entry (
2468 krb5_context /*context*/,
2469 krb5_keytab /*id*/,
2470 krb5_keytab_entry */*entry*/);
2472 krb5_error_code KRB5_LIB_FUNCTION
2473 krb5_kt_resolve (
2474 krb5_context /*context*/,
2475 const char */*name*/,
2476 krb5_keytab */*id*/);
2478 krb5_error_code KRB5_LIB_FUNCTION
2479 krb5_kt_start_seq_get (
2480 krb5_context /*context*/,
2481 krb5_keytab /*id*/,
2482 krb5_kt_cursor */*cursor*/);
2484 krb5_boolean KRB5_LIB_FUNCTION
2485 krb5_kuserok (
2486 krb5_context /*context*/,
2487 krb5_principal /*principal*/,
2488 const char */*luser*/);
2490 krb5_error_code KRB5_LIB_FUNCTION
2491 krb5_log (
2492 krb5_context /*context*/,
2493 krb5_log_facility */*fac*/,
2494 int /*level*/,
2495 const char */*fmt*/,
2496 ...)
2497 __attribute__((format (printf, 4, 5)));
2499 krb5_error_code KRB5_LIB_FUNCTION
2500 krb5_log_msg (
2501 krb5_context /*context*/,
2502 krb5_log_facility */*fac*/,
2503 int /*level*/,
2504 char **/*reply*/,
2505 const char */*fmt*/,
2506 ...)
2507 __attribute__((format (printf, 5, 6)));
2509 krb5_error_code KRB5_LIB_FUNCTION
2510 krb5_make_addrport (
2511 krb5_context /*context*/,
2512 krb5_address **/*res*/,
2513 const krb5_address */*addr*/,
2514 int16_t /*port*/);
2516 krb5_error_code KRB5_LIB_FUNCTION
2517 krb5_make_principal (
2518 krb5_context /*context*/,
2519 krb5_principal */*principal*/,
2520 krb5_const_realm /*realm*/,
2521 ...);
2523 size_t KRB5_LIB_FUNCTION
2524 krb5_max_sockaddr_size (void);
2526 krb5_error_code KRB5_LIB_FUNCTION
2527 krb5_mk_error (
2528 krb5_context /*context*/,
2529 krb5_error_code /*error_code*/,
2530 const char */*e_text*/,
2531 const krb5_data */*e_data*/,
2532 const krb5_principal /*client*/,
2533 const krb5_principal /*server*/,
2534 time_t */*client_time*/,
2535 int */*client_usec*/,
2536 krb5_data */*reply*/);
2538 krb5_error_code KRB5_LIB_FUNCTION
2539 krb5_mk_priv (
2540 krb5_context /*context*/,
2541 krb5_auth_context /*auth_context*/,
2542 const krb5_data */*userdata*/,
2543 krb5_data */*outbuf*/,
2544 krb5_replay_data */*outdata*/);
2546 krb5_error_code KRB5_LIB_FUNCTION
2547 krb5_mk_rep (
2548 krb5_context /*context*/,
2549 krb5_auth_context /*auth_context*/,
2550 krb5_data */*outbuf*/);
2552 krb5_error_code KRB5_LIB_FUNCTION
2553 krb5_mk_req (
2554 krb5_context /*context*/,
2555 krb5_auth_context */*auth_context*/,
2556 const krb5_flags /*ap_req_options*/,
2557 const char */*service*/,
2558 const char */*hostname*/,
2559 krb5_data */*in_data*/,
2560 krb5_ccache /*ccache*/,
2561 krb5_data */*outbuf*/);
2563 krb5_error_code KRB5_LIB_FUNCTION
2564 krb5_mk_req_exact (
2565 krb5_context /*context*/,
2566 krb5_auth_context */*auth_context*/,
2567 const krb5_flags /*ap_req_options*/,
2568 const krb5_principal /*server*/,
2569 krb5_data */*in_data*/,
2570 krb5_ccache /*ccache*/,
2571 krb5_data */*outbuf*/);
2573 krb5_error_code KRB5_LIB_FUNCTION
2574 krb5_mk_req_extended (
2575 krb5_context /*context*/,
2576 krb5_auth_context */*auth_context*/,
2577 const krb5_flags /*ap_req_options*/,
2578 krb5_data */*in_data*/,
2579 krb5_creds */*in_creds*/,
2580 krb5_data */*outbuf*/);
2582 krb5_error_code KRB5_LIB_FUNCTION
2583 krb5_mk_safe (
2584 krb5_context /*context*/,
2585 krb5_auth_context /*auth_context*/,
2586 const krb5_data */*userdata*/,
2587 krb5_data */*outbuf*/,
2588 krb5_replay_data */*outdata*/);
2590 krb5_ssize_t KRB5_LIB_FUNCTION
2591 krb5_net_read (
2592 krb5_context /*context*/,
2593 void */*p_fd*/,
2594 void */*buf*/,
2595 size_t /*len*/);
2597 krb5_ssize_t KRB5_LIB_FUNCTION
2598 krb5_net_write (
2599 krb5_context /*context*/,
2600 void */*p_fd*/,
2601 const void */*buf*/,
2602 size_t /*len*/);
2604 krb5_ssize_t KRB5_LIB_FUNCTION
2605 krb5_net_write_block (
2606 krb5_context /*context*/,
2607 void */*p_fd*/,
2608 const void */*buf*/,
2609 size_t /*len*/,
2610 time_t /*timeout*/);
2612 krb5_error_code KRB5_LIB_FUNCTION
2613 krb5_openlog (
2614 krb5_context /*context*/,
2615 const char */*program*/,
2616 krb5_log_facility **/*fac*/);
2618 int KRB5_LIB_FUNCTION
2619 krb5_padata_add (
2620 krb5_context /*context*/,
2621 METHOD_DATA */*md*/,
2622 int /*type*/,
2623 void */*buf*/,
2624 size_t /*len*/);
2626 krb5_error_code KRB5_LIB_FUNCTION
2627 krb5_parse_address (
2628 krb5_context /*context*/,
2629 const char */*string*/,
2630 krb5_addresses */*addresses*/);
2632 krb5_error_code KRB5_LIB_FUNCTION
2633 krb5_parse_name (
2634 krb5_context /*context*/,
2635 const char */*name*/,
2636 krb5_principal */*principal*/);
2638 krb5_error_code KRB5_LIB_FUNCTION
2639 krb5_parse_name_flags (
2640 krb5_context /*context*/,
2641 const char */*name*/,
2642 int /*flags*/,
2643 krb5_principal */*principal*/);
2645 const char* KRB5_LIB_FUNCTION
2646 krb5_passwd_result_to_string (
2647 krb5_context /*context*/,
2648 int /*result*/);
2650 krb5_error_code KRB5_LIB_FUNCTION
2651 krb5_password_key_proc (
2652 krb5_context /*context*/,
2653 krb5_enctype /*type*/,
2654 krb5_salt /*salt*/,
2655 krb5_const_pointer /*keyseed*/,
2656 krb5_keyblock **/*key*/);
2658 krb5_error_code KRB5_LIB_FUNCTION
2659 krb5_prepend_config_files (
2660 const char */*filelist*/,
2661 char **/*pq*/,
2662 char ***/*ret_pp*/);
2664 krb5_error_code KRB5_LIB_FUNCTION
2665 krb5_prepend_config_files_default (
2666 const char */*filelist*/,
2667 char ***/*pfilenames*/);
2669 krb5_realm * KRB5_LIB_FUNCTION
2670 krb5_princ_realm (
2671 krb5_context /*context*/,
2672 krb5_principal /*principal*/);
2674 void KRB5_LIB_FUNCTION
2675 krb5_princ_set_realm (
2676 krb5_context /*context*/,
2677 krb5_principal /*principal*/,
2678 krb5_realm */*realm*/);
2680 krb5_boolean KRB5_LIB_FUNCTION
2681 krb5_principal_compare (
2682 krb5_context /*context*/,
2683 krb5_const_principal /*princ1*/,
2684 krb5_const_principal /*princ2*/);
2686 krb5_boolean KRB5_LIB_FUNCTION
2687 krb5_principal_compare_any_realm (
2688 krb5_context /*context*/,
2689 krb5_const_principal /*princ1*/,
2690 krb5_const_principal /*princ2*/);
2692 const char* KRB5_LIB_FUNCTION
2693 krb5_principal_get_comp_string (
2694 krb5_context /*context*/,
2695 krb5_const_principal /*principal*/,
2696 unsigned int /*component*/);
2698 const char* KRB5_LIB_FUNCTION
2699 krb5_principal_get_realm (
2700 krb5_context /*context*/,
2701 krb5_const_principal /*principal*/);
2703 int KRB5_LIB_FUNCTION
2704 krb5_principal_get_type (
2705 krb5_context /*context*/,
2706 krb5_const_principal /*principal*/);
2708 krb5_boolean KRB5_LIB_FUNCTION
2709 krb5_principal_match (
2710 krb5_context /*context*/,
2711 krb5_const_principal /*princ*/,
2712 krb5_const_principal /*pattern*/);
2714 void KRB5_LIB_FUNCTION
2715 krb5_principal_set_type (
2716 krb5_context /*context*/,
2717 krb5_principal /*principal*/,
2718 int /*type*/);
2720 krb5_error_code KRB5_LIB_FUNCTION
2721 krb5_print_address (
2722 const krb5_address */*addr*/,
2723 char */*str*/,
2724 size_t /*len*/,
2725 size_t */*ret_len*/);
2727 int KRB5_LIB_FUNCTION
2728 krb5_program_setup (
2729 krb5_context */*context*/,
2730 int /*argc*/,
2731 char **/*argv*/,
2732 struct getargs */*args*/,
2733 int /*num_args*/,
2734 void (*/*usage*/)(int, struct getargs*, int));
2736 int KRB5_LIB_FUNCTION
2737 krb5_prompter_posix (
2738 krb5_context /*context*/,
2739 void */*data*/,
2740 const char */*name*/,
2741 const char */*banner*/,
2742 int /*num_prompts*/,
2743 krb5_prompt prompts[]);
2745 krb5_error_code KRB5_LIB_FUNCTION
2746 krb5_random_to_key (
2747 krb5_context /*context*/,
2748 krb5_enctype /*type*/,
2749 const void */*data*/,
2750 size_t /*size*/,
2751 krb5_keyblock */*key*/);
2753 krb5_error_code KRB5_LIB_FUNCTION
2754 krb5_rc_close (
2755 krb5_context /*context*/,
2756 krb5_rcache /*id*/);
2758 krb5_error_code KRB5_LIB_FUNCTION
2759 krb5_rc_default (
2760 krb5_context /*context*/,
2761 krb5_rcache */*id*/);
2763 const char* KRB5_LIB_FUNCTION
2764 krb5_rc_default_name (krb5_context /*context*/);
2766 const char* KRB5_LIB_FUNCTION
2767 krb5_rc_default_type (krb5_context /*context*/);
2769 krb5_error_code KRB5_LIB_FUNCTION
2770 krb5_rc_destroy (
2771 krb5_context /*context*/,
2772 krb5_rcache /*id*/);
2774 krb5_error_code KRB5_LIB_FUNCTION
2775 krb5_rc_expunge (
2776 krb5_context /*context*/,
2777 krb5_rcache /*id*/);
2779 krb5_error_code KRB5_LIB_FUNCTION
2780 krb5_rc_get_lifespan (
2781 krb5_context /*context*/,
2782 krb5_rcache /*id*/,
2783 krb5_deltat */*auth_lifespan*/);
2785 const char* KRB5_LIB_FUNCTION
2786 krb5_rc_get_name (
2787 krb5_context /*context*/,
2788 krb5_rcache /*id*/);
2790 const char* KRB5_LIB_FUNCTION
2791 krb5_rc_get_type (
2792 krb5_context /*context*/,
2793 krb5_rcache /*id*/);
2795 krb5_error_code KRB5_LIB_FUNCTION
2796 krb5_rc_initialize (
2797 krb5_context /*context*/,
2798 krb5_rcache /*id*/,
2799 krb5_deltat /*auth_lifespan*/);
2801 krb5_error_code KRB5_LIB_FUNCTION
2802 krb5_rc_recover (
2803 krb5_context /*context*/,
2804 krb5_rcache /*id*/);
2806 krb5_error_code KRB5_LIB_FUNCTION
2807 krb5_rc_resolve (
2808 krb5_context /*context*/,
2809 krb5_rcache /*id*/,
2810 const char */*name*/);
2812 krb5_error_code KRB5_LIB_FUNCTION
2813 krb5_rc_resolve_full (
2814 krb5_context /*context*/,
2815 krb5_rcache */*id*/,
2816 const char */*string_name*/);
2818 krb5_error_code KRB5_LIB_FUNCTION
2819 krb5_rc_resolve_type (
2820 krb5_context /*context*/,
2821 krb5_rcache */*id*/,
2822 const char */*type*/);
2824 krb5_error_code KRB5_LIB_FUNCTION
2825 krb5_rc_store (
2826 krb5_context /*context*/,
2827 krb5_rcache /*id*/,
2828 krb5_donot_replay */*rep*/);
2830 krb5_error_code KRB5_LIB_FUNCTION
2831 krb5_rd_cred (
2832 krb5_context /*context*/,
2833 krb5_auth_context /*auth_context*/,
2834 krb5_data */*in_data*/,
2835 krb5_creds ***/*ret_creds*/,
2836 krb5_replay_data */*outdata*/);
2838 krb5_error_code KRB5_LIB_FUNCTION
2839 krb5_rd_cred2 (
2840 krb5_context /*context*/,
2841 krb5_auth_context /*auth_context*/,
2842 krb5_ccache /*ccache*/,
2843 krb5_data */*in_data*/);
2845 krb5_error_code KRB5_LIB_FUNCTION
2846 krb5_rd_error (
2847 krb5_context /*context*/,
2848 krb5_data */*msg*/,
2849 KRB_ERROR */*result*/);
2851 krb5_error_code KRB5_LIB_FUNCTION
2852 krb5_rd_priv (
2853 krb5_context /*context*/,
2854 krb5_auth_context /*auth_context*/,
2855 const krb5_data */*inbuf*/,
2856 krb5_data */*outbuf*/,
2857 krb5_replay_data */*outdata*/);
2859 krb5_error_code KRB5_LIB_FUNCTION
2860 krb5_rd_rep (
2861 krb5_context /*context*/,
2862 krb5_auth_context /*auth_context*/,
2863 const krb5_data */*inbuf*/,
2864 krb5_ap_rep_enc_part **/*repl*/);
2866 krb5_error_code KRB5_LIB_FUNCTION
2867 krb5_rd_req (
2868 krb5_context /*context*/,
2869 krb5_auth_context */*auth_context*/,
2870 const krb5_data */*inbuf*/,
2871 krb5_const_principal /*server*/,
2872 krb5_keytab /*keytab*/,
2873 krb5_flags */*ap_req_options*/,
2874 krb5_ticket **/*ticket*/);
2876 krb5_error_code KRB5_LIB_FUNCTION
2877 krb5_rd_req_ctx (
2878 krb5_context /*context*/,
2879 krb5_auth_context */*auth_context*/,
2880 const krb5_data */*inbuf*/,
2881 krb5_const_principal /*server*/,
2882 krb5_rd_req_in_ctx /*inctx*/,
2883 krb5_rd_req_out_ctx */*outctx*/);
2885 krb5_error_code KRB5_LIB_FUNCTION
2886 krb5_rd_req_in_ctx_alloc (
2887 krb5_context /*context*/,
2888 krb5_rd_req_in_ctx */*ctx*/);
2890 void KRB5_LIB_FUNCTION
2891 krb5_rd_req_in_ctx_free (
2892 krb5_context /*context*/,
2893 krb5_rd_req_in_ctx /*ctx*/);
2895 krb5_error_code KRB5_LIB_FUNCTION
2896 krb5_rd_req_in_set_keyblock (
2897 krb5_context /*context*/,
2898 krb5_rd_req_in_ctx /*in*/,
2899 krb5_keyblock */*keyblock*/);
2901 krb5_error_code KRB5_LIB_FUNCTION
2902 krb5_rd_req_in_set_keytab (
2903 krb5_context /*context*/,
2904 krb5_rd_req_in_ctx /*in*/,
2905 krb5_keytab /*keytab*/);
2907 void KRB5_LIB_FUNCTION
2908 krb5_rd_req_out_ctx_free (
2909 krb5_context /*context*/,
2910 krb5_rd_req_out_ctx /*ctx*/);
2912 krb5_error_code KRB5_LIB_FUNCTION
2913 krb5_rd_req_out_get_ap_req_options (
2914 krb5_context /*context*/,
2915 krb5_rd_req_out_ctx /*out*/,
2916 krb5_flags */*ap_req_options*/);
2918 krb5_error_code KRB5_LIB_FUNCTION
2919 krb5_rd_req_out_get_keyblock (
2920 krb5_context /*context*/,
2921 krb5_rd_req_out_ctx /*out*/,
2922 krb5_keyblock **/*keyblock*/);
2924 krb5_error_code KRB5_LIB_FUNCTION
2925 krb5_rd_req_out_get_ticket (
2926 krb5_context /*context*/,
2927 krb5_rd_req_out_ctx /*out*/,
2928 krb5_ticket **/*ticket*/);
2930 krb5_error_code KRB5_LIB_FUNCTION
2931 krb5_rd_req_with_keyblock (
2932 krb5_context /*context*/,
2933 krb5_auth_context */*auth_context*/,
2934 const krb5_data */*inbuf*/,
2935 krb5_const_principal /*server*/,
2936 krb5_keyblock */*keyblock*/,
2937 krb5_flags */*ap_req_options*/,
2938 krb5_ticket **/*ticket*/);
2940 krb5_error_code KRB5_LIB_FUNCTION
2941 krb5_rd_safe (
2942 krb5_context /*context*/,
2943 krb5_auth_context /*auth_context*/,
2944 const krb5_data */*inbuf*/,
2945 krb5_data */*outbuf*/,
2946 krb5_replay_data */*outdata*/);
2948 krb5_error_code KRB5_LIB_FUNCTION
2949 krb5_read_message (
2950 krb5_context /*context*/,
2951 krb5_pointer /*p_fd*/,
2952 krb5_data */*data*/);
2954 krb5_error_code KRB5_LIB_FUNCTION
2955 krb5_read_priv_message (
2956 krb5_context /*context*/,
2957 krb5_auth_context /*ac*/,
2958 krb5_pointer /*p_fd*/,
2959 krb5_data */*data*/);
2961 krb5_error_code KRB5_LIB_FUNCTION
2962 krb5_read_safe_message (
2963 krb5_context /*context*/,
2964 krb5_auth_context /*ac*/,
2965 krb5_pointer /*p_fd*/,
2966 krb5_data */*data*/);
2968 krb5_boolean KRB5_LIB_FUNCTION
2969 krb5_realm_compare (
2970 krb5_context /*context*/,
2971 krb5_const_principal /*princ1*/,
2972 krb5_const_principal /*princ2*/);
2974 krb5_error_code KRB5_LIB_FUNCTION
2975 krb5_recvauth (
2976 krb5_context /*context*/,
2977 krb5_auth_context */*auth_context*/,
2978 krb5_pointer /*p_fd*/,
2979 const char */*appl_version*/,
2980 krb5_principal /*server*/,
2981 int32_t /*flags*/,
2982 krb5_keytab /*keytab*/,
2983 krb5_ticket **/*ticket*/);
2985 krb5_error_code KRB5_LIB_FUNCTION
2986 krb5_recvauth_match_version (
2987 krb5_context /*context*/,
2988 krb5_auth_context */*auth_context*/,
2989 krb5_pointer /*p_fd*/,
2990 krb5_boolean (*/*match_appl_version*/)(const void *, const char*),
2991 const void */*match_data*/,
2992 krb5_principal /*server*/,
2993 int32_t /*flags*/,
2994 krb5_keytab /*keytab*/,
2995 krb5_ticket **/*ticket*/);
2997 krb5_error_code KRB5_LIB_FUNCTION
2998 krb5_ret_address (
2999 krb5_storage */*sp*/,
3000 krb5_address */*adr*/);
3002 krb5_error_code KRB5_LIB_FUNCTION
3003 krb5_ret_addrs (
3004 krb5_storage */*sp*/,
3005 krb5_addresses */*adr*/);
3007 krb5_error_code KRB5_LIB_FUNCTION
3008 krb5_ret_authdata (
3009 krb5_storage */*sp*/,
3010 krb5_authdata */*auth*/);
3012 krb5_error_code KRB5_LIB_FUNCTION
3013 krb5_ret_creds (
3014 krb5_storage */*sp*/,
3015 krb5_creds */*creds*/);
3017 krb5_error_code KRB5_LIB_FUNCTION
3018 krb5_ret_creds_tag (
3019 krb5_storage */*sp*/,
3020 krb5_creds */*creds*/);
3022 krb5_error_code KRB5_LIB_FUNCTION
3023 krb5_ret_data (
3024 krb5_storage */*sp*/,
3025 krb5_data */*data*/);
3027 krb5_error_code KRB5_LIB_FUNCTION
3028 krb5_ret_int16 (
3029 krb5_storage */*sp*/,
3030 int16_t */*value*/);
3032 krb5_error_code KRB5_LIB_FUNCTION
3033 krb5_ret_int32 (
3034 krb5_storage */*sp*/,
3035 int32_t */*value*/);
3037 krb5_error_code KRB5_LIB_FUNCTION
3038 krb5_ret_int8 (
3039 krb5_storage */*sp*/,
3040 int8_t */*value*/);
3042 krb5_error_code KRB5_LIB_FUNCTION
3043 krb5_ret_keyblock (
3044 krb5_storage */*sp*/,
3045 krb5_keyblock */*p*/);
3047 krb5_error_code KRB5_LIB_FUNCTION
3048 krb5_ret_principal (
3049 krb5_storage */*sp*/,
3050 krb5_principal */*princ*/);
3052 krb5_error_code KRB5_LIB_FUNCTION
3053 krb5_ret_string (
3054 krb5_storage */*sp*/,
3055 char **/*string*/);
3057 krb5_error_code KRB5_LIB_FUNCTION
3058 krb5_ret_stringnl (
3059 krb5_storage */*sp*/,
3060 char **/*string*/);
3062 krb5_error_code KRB5_LIB_FUNCTION
3063 krb5_ret_stringz (
3064 krb5_storage */*sp*/,
3065 char **/*string*/);
3067 krb5_error_code KRB5_LIB_FUNCTION
3068 krb5_ret_times (
3069 krb5_storage */*sp*/,
3070 krb5_times */*times*/);
3072 krb5_error_code KRB5_LIB_FUNCTION
3073 krb5_ret_uint16 (
3074 krb5_storage */*sp*/,
3075 uint16_t */*value*/);
3077 krb5_error_code KRB5_LIB_FUNCTION
3078 krb5_ret_uint32 (
3079 krb5_storage */*sp*/,
3080 uint32_t */*value*/);
3082 krb5_error_code KRB5_LIB_FUNCTION
3083 krb5_ret_uint8 (
3084 krb5_storage */*sp*/,
3085 uint8_t */*value*/);
3087 krb5_error_code KRB5_LIB_FUNCTION
3088 krb5_salttype_to_string (
3089 krb5_context /*context*/,
3090 krb5_enctype /*etype*/,
3091 krb5_salttype /*stype*/,
3092 char **/*string*/);
3094 krb5_error_code KRB5_LIB_FUNCTION
3095 krb5_sendauth (
3096 krb5_context /*context*/,
3097 krb5_auth_context */*auth_context*/,
3098 krb5_pointer /*p_fd*/,
3099 const char */*appl_version*/,
3100 krb5_principal /*client*/,
3101 krb5_principal /*server*/,
3102 krb5_flags /*ap_req_options*/,
3103 krb5_data */*in_data*/,
3104 krb5_creds */*in_creds*/,
3105 krb5_ccache /*ccache*/,
3106 krb5_error **/*ret_error*/,
3107 krb5_ap_rep_enc_part **/*rep_result*/,
3108 krb5_creds **/*out_creds*/);
3110 krb5_error_code KRB5_LIB_FUNCTION
3111 krb5_sendto (
3112 krb5_context /*context*/,
3113 const krb5_data */*send_data*/,
3114 krb5_krbhst_handle /*handle*/,
3115 krb5_data */*receive*/);
3117 krb5_error_code KRB5_LIB_FUNCTION
3118 krb5_sendto_kdc (
3119 krb5_context /*context*/,
3120 const krb5_data */*send_data*/,
3121 const krb5_realm */*realm*/,
3122 krb5_data */*receive*/);
3124 krb5_error_code KRB5_LIB_FUNCTION
3125 krb5_sendto_kdc_flags (
3126 krb5_context /*context*/,
3127 const krb5_data */*send_data*/,
3128 const krb5_realm */*realm*/,
3129 krb5_data */*receive*/,
3130 int /*flags*/);
3132 krb5_error_code KRB5_LIB_FUNCTION
3133 krb5_set_config_files (
3134 krb5_context /*context*/,
3135 char **/*filenames*/);
3137 krb5_error_code KRB5_LIB_FUNCTION
3138 krb5_set_default_in_tkt_etypes (
3139 krb5_context /*context*/,
3140 const krb5_enctype */*etypes*/);
3142 krb5_error_code KRB5_LIB_FUNCTION
3143 krb5_set_default_realm (
3144 krb5_context /*context*/,
3145 const char */*realm*/);
3147 void KRB5_LIB_FUNCTION
3148 krb5_set_dns_canonicalize_hostname (
3149 krb5_context /*context*/,
3150 krb5_boolean /*flag*/);
3152 krb5_error_code KRB5_LIB_FUNCTION
3153 krb5_set_error_string (
3154 krb5_context /*context*/,
3155 const char */*fmt*/,
3156 ...)
3157 __attribute__((format (printf, 2, 3)));
3159 krb5_error_code KRB5_LIB_FUNCTION
3160 krb5_set_extra_addresses (
3161 krb5_context /*context*/,
3162 const krb5_addresses */*addresses*/);
3164 krb5_error_code KRB5_LIB_FUNCTION
3165 krb5_set_fcache_version (
3166 krb5_context /*context*/,
3167 int /*version*/);
3169 krb5_error_code KRB5_LIB_FUNCTION
3170 krb5_set_ignore_addresses (
3171 krb5_context /*context*/,
3172 const krb5_addresses */*addresses*/);
3174 void KRB5_LIB_FUNCTION
3175 krb5_set_max_time_skew (
3176 krb5_context /*context*/,
3177 time_t /*t*/);
3179 krb5_error_code KRB5_LIB_FUNCTION
3180 krb5_set_password (
3181 krb5_context /*context*/,
3182 krb5_creds */*creds*/,
3183 const char */*newpw*/,
3184 krb5_principal /*targprinc*/,
3185 int */*result_code*/,
3186 krb5_data */*result_code_string*/,
3187 krb5_data */*result_string*/);
3189 krb5_error_code KRB5_LIB_FUNCTION
3190 krb5_set_password_using_ccache (
3191 krb5_context /*context*/,
3192 krb5_ccache /*ccache*/,
3193 const char */*newpw*/,
3194 krb5_principal /*targprinc*/,
3195 int */*result_code*/,
3196 krb5_data */*result_code_string*/,
3197 krb5_data */*result_string*/);
3199 krb5_error_code KRB5_LIB_FUNCTION
3200 krb5_set_real_time (
3201 krb5_context /*context*/,
3202 krb5_timestamp /*sec*/,
3203 int32_t /*usec*/);
3205 krb5_error_code KRB5_LIB_FUNCTION
3206 krb5_set_send_to_kdc_func (
3207 krb5_context /*context*/,
3208 krb5_send_to_kdc_func /*func*/,
3209 void */*data*/);
3211 void KRB5_LIB_FUNCTION
3212 krb5_set_use_admin_kdc (
3213 krb5_context /*context*/,
3214 krb5_boolean /*flag*/);
3216 krb5_error_code KRB5_LIB_FUNCTION
3217 krb5_set_warn_dest (
3218 krb5_context /*context*/,
3219 krb5_log_facility */*fac*/);
3221 krb5_error_code KRB5_LIB_FUNCTION
3222 krb5_sname_to_principal (
3223 krb5_context /*context*/,
3224 const char */*hostname*/,
3225 const char */*sname*/,
3226 int32_t /*type*/,
3227 krb5_principal */*ret_princ*/);
3229 krb5_error_code KRB5_LIB_FUNCTION
3230 krb5_sock_to_principal (
3231 krb5_context /*context*/,
3232 int /*sock*/,
3233 const char */*sname*/,
3234 int32_t /*type*/,
3235 krb5_principal */*ret_princ*/);
3237 krb5_error_code KRB5_LIB_FUNCTION
3238 krb5_sockaddr2address (
3239 krb5_context /*context*/,
3240 const struct sockaddr */*sa*/,
3241 krb5_address */*addr*/);
3243 krb5_error_code KRB5_LIB_FUNCTION
3244 krb5_sockaddr2port (
3245 krb5_context /*context*/,
3246 const struct sockaddr */*sa*/,
3247 int16_t */*port*/);
3249 krb5_boolean KRB5_LIB_FUNCTION
3250 krb5_sockaddr_uninteresting (const struct sockaddr */*sa*/);
3252 void KRB5_LIB_FUNCTION
3253 krb5_std_usage (
3254 int /*code*/,
3255 struct getargs */*args*/,
3256 int /*num_args*/);
3258 void KRB5_LIB_FUNCTION
3259 krb5_storage_clear_flags (
3260 krb5_storage */*sp*/,
3261 krb5_flags /*flags*/);
3263 krb5_storage * KRB5_LIB_FUNCTION
3264 krb5_storage_emem (void);
3266 krb5_error_code KRB5_LIB_FUNCTION
3267 krb5_storage_free (krb5_storage */*sp*/);
3269 krb5_storage * KRB5_LIB_FUNCTION
3270 krb5_storage_from_data (krb5_data */*data*/);
3272 krb5_storage * KRB5_LIB_FUNCTION
3273 krb5_storage_from_fd (int /*fd*/);
3275 krb5_storage * KRB5_LIB_FUNCTION
3276 krb5_storage_from_mem (
3277 void */*buf*/,
3278 size_t /*len*/);
3280 krb5_storage * KRB5_LIB_FUNCTION
3281 krb5_storage_from_readonly_mem (
3282 const void */*buf*/,
3283 size_t /*len*/);
3285 krb5_flags KRB5_LIB_FUNCTION
3286 krb5_storage_get_byteorder (
3287 krb5_storage */*sp*/,
3288 krb5_flags /*byteorder*/);
3290 krb5_boolean KRB5_LIB_FUNCTION
3291 krb5_storage_is_flags (
3292 krb5_storage */*sp*/,
3293 krb5_flags /*flags*/);
3295 krb5_ssize_t KRB5_LIB_FUNCTION
3296 krb5_storage_read (
3297 krb5_storage */*sp*/,
3298 void */*buf*/,
3299 size_t /*len*/);
3301 off_t KRB5_LIB_FUNCTION
3302 krb5_storage_seek (
3303 krb5_storage */*sp*/,
3304 off_t /*offset*/,
3305 int /*whence*/);
3307 void KRB5_LIB_FUNCTION
3308 krb5_storage_set_byteorder (
3309 krb5_storage */*sp*/,
3310 krb5_flags /*byteorder*/);
3312 void KRB5_LIB_FUNCTION
3313 krb5_storage_set_eof_code (
3314 krb5_storage */*sp*/,
3315 int /*code*/);
3317 void KRB5_LIB_FUNCTION
3318 krb5_storage_set_flags (
3319 krb5_storage */*sp*/,
3320 krb5_flags /*flags*/);
3322 krb5_error_code KRB5_LIB_FUNCTION
3323 krb5_storage_to_data (
3324 krb5_storage */*sp*/,
3325 krb5_data */*data*/);
3327 krb5_ssize_t KRB5_LIB_FUNCTION
3328 krb5_storage_write (
3329 krb5_storage */*sp*/,
3330 const void */*buf*/,
3331 size_t /*len*/);
3333 krb5_error_code KRB5_LIB_FUNCTION
3334 krb5_store_address (
3335 krb5_storage */*sp*/,
3336 krb5_address /*p*/);
3338 krb5_error_code KRB5_LIB_FUNCTION
3339 krb5_store_addrs (
3340 krb5_storage */*sp*/,
3341 krb5_addresses /*p*/);
3343 krb5_error_code KRB5_LIB_FUNCTION
3344 krb5_store_authdata (
3345 krb5_storage */*sp*/,
3346 krb5_authdata /*auth*/);
3348 krb5_error_code KRB5_LIB_FUNCTION
3349 krb5_store_creds (
3350 krb5_storage */*sp*/,
3351 krb5_creds */*creds*/);
3353 krb5_error_code KRB5_LIB_FUNCTION
3354 krb5_store_creds_tag (
3355 krb5_storage */*sp*/,
3356 krb5_creds */*creds*/);
3358 krb5_error_code KRB5_LIB_FUNCTION
3359 krb5_store_data (
3360 krb5_storage */*sp*/,
3361 krb5_data /*data*/);
3363 krb5_error_code KRB5_LIB_FUNCTION
3364 krb5_store_int16 (
3365 krb5_storage */*sp*/,
3366 int16_t /*value*/);
3368 krb5_error_code KRB5_LIB_FUNCTION
3369 krb5_store_int32 (
3370 krb5_storage */*sp*/,
3371 int32_t /*value*/);
3373 krb5_error_code KRB5_LIB_FUNCTION
3374 krb5_store_int8 (
3375 krb5_storage */*sp*/,
3376 int8_t /*value*/);
3378 krb5_error_code KRB5_LIB_FUNCTION
3379 krb5_store_keyblock (
3380 krb5_storage */*sp*/,
3381 krb5_keyblock /*p*/);
3383 krb5_error_code KRB5_LIB_FUNCTION
3384 krb5_store_principal (
3385 krb5_storage */*sp*/,
3386 krb5_const_principal /*p*/);
3388 krb5_error_code KRB5_LIB_FUNCTION
3389 krb5_store_string (
3390 krb5_storage */*sp*/,
3391 const char */*s*/);
3393 krb5_error_code KRB5_LIB_FUNCTION
3394 krb5_store_stringnl (
3395 krb5_storage */*sp*/,
3396 const char */*s*/);
3398 krb5_error_code KRB5_LIB_FUNCTION
3399 krb5_store_stringz (
3400 krb5_storage */*sp*/,
3401 const char */*s*/);
3403 krb5_error_code KRB5_LIB_FUNCTION
3404 krb5_store_times (
3405 krb5_storage */*sp*/,
3406 krb5_times /*times*/);
3408 krb5_error_code KRB5_LIB_FUNCTION
3409 krb5_store_uint16 (
3410 krb5_storage */*sp*/,
3411 uint16_t /*value*/);
3413 krb5_error_code KRB5_LIB_FUNCTION
3414 krb5_store_uint32 (
3415 krb5_storage */*sp*/,
3416 uint32_t /*value*/);
3418 krb5_error_code KRB5_LIB_FUNCTION
3419 krb5_store_uint8 (
3420 krb5_storage */*sp*/,
3421 uint8_t /*value*/);
3423 krb5_error_code KRB5_LIB_FUNCTION
3424 krb5_string_to_deltat (
3425 const char */*string*/,
3426 krb5_deltat */*deltat*/);
3428 krb5_error_code KRB5_LIB_FUNCTION
3429 krb5_string_to_enctype (
3430 krb5_context /*context*/,
3431 const char */*string*/,
3432 krb5_enctype */*etype*/);
3434 krb5_error_code KRB5_LIB_FUNCTION
3435 krb5_string_to_key (
3436 krb5_context /*context*/,
3437 krb5_enctype /*enctype*/,
3438 const char */*password*/,
3439 krb5_principal /*principal*/,
3440 krb5_keyblock */*key*/);
3442 krb5_error_code KRB5_LIB_FUNCTION
3443 krb5_string_to_key_data (
3444 krb5_context /*context*/,
3445 krb5_enctype /*enctype*/,
3446 krb5_data /*password*/,
3447 krb5_principal /*principal*/,
3448 krb5_keyblock */*key*/);
3450 krb5_error_code KRB5_LIB_FUNCTION
3451 krb5_string_to_key_data_salt (
3452 krb5_context /*context*/,
3453 krb5_enctype /*enctype*/,
3454 krb5_data /*password*/,
3455 krb5_salt /*salt*/,
3456 krb5_keyblock */*key*/);
3458 krb5_error_code KRB5_LIB_FUNCTION
3459 krb5_string_to_key_data_salt_opaque (
3460 krb5_context /*context*/,
3461 krb5_enctype /*enctype*/,
3462 krb5_data /*password*/,
3463 krb5_salt /*salt*/,
3464 krb5_data /*opaque*/,
3465 krb5_keyblock */*key*/);
3467 krb5_error_code KRB5_LIB_FUNCTION
3468 krb5_string_to_key_derived (
3469 krb5_context /*context*/,
3470 const void */*str*/,
3471 size_t /*len*/,
3472 krb5_enctype /*etype*/,
3473 krb5_keyblock */*key*/);
3475 krb5_error_code KRB5_LIB_FUNCTION
3476 krb5_string_to_key_salt (
3477 krb5_context /*context*/,
3478 krb5_enctype /*enctype*/,
3479 const char */*password*/,
3480 krb5_salt /*salt*/,
3481 krb5_keyblock */*key*/);
3483 krb5_error_code KRB5_LIB_FUNCTION
3484 krb5_string_to_key_salt_opaque (
3485 krb5_context /*context*/,
3486 krb5_enctype /*enctype*/,
3487 const char */*password*/,
3488 krb5_salt /*salt*/,
3489 krb5_data /*opaque*/,
3490 krb5_keyblock */*key*/);
3492 krb5_error_code KRB5_LIB_FUNCTION
3493 krb5_string_to_keytype (
3494 krb5_context /*context*/,
3495 const char */*string*/,
3496 krb5_keytype */*keytype*/);
3498 krb5_error_code KRB5_LIB_FUNCTION
3499 krb5_string_to_salttype (
3500 krb5_context /*context*/,
3501 krb5_enctype /*etype*/,
3502 const char */*string*/,
3503 krb5_salttype */*salttype*/);
3505 krb5_error_code KRB5_LIB_FUNCTION
3506 krb5_ticket_get_authorization_data_type (
3507 krb5_context /*context*/,
3508 krb5_ticket */*ticket*/,
3509 int /*type*/,
3510 krb5_data */*data*/);
3512 krb5_error_code KRB5_LIB_FUNCTION
3513 krb5_ticket_get_client (
3514 krb5_context /*context*/,
3515 const krb5_ticket */*ticket*/,
3516 krb5_principal */*client*/);
3518 krb5_error_code KRB5_LIB_FUNCTION
3519 krb5_ticket_get_server (
3520 krb5_context /*context*/,
3521 const krb5_ticket */*ticket*/,
3522 krb5_principal */*server*/);
3524 krb5_error_code KRB5_LIB_FUNCTION
3525 krb5_timeofday (
3526 krb5_context /*context*/,
3527 krb5_timestamp */*timeret*/);
3529 krb5_error_code KRB5_LIB_FUNCTION
3530 krb5_unparse_name (
3531 krb5_context /*context*/,
3532 krb5_const_principal /*principal*/,
3533 char **/*name*/);
3535 krb5_error_code KRB5_LIB_FUNCTION
3536 krb5_unparse_name_fixed (
3537 krb5_context /*context*/,
3538 krb5_const_principal /*principal*/,
3539 char */*name*/,
3540 size_t /*len*/);
3542 krb5_error_code KRB5_LIB_FUNCTION
3543 krb5_unparse_name_fixed_flags (
3544 krb5_context /*context*/,
3545 krb5_const_principal /*principal*/,
3546 int /*flags*/,
3547 char */*name*/,
3548 size_t /*len*/);
3550 krb5_error_code KRB5_LIB_FUNCTION
3551 krb5_unparse_name_fixed_short (
3552 krb5_context /*context*/,
3553 krb5_const_principal /*principal*/,
3554 char */*name*/,
3555 size_t /*len*/);
3557 krb5_error_code KRB5_LIB_FUNCTION
3558 krb5_unparse_name_flags (
3559 krb5_context /*context*/,
3560 krb5_const_principal /*principal*/,
3561 int /*flags*/,
3562 char **/*name*/);
3564 krb5_error_code KRB5_LIB_FUNCTION
3565 krb5_unparse_name_short (
3566 krb5_context /*context*/,
3567 krb5_const_principal /*principal*/,
3568 char **/*name*/);
3570 krb5_error_code KRB5_LIB_FUNCTION
3571 krb5_us_timeofday (
3572 krb5_context /*context*/,
3573 krb5_timestamp */*sec*/,
3574 int32_t */*usec*/);
3576 krb5_error_code KRB5_LIB_FUNCTION
3577 krb5_vabort (
3578 krb5_context /*context*/,
3579 krb5_error_code /*code*/,
3580 const char */*fmt*/,
3581 va_list /*ap*/)
3582 __attribute__ ((noreturn, format (printf, 3, 0)));
3584 krb5_error_code KRB5_LIB_FUNCTION
3585 krb5_vabortx (
3586 krb5_context /*context*/,
3587 const char */*fmt*/,
3588 va_list /*ap*/)
3589 __attribute__ ((noreturn, format (printf, 2, 0)));
3591 krb5_error_code KRB5_LIB_FUNCTION
3592 krb5_verify_ap_req (
3593 krb5_context /*context*/,
3594 krb5_auth_context */*auth_context*/,
3595 krb5_ap_req */*ap_req*/,
3596 krb5_const_principal /*server*/,
3597 krb5_keyblock */*keyblock*/,
3598 krb5_flags /*flags*/,
3599 krb5_flags */*ap_req_options*/,
3600 krb5_ticket **/*ticket*/);
3602 krb5_error_code KRB5_LIB_FUNCTION
3603 krb5_verify_ap_req2 (
3604 krb5_context /*context*/,
3605 krb5_auth_context */*auth_context*/,
3606 krb5_ap_req */*ap_req*/,
3607 krb5_const_principal /*server*/,
3608 krb5_keyblock */*keyblock*/,
3609 krb5_flags /*flags*/,
3610 krb5_flags */*ap_req_options*/,
3611 krb5_ticket **/*ticket*/,
3612 krb5_key_usage /*usage*/);
3614 krb5_error_code KRB5_LIB_FUNCTION
3615 krb5_verify_authenticator_checksum (
3616 krb5_context /*context*/,
3617 krb5_auth_context /*ac*/,
3618 void */*data*/,
3619 size_t /*len*/);
3621 krb5_error_code KRB5_LIB_FUNCTION
3622 krb5_verify_checksum (
3623 krb5_context /*context*/,
3624 krb5_crypto /*crypto*/,
3625 krb5_key_usage /*usage*/,
3626 void */*data*/,
3627 size_t /*len*/,
3628 Checksum */*cksum*/);
3630 krb5_error_code KRB5_LIB_FUNCTION
3631 krb5_verify_init_creds (
3632 krb5_context /*context*/,
3633 krb5_creds */*creds*/,
3634 krb5_principal /*ap_req_server*/,
3635 krb5_keytab /*ap_req_keytab*/,
3636 krb5_ccache */*ccache*/,
3637 krb5_verify_init_creds_opt */*options*/);
3639 void KRB5_LIB_FUNCTION
3640 krb5_verify_init_creds_opt_init (krb5_verify_init_creds_opt */*options*/);
3642 void KRB5_LIB_FUNCTION
3643 krb5_verify_init_creds_opt_set_ap_req_nofail (
3644 krb5_verify_init_creds_opt */*options*/,
3645 int /*ap_req_nofail*/);
3647 int KRB5_LIB_FUNCTION
3648 krb5_verify_opt_alloc (
3649 krb5_context /*context*/,
3650 krb5_verify_opt **/*opt*/);
3652 void KRB5_LIB_FUNCTION
3653 krb5_verify_opt_free (krb5_verify_opt */*opt*/);
3655 void KRB5_LIB_FUNCTION
3656 krb5_verify_opt_init (krb5_verify_opt */*opt*/);
3658 void KRB5_LIB_FUNCTION
3659 krb5_verify_opt_set_ccache (
3660 krb5_verify_opt */*opt*/,
3661 krb5_ccache /*ccache*/);
3663 void KRB5_LIB_FUNCTION
3664 krb5_verify_opt_set_flags (
3665 krb5_verify_opt */*opt*/,
3666 unsigned int /*flags*/);
3668 void KRB5_LIB_FUNCTION
3669 krb5_verify_opt_set_keytab (
3670 krb5_verify_opt */*opt*/,
3671 krb5_keytab /*keytab*/);
3673 void KRB5_LIB_FUNCTION
3674 krb5_verify_opt_set_secure (
3675 krb5_verify_opt */*opt*/,
3676 krb5_boolean /*secure*/);
3678 void KRB5_LIB_FUNCTION
3679 krb5_verify_opt_set_service (
3680 krb5_verify_opt */*opt*/,
3681 const char */*service*/);
3683 krb5_error_code KRB5_LIB_FUNCTION
3684 krb5_verify_user (
3685 krb5_context /*context*/,
3686 krb5_principal /*principal*/,
3687 krb5_ccache /*ccache*/,
3688 const char */*password*/,
3689 krb5_boolean /*secure*/,
3690 const char */*service*/);
3692 krb5_error_code KRB5_LIB_FUNCTION
3693 krb5_verify_user_lrealm (
3694 krb5_context /*context*/,
3695 krb5_principal /*principal*/,
3696 krb5_ccache /*ccache*/,
3697 const char */*password*/,
3698 krb5_boolean /*secure*/,
3699 const char */*service*/);
3701 krb5_error_code KRB5_LIB_FUNCTION
3702 krb5_verify_user_opt (
3703 krb5_context /*context*/,
3704 krb5_principal /*principal*/,
3705 const char */*password*/,
3706 krb5_verify_opt */*opt*/);
3708 krb5_error_code KRB5_LIB_FUNCTION
3709 krb5_verr (
3710 krb5_context /*context*/,
3711 int /*eval*/,
3712 krb5_error_code /*code*/,
3713 const char */*fmt*/,
3714 va_list /*ap*/)
3715 __attribute__ ((noreturn, format (printf, 4, 0)));
3717 krb5_error_code KRB5_LIB_FUNCTION
3718 krb5_verrx (
3719 krb5_context /*context*/,
3720 int /*eval*/,
3721 const char */*fmt*/,
3722 va_list /*ap*/)
3723 __attribute__ ((noreturn, format (printf, 3, 0)));
3725 krb5_error_code KRB5_LIB_FUNCTION
3726 krb5_vlog (
3727 krb5_context /*context*/,
3728 krb5_log_facility */*fac*/,
3729 int /*level*/,
3730 const char */*fmt*/,
3731 va_list /*ap*/)
3732 __attribute__((format (printf, 4, 0)));
3734 krb5_error_code KRB5_LIB_FUNCTION
3735 krb5_vlog_msg (
3736 krb5_context /*context*/,
3737 krb5_log_facility */*fac*/,
3738 char **/*reply*/,
3739 int /*level*/,
3740 const char */*fmt*/,
3741 va_list /*ap*/)
3742 __attribute__((format (printf, 5, 0)));
3744 krb5_error_code KRB5_LIB_FUNCTION
3745 krb5_vset_error_string (
3746 krb5_context /*context*/,
3747 const char */*fmt*/,
3748 va_list /*args*/)
3749 __attribute__ ((format (printf, 2, 0)));
3751 krb5_error_code KRB5_LIB_FUNCTION
3752 krb5_vwarn (
3753 krb5_context /*context*/,
3754 krb5_error_code /*code*/,
3755 const char */*fmt*/,
3756 va_list /*ap*/)
3757 __attribute__ ((format (printf, 3, 0)));
3759 krb5_error_code KRB5_LIB_FUNCTION
3760 krb5_vwarnx (
3761 krb5_context /*context*/,
3762 const char */*fmt*/,
3763 va_list /*ap*/)
3764 __attribute__ ((format (printf, 2, 0)));
3766 krb5_error_code KRB5_LIB_FUNCTION
3767 krb5_warn (
3768 krb5_context /*context*/,
3769 krb5_error_code /*code*/,
3770 const char */*fmt*/,
3771 ...)
3772 __attribute__ ((format (printf, 3, 4)));
3774 krb5_error_code KRB5_LIB_FUNCTION
3775 krb5_warnx (
3776 krb5_context /*context*/,
3777 const char */*fmt*/,
3778 ...)
3779 __attribute__ ((format (printf, 2, 3)));
3781 krb5_error_code KRB5_LIB_FUNCTION
3782 krb5_write_message (
3783 krb5_context /*context*/,
3784 krb5_pointer /*p_fd*/,
3785 krb5_data */*data*/);
3787 krb5_error_code KRB5_LIB_FUNCTION
3788 krb5_write_priv_message (
3789 krb5_context /*context*/,
3790 krb5_auth_context /*ac*/,
3791 krb5_pointer /*p_fd*/,
3792 krb5_data */*data*/);
3794 krb5_error_code KRB5_LIB_FUNCTION
3795 krb5_write_safe_message (
3796 krb5_context /*context*/,
3797 krb5_auth_context /*ac*/,
3798 krb5_pointer /*p_fd*/,
3799 krb5_data */*data*/);
3801 krb5_error_code KRB5_LIB_FUNCTION
3802 krb5_xfree (void */*ptr*/);
3804 #ifdef __cplusplus
3806 #endif
3808 #endif /* __krb5_protos_h__ */