1 /* This is a generated file */
2 #ifndef __krb5_protos_h__
3 #define __krb5_protos_h__
7 #if !defined(__GNUC__) && !defined(__attribute__)
8 #define __attribute__(x)
12 krb524_convert_creds_kdc (
13 krb5_context /*context*/,
14 krb5_creds */*in_cred*/,
15 struct credentials */*v4creds*/);
18 krb524_convert_creds_kdc_ccache (
19 krb5_context /*context*/,
20 krb5_ccache /*ccache*/,
21 krb5_creds */*in_cred*/,
22 struct credentials */*v4creds*/);
25 krb5_425_conv_principal (
26 krb5_context /*context*/,
28 const char */*instance*/,
29 const char */*realm*/,
30 krb5_principal */*princ*/);
33 krb5_425_conv_principal_ext (
34 krb5_context /*context*/,
36 const char */*instance*/,
37 const char */*realm*/,
38 krb5_boolean (*/*func*/)(krb5_context, krb5_principal),
39 krb5_boolean /*resolve*/,
40 krb5_principal */*princ*/);
43 krb5_524_conv_principal (
44 krb5_context /*context*/,
45 const krb5_principal /*principal*/,
52 krb5_context /*context*/,
53 krb5_cksumtype /*cktype*/,
54 krb5_data /*password*/,
57 krb5_keytype /*type*/,
58 krb5_keyblock */*key*/);
62 krb5_context /*context*/,
63 krb5_error_code /*code*/,
66 __attribute__ ((noreturn, format (printf, 3, 4)));
70 krb5_context /*context*/,
73 __attribute__ ((noreturn, format (printf, 2, 3)));
77 krb5_context /*context*/,
79 const char */*format*/,
83 krb5_acl_match_string (
84 krb5_context /*context*/,
85 const char */*string*/,
86 const char */*format*/,
91 krb5_context /*context*/,
92 void (*/*func*/)(struct et_list **));
95 krb5_add_extra_addresses (
96 krb5_context /*context*/,
97 krb5_addresses */*addresses*/);
100 krb5_add_ignore_addresses (
101 krb5_context /*context*/,
102 krb5_addresses */*addresses*/);
106 krb5_context /*context*/,
107 krb5_log_facility */*f*/,
108 const char */*orig*/);
112 krb5_context /*context*/,
113 krb5_log_facility */*fac*/,
116 krb5_log_log_func_t /*log*/,
117 krb5_log_close_func_t /*close*/,
122 krb5_context /*context*/,
123 const krb5_address */*addr*/,
124 struct sockaddr */*sa*/,
125 krb5_socklen_t */*sa_size*/,
129 krb5_address_compare (
130 krb5_context /*context*/,
131 const krb5_address */*addr1*/,
132 const krb5_address */*addr2*/);
136 krb5_context /*context*/,
137 const krb5_address */*addr1*/,
138 const krb5_address */*addr2*/);
141 krb5_address_search (
142 krb5_context /*context*/,
143 const krb5_address */*addr*/,
144 const krb5_addresses */*addrlist*/);
147 krb5_aname_to_localname (
148 krb5_context /*context*/,
149 krb5_const_principal /*aname*/,
155 krb5_context /*context*/,
157 struct sockaddr */*sa*/,
158 krb5_socklen_t */*sa_size*/,
162 krb5_appdefault_boolean (
163 krb5_context /*context*/,
164 const char */*appname*/,
165 krb5_const_realm /*realm*/,
166 const char */*option*/,
167 krb5_boolean /*def_val*/,
168 krb5_boolean */*ret_val*/);
171 krb5_appdefault_string (
172 krb5_context /*context*/,
173 const char */*appname*/,
174 krb5_const_realm /*realm*/,
175 const char */*option*/,
176 const char */*def_val*/,
180 krb5_appdefault_time (
181 krb5_context /*context*/,
182 const char */*appname*/,
183 krb5_const_realm /*realm*/,
184 const char */*option*/,
186 time_t */*ret_val*/);
189 krb5_append_addresses (
190 krb5_context /*context*/,
191 krb5_addresses */*dest*/,
192 const krb5_addresses */*source*/);
196 krb5_context /*context*/,
197 krb5_auth_context /*auth_context*/);
200 krb5_auth_con_genaddrs (
201 krb5_context /*context*/,
202 krb5_auth_context /*auth_context*/,
207 krb5_auth_con_generatelocalsubkey (
208 krb5_context /*context*/,
209 krb5_auth_context /*auth_context*/,
210 krb5_keyblock */*key*/);
213 krb5_auth_con_getaddrs (
214 krb5_context /*context*/,
215 krb5_auth_context /*auth_context*/,
216 krb5_address **/*local_addr*/,
217 krb5_address **/*remote_addr*/);
220 krb5_auth_con_getauthenticator (
221 krb5_context /*context*/,
222 krb5_auth_context /*auth_context*/,
223 krb5_authenticator */*authenticator*/);
226 krb5_auth_con_getcksumtype (
227 krb5_context /*context*/,
228 krb5_auth_context /*auth_context*/,
229 krb5_cksumtype */*cksumtype*/);
232 krb5_auth_con_getflags (
233 krb5_context /*context*/,
234 krb5_auth_context /*auth_context*/,
238 krb5_auth_con_getkey (
239 krb5_context /*context*/,
240 krb5_auth_context /*auth_context*/,
241 krb5_keyblock **/*keyblock*/);
244 krb5_auth_con_getkeytype (
245 krb5_context /*context*/,
246 krb5_auth_context /*auth_context*/,
247 krb5_keytype */*keytype*/);
250 krb5_auth_con_getlocalseqnumber (
251 krb5_context /*context*/,
252 krb5_auth_context /*auth_context*/,
253 int32_t */*seqnumber*/);
256 krb5_auth_con_getlocalsubkey (
257 krb5_context /*context*/,
258 krb5_auth_context /*auth_context*/,
259 krb5_keyblock **/*keyblock*/);
262 krb5_auth_con_getrcache (
263 krb5_context /*context*/,
264 krb5_auth_context /*auth_context*/,
265 krb5_rcache */*rcache*/);
268 krb5_auth_con_getremotesubkey (
269 krb5_context /*context*/,
270 krb5_auth_context /*auth_context*/,
271 krb5_keyblock **/*keyblock*/);
275 krb5_context /*context*/,
276 krb5_auth_context */*auth_context*/);
279 krb5_auth_con_setaddrs (
280 krb5_context /*context*/,
281 krb5_auth_context /*auth_context*/,
282 krb5_address */*local_addr*/,
283 krb5_address */*remote_addr*/);
286 krb5_auth_con_setaddrs_from_fd (
287 krb5_context /*context*/,
288 krb5_auth_context /*auth_context*/,
292 krb5_auth_con_setcksumtype (
293 krb5_context /*context*/,
294 krb5_auth_context /*auth_context*/,
295 krb5_cksumtype /*cksumtype*/);
298 krb5_auth_con_setflags (
299 krb5_context /*context*/,
300 krb5_auth_context /*auth_context*/,
304 krb5_auth_con_setkey (
305 krb5_context /*context*/,
306 krb5_auth_context /*auth_context*/,
307 krb5_keyblock */*keyblock*/);
310 krb5_auth_con_setkeytype (
311 krb5_context /*context*/,
312 krb5_auth_context /*auth_context*/,
313 krb5_keytype /*keytype*/);
316 krb5_auth_con_setlocalseqnumber (
317 krb5_context /*context*/,
318 krb5_auth_context /*auth_context*/,
319 int32_t /*seqnumber*/);
322 krb5_auth_con_setlocalsubkey (
323 krb5_context /*context*/,
324 krb5_auth_context /*auth_context*/,
325 krb5_keyblock */*keyblock*/);
328 krb5_auth_con_setrcache (
329 krb5_context /*context*/,
330 krb5_auth_context /*auth_context*/,
331 krb5_rcache /*rcache*/);
334 krb5_auth_con_setremoteseqnumber (
335 krb5_context /*context*/,
336 krb5_auth_context /*auth_context*/,
337 int32_t /*seqnumber*/);
340 krb5_auth_con_setremotesubkey (
341 krb5_context /*context*/,
342 krb5_auth_context /*auth_context*/,
343 krb5_keyblock */*keyblock*/);
346 krb5_auth_con_setuserkey (
347 krb5_context /*context*/,
348 krb5_auth_context /*auth_context*/,
349 krb5_keyblock */*keyblock*/);
352 krb5_auth_getremoteseqnumber (
353 krb5_context /*context*/,
354 krb5_auth_context /*auth_context*/,
355 int32_t */*seqnumber*/);
359 krb5_context /*context*/,
360 krb5_enctype /*enctype*/,
361 krb5_creds */*cred*/,
362 krb5_flags /*ap_options*/,
363 krb5_data /*authenticator*/,
364 krb5_data */*retdata*/);
367 krb5_build_authenticator (
368 krb5_context /*context*/,
369 krb5_auth_context /*auth_context*/,
370 krb5_enctype /*enctype*/,
371 krb5_creds */*cred*/,
373 Authenticator **/*auth_result*/,
374 krb5_data */*result*/,
375 krb5_key_usage /*usage*/);
378 krb5_build_principal (
379 krb5_context /*context*/,
380 krb5_principal */*principal*/,
382 krb5_const_realm /*realm*/,
386 krb5_build_principal_ext (
387 krb5_context /*context*/,
388 krb5_principal */*principal*/,
390 krb5_const_realm /*realm*/,
394 krb5_build_principal_va (
395 krb5_context /*context*/,
396 krb5_principal */*principal*/,
398 krb5_const_realm /*realm*/,
402 krb5_build_principal_va_ext (
403 krb5_context /*context*/,
404 krb5_principal */*principal*/,
406 krb5_const_realm /*realm*/,
411 krb5_context /*context*/,
416 krb5_context /*context*/,
417 const krb5_ccache /*from*/,
422 krb5_context /*context*/,
423 krb5_ccache */*id*/);
426 krb5_cc_default_name (krb5_context /*context*/);
430 krb5_context /*context*/,
434 krb5_cc_end_seq_get (
435 krb5_context /*context*/,
436 const krb5_ccache /*id*/,
437 krb5_cc_cursor */*cursor*/);
441 krb5_context /*context*/,
442 const krb5_cc_ops */*ops*/,
443 krb5_ccache */*id*/);
447 krb5_context /*context*/,
452 krb5_context /*context*/,
456 krb5_cc_get_principal (
457 krb5_context /*context*/,
459 krb5_principal */*principal*/);
463 krb5_context /*context*/,
467 krb5_cc_get_version (
468 krb5_context /*context*/,
469 const krb5_ccache /*id*/);
473 krb5_context /*context*/,
475 krb5_principal /*primary_principal*/);
479 krb5_context /*context*/,
480 const krb5_ccache /*id*/,
481 krb5_cc_cursor */*cursor*/,
482 krb5_creds */*creds*/);
486 krb5_context /*context*/,
487 const krb5_cc_ops */*ops*/,
488 krb5_boolean /*override*/);
491 krb5_cc_remove_cred (
492 krb5_context /*context*/,
494 krb5_flags /*which*/,
495 krb5_creds */*cred*/);
499 krb5_context /*context*/,
500 const char */*name*/,
501 krb5_ccache */*id*/);
504 krb5_cc_retrieve_cred (
505 krb5_context /*context*/,
507 krb5_flags /*whichfields*/,
508 const krb5_creds */*mcreds*/,
509 krb5_creds */*creds*/);
512 krb5_cc_set_default_name (
513 krb5_context /*context*/,
514 const char */*name*/);
518 krb5_context /*context*/,
520 krb5_flags /*flags*/);
523 krb5_cc_start_seq_get (
524 krb5_context /*context*/,
525 const krb5_ccache /*id*/,
526 krb5_cc_cursor */*cursor*/);
530 krb5_context /*context*/,
532 krb5_creds */*creds*/);
535 krb5_change_password (
536 krb5_context /*context*/,
537 krb5_creds */*creds*/,
539 int */*result_code*/,
540 krb5_data */*result_code_string*/,
541 krb5_data */*result_string*/);
544 krb5_check_transited (
545 krb5_context /*context*/,
546 krb5_const_realm /*client_realm*/,
547 krb5_const_realm /*server_realm*/,
548 krb5_realm */*realms*/,
553 krb5_check_transited_realms (
554 krb5_context /*context*/,
555 const char *const */*realms*/,
560 krb5_checksum_is_collision_proof (
561 krb5_context /*context*/,
562 krb5_cksumtype /*type*/);
565 krb5_checksum_is_keyed (
566 krb5_context /*context*/,
567 krb5_cksumtype /*type*/);
571 krb5_context /*context*/,
572 krb5_cksumtype /*type*/,
576 krb5_clear_error_string (krb5_context /*context*/);
580 krb5_context /*context*/,
581 krb5_log_facility */*fac*/);
585 krb5_context /*context*/,
586 krb5_flags /*whichfields*/,
587 const krb5_creds */*mcreds*/,
588 const krb5_creds */*creds*/);
591 krb5_config_file_free (
592 krb5_context /*context*/,
593 krb5_config_section */*s*/);
596 krb5_config_free_strings (char **/*strings*/);
600 krb5_context /*context*/,
601 const krb5_config_section */*c*/,
606 krb5_config_get_bool (
607 krb5_context /*context*/,
608 const krb5_config_section */*c*/,
612 krb5_config_get_bool_default (
613 krb5_context /*context*/,
614 const krb5_config_section */*c*/,
615 krb5_boolean /*def_value*/,
619 krb5_config_get_int (
620 krb5_context /*context*/,
621 const krb5_config_section */*c*/,
625 krb5_config_get_int_default (
626 krb5_context /*context*/,
627 const krb5_config_section */*c*/,
631 const krb5_config_binding *
632 krb5_config_get_list (
633 krb5_context /*context*/,
634 const krb5_config_section */*c*/,
638 krb5_config_get_next (
639 krb5_context /*context*/,
640 const krb5_config_section */*c*/,
641 const krb5_config_binding **/*pointer*/,
646 krb5_config_get_string (
647 krb5_context /*context*/,
648 const krb5_config_section */*c*/,
652 krb5_config_get_string_default (
653 krb5_context /*context*/,
654 const krb5_config_section */*c*/,
655 const char */*def_value*/,
659 krb5_config_get_strings (
660 krb5_context /*context*/,
661 const krb5_config_section */*c*/,
665 krb5_config_get_time (
666 krb5_context /*context*/,
667 const krb5_config_section */*c*/,
671 krb5_config_get_time_default (
672 krb5_context /*context*/,
673 const krb5_config_section */*c*/,
678 krb5_config_parse_file (
679 krb5_context /*context*/,
680 const char */*fname*/,
681 krb5_config_section **/*res*/);
684 krb5_config_parse_file_multi (
685 krb5_context /*context*/,
686 const char */*fname*/,
687 krb5_config_section **/*res*/);
691 krb5_context /*context*/,
692 const krb5_config_section */*c*/,
697 krb5_config_vget_bool (
698 krb5_context /*context*/,
699 const krb5_config_section */*c*/,
703 krb5_config_vget_bool_default (
704 krb5_context /*context*/,
705 const krb5_config_section */*c*/,
706 krb5_boolean /*def_value*/,
710 krb5_config_vget_int (
711 krb5_context /*context*/,
712 const krb5_config_section */*c*/,
716 krb5_config_vget_int_default (
717 krb5_context /*context*/,
718 const krb5_config_section */*c*/,
722 const krb5_config_binding *
723 krb5_config_vget_list (
724 krb5_context /*context*/,
725 const krb5_config_section */*c*/,
729 krb5_config_vget_next (
730 krb5_context /*context*/,
731 const krb5_config_section */*c*/,
732 const krb5_config_binding **/*pointer*/,
737 krb5_config_vget_string (
738 krb5_context /*context*/,
739 const krb5_config_section */*c*/,
743 krb5_config_vget_string_default (
744 krb5_context /*context*/,
745 const krb5_config_section */*c*/,
746 const char */*def_value*/,
750 krb5_config_vget_strings (
751 krb5_context /*context*/,
752 const krb5_config_section */*c*/,
756 krb5_config_vget_time (
757 krb5_context /*context*/,
758 const krb5_config_section */*c*/,
762 krb5_config_vget_time_default (
763 krb5_context /*context*/,
764 const krb5_config_section */*c*/,
770 krb5_context /*context*/,
771 const krb5_address */*inaddr*/,
772 krb5_address */*outaddr*/);
775 krb5_copy_addresses (
776 krb5_context /*context*/,
777 const krb5_addresses */*inaddr*/,
778 krb5_addresses */*outaddr*/);
782 krb5_context /*context*/,
783 const krb5_creds */*incred*/,
784 krb5_creds **/*outcred*/);
787 krb5_copy_creds_contents (
788 krb5_context /*context*/,
789 const krb5_creds */*incred*/,
794 krb5_context /*context*/,
795 const krb5_data */*indata*/,
796 krb5_data **/*outdata*/);
799 krb5_copy_host_realm (
800 krb5_context /*context*/,
801 const krb5_realm */*from*/,
802 krb5_realm **/*to*/);
806 krb5_context /*context*/,
807 const krb5_keyblock */*inblock*/,
808 krb5_keyblock **/*to*/);
811 krb5_copy_keyblock_contents (
812 krb5_context /*context*/,
813 const krb5_keyblock */*inblock*/,
814 krb5_keyblock */*to*/);
817 krb5_copy_principal (
818 krb5_context /*context*/,
819 krb5_const_principal /*inprinc*/,
820 krb5_principal */*outprinc*/);
824 krb5_context /*context*/,
825 const krb5_ticket */*from*/,
826 krb5_ticket **/*to*/);
829 krb5_create_checksum (
830 krb5_context /*context*/,
831 krb5_crypto /*crypto*/,
832 krb5_key_usage /*usage*/,
836 Checksum */*result*/);
839 krb5_crypto_destroy (
840 krb5_context /*context*/,
841 krb5_crypto /*crypto*/);
844 krb5_crypto_getblocksize (
845 krb5_context /*context*/,
846 krb5_crypto /*crypto*/,
847 size_t */*blocksize*/);
851 krb5_context /*context*/,
852 const krb5_keyblock */*key*/,
853 krb5_enctype /*etype*/,
854 krb5_crypto */*crypto*/);
864 const void */*data*/,
868 krb5_data_free (krb5_data */*p*/);
876 krb5_data_zero (krb5_data */*p*/);
879 krb5_decode_Authenticator (
880 krb5_context /*context*/,
881 const void */*data*/,
883 Authenticator */*t*/,
887 krb5_decode_ETYPE_INFO (
888 krb5_context /*context*/,
889 const void */*data*/,
895 krb5_decode_EncAPRepPart (
896 krb5_context /*context*/,
897 const void */*data*/,
903 krb5_decode_EncASRepPart (
904 krb5_context /*context*/,
905 const void */*data*/,
911 krb5_decode_EncKrbCredPart (
912 krb5_context /*context*/,
913 const void */*data*/,
915 EncKrbCredPart */*t*/,
919 krb5_decode_EncTGSRepPart (
920 krb5_context /*context*/,
921 const void */*data*/,
923 EncTGSRepPart */*t*/,
927 krb5_decode_EncTicketPart (
928 krb5_context /*context*/,
929 const void */*data*/,
931 EncTicketPart */*t*/,
936 krb5_context /*context*/,
937 const krb5_data */*inbuf*/,
938 krb5_ap_req */*ap_req*/);
942 krb5_context /*context*/,
943 krb5_crypto /*crypto*/,
947 krb5_data */*result*/);
950 krb5_decrypt_EncryptedData (
951 krb5_context /*context*/,
952 krb5_crypto /*crypto*/,
954 const EncryptedData */*e*/,
955 krb5_data */*result*/);
959 krb5_context /*context*/,
960 krb5_crypto /*crypto*/,
964 krb5_data */*result*/,
968 krb5_decrypt_ticket (
969 krb5_context /*context*/,
971 krb5_keyblock */*key*/,
972 EncTicketPart */*out*/,
973 krb5_flags /*flags*/);
977 krb5_context /*context*/,
978 const krb5_keyblock */*key*/,
979 krb5_enctype /*etype*/,
980 const void */*constant*/,
981 size_t /*constant_len*/,
982 krb5_keyblock **/*derived_key*/);
985 krb5_domain_x500_decode (
986 krb5_context /*context*/,
990 const char */*client_realm*/,
991 const char */*server_realm*/);
994 krb5_domain_x500_encode (
997 krb5_data */*encoding*/);
1000 krb5_eai_to_heim_errno (
1002 int /*system_error*/);
1005 krb5_encode_Authenticator (
1006 krb5_context /*context*/,
1009 Authenticator */*t*/,
1013 krb5_encode_ETYPE_INFO (
1014 krb5_context /*context*/,
1021 krb5_encode_EncAPRepPart (
1022 krb5_context /*context*/,
1025 EncAPRepPart */*t*/,
1029 krb5_encode_EncASRepPart (
1030 krb5_context /*context*/,
1033 EncASRepPart */*t*/,
1037 krb5_encode_EncKrbCredPart (
1038 krb5_context /*context*/,
1041 EncKrbCredPart */*t*/,
1045 krb5_encode_EncTGSRepPart (
1046 krb5_context /*context*/,
1049 EncTGSRepPart */*t*/,
1053 krb5_encode_EncTicketPart (
1054 krb5_context /*context*/,
1057 EncTicketPart */*t*/,
1062 krb5_context /*context*/,
1063 krb5_crypto /*crypto*/,
1067 krb5_data */*result*/);
1070 krb5_encrypt_EncryptedData (
1071 krb5_context /*context*/,
1072 krb5_crypto /*crypto*/,
1077 EncryptedData */*result*/);
1081 krb5_context /*context*/,
1082 krb5_crypto /*crypto*/,
1086 krb5_data */*result*/,
1090 krb5_enctype_keysize (
1091 krb5_context /*context*/,
1092 krb5_enctype /*type*/,
1093 size_t */*keysize*/);
1096 krb5_enctype_to_keytype (
1097 krb5_context /*context*/,
1098 krb5_enctype /*etype*/,
1099 krb5_keytype */*keytype*/);
1102 krb5_enctype_to_string (
1103 krb5_context /*context*/,
1104 krb5_enctype /*etype*/,
1108 krb5_enctype_valid (
1109 krb5_context /*context*/,
1110 krb5_enctype /*etype*/);
1113 krb5_enctypes_compatible_keys (
1114 krb5_context /*context*/,
1115 krb5_enctype /*etype1*/,
1116 krb5_enctype /*etype2*/);
1120 krb5_context /*context*/,
1122 krb5_error_code /*code*/,
1123 const char */*fmt*/,
1125 __attribute__ ((noreturn, format (printf, 4, 5)));
1128 krb5_error_from_rd_error (
1129 krb5_context /*context*/,
1130 const krb5_error */*error*/,
1131 const krb5_creds */*creds*/);
1135 krb5_context /*context*/,
1137 const char */*fmt*/,
1139 __attribute__ ((noreturn, format (printf, 3, 4)));
1142 krb5_expand_hostname (
1143 krb5_context /*context*/,
1144 const char */*orig_hostname*/,
1145 char **/*new_hostname*/);
1148 krb5_expand_hostname_realms (
1149 krb5_context /*context*/,
1150 const char */*orig_hostname*/,
1151 char **/*new_hostname*/,
1152 char ***/*realms*/);
1163 krb5_context /*context*/,
1167 krb5_boolean /*include_time*/);
1171 krb5_context /*context*/,
1172 krb5_address */*address*/);
1175 krb5_free_addresses (
1176 krb5_context /*context*/,
1177 krb5_addresses */*addresses*/);
1180 krb5_free_ap_rep_enc_part (
1181 krb5_context /*context*/,
1182 krb5_ap_rep_enc_part */*val*/);
1185 krb5_free_authenticator (
1186 krb5_context /*context*/,
1187 krb5_authenticator */*authenticator*/);
1190 krb5_free_config_files (char **/*filenames*/);
1193 krb5_free_context (krb5_context /*context*/);
1196 krb5_free_cred_contents (
1197 krb5_context /*context*/,
1202 krb5_context /*context*/,
1206 krb5_free_creds_contents (
1207 krb5_context /*context*/,
1212 krb5_context /*context*/,
1216 krb5_free_data_contents (
1217 krb5_context /*context*/,
1218 krb5_data */*data*/);
1222 krb5_context /*context*/,
1223 krb5_error */*error*/);
1226 krb5_free_error_contents (
1227 krb5_context /*context*/,
1228 krb5_error */*error*/);
1231 krb5_free_error_string (
1232 krb5_context /*context*/,
1236 krb5_free_host_realm (
1237 krb5_context /*context*/,
1238 krb5_realm */*realmlist*/);
1242 krb5_context /*context*/,
1243 krb5_kdc_rep */*rep*/);
1246 krb5_free_keyblock (
1247 krb5_context /*context*/,
1248 krb5_keyblock */*keyblock*/);
1251 krb5_free_keyblock_contents (
1252 krb5_context /*context*/,
1253 krb5_keyblock */*keyblock*/);
1257 krb5_context /*context*/,
1258 char **/*hostlist*/);
1261 krb5_free_principal (
1262 krb5_context /*context*/,
1263 krb5_principal /*p*/);
1267 krb5_context /*context*/,
1268 krb5_salt /*salt*/);
1272 krb5_context /*context*/,
1273 krb5_ticket */*ticket*/);
1276 krb5_fwd_tgt_creds (
1277 krb5_context /*context*/,
1278 krb5_auth_context /*auth_context*/,
1279 const char */*hostname*/,
1280 krb5_principal /*client*/,
1281 krb5_principal /*server*/,
1282 krb5_ccache /*ccache*/,
1283 int /*forwardable*/,
1284 krb5_data */*out_data*/);
1287 krb5_generate_random_block (
1292 krb5_generate_random_keyblock (
1293 krb5_context /*context*/,
1294 krb5_enctype /*type*/,
1295 krb5_keyblock */*key*/);
1298 krb5_generate_seq_number (
1299 krb5_context /*context*/,
1300 const krb5_keyblock */*key*/,
1301 u_int32_t */*seqno*/);
1304 krb5_generate_subkey (
1305 krb5_context /*context*/,
1306 const krb5_keyblock */*key*/,
1307 krb5_keyblock **/*subkey*/);
1310 krb5_get_all_client_addrs (
1311 krb5_context /*context*/,
1312 krb5_addresses */*res*/);
1315 krb5_get_all_server_addrs (
1316 krb5_context /*context*/,
1317 krb5_addresses */*res*/);
1320 krb5_get_cred_from_kdc (
1321 krb5_context /*context*/,
1322 krb5_ccache /*ccache*/,
1323 krb5_creds */*in_creds*/,
1324 krb5_creds **/*out_creds*/,
1325 krb5_creds ***/*ret_tgts*/);
1328 krb5_get_cred_from_kdc_opt (
1329 krb5_context /*context*/,
1330 krb5_ccache /*ccache*/,
1331 krb5_creds */*in_creds*/,
1332 krb5_creds **/*out_creds*/,
1333 krb5_creds ***/*ret_tgts*/,
1334 krb5_flags /*flags*/);
1337 krb5_get_credentials (
1338 krb5_context /*context*/,
1339 krb5_flags /*options*/,
1340 krb5_ccache /*ccache*/,
1341 krb5_creds */*in_creds*/,
1342 krb5_creds **/*out_creds*/);
1345 krb5_get_credentials_with_flags (
1346 krb5_context /*context*/,
1347 krb5_flags /*options*/,
1348 krb5_kdc_flags /*flags*/,
1349 krb5_ccache /*ccache*/,
1350 krb5_creds */*in_creds*/,
1351 krb5_creds **/*out_creds*/);
1354 krb5_get_default_config_files (char ***/*pfilenames*/);
1357 krb5_get_default_in_tkt_etypes (
1358 krb5_context /*context*/,
1359 krb5_enctype **/*etypes*/);
1362 krb5_get_default_principal (
1363 krb5_context /*context*/,
1364 krb5_principal */*princ*/);
1367 krb5_get_default_realm (
1368 krb5_context /*context*/,
1369 krb5_realm */*realm*/);
1372 krb5_get_default_realms (
1373 krb5_context /*context*/,
1374 krb5_realm **/*realms*/);
1378 krb5_context /*context*/,
1379 krb5_error_code /*code*/);
1382 krb5_get_error_string (krb5_context /*context*/);
1385 krb5_get_extra_addresses (
1386 krb5_context /*context*/,
1387 krb5_addresses */*addresses*/);
1390 krb5_get_fcache_version (
1391 krb5_context /*context*/,
1395 krb5_get_forwarded_creds (
1396 krb5_context /*context*/,
1397 krb5_auth_context /*auth_context*/,
1398 krb5_ccache /*ccache*/,
1399 krb5_flags /*flags*/,
1400 const char */*hostname*/,
1401 krb5_creds */*in_creds*/,
1402 krb5_data */*out_data*/);
1405 krb5_get_host_realm (
1406 krb5_context /*context*/,
1407 const char */*host*/,
1408 krb5_realm **/*realms*/);
1411 krb5_get_host_realm_int (
1412 krb5_context /*context*/,
1413 const char */*host*/,
1414 krb5_boolean /*use_dns*/,
1415 krb5_realm **/*realms*/);
1418 krb5_get_ignore_addresses (
1419 krb5_context /*context*/,
1420 krb5_addresses */*addresses*/);
1424 krb5_context /*context*/,
1425 krb5_flags /*options*/,
1426 const krb5_addresses */*addrs*/,
1427 const krb5_enctype */*etypes*/,
1428 const krb5_preauthtype */*ptypes*/,
1429 const krb5_preauthdata */*preauth*/,
1430 krb5_key_proc /*key_proc*/,
1431 krb5_const_pointer /*keyseed*/,
1432 krb5_decrypt_proc /*decrypt_proc*/,
1433 krb5_const_pointer /*decryptarg*/,
1434 krb5_creds */*creds*/,
1435 krb5_kdc_rep */*ret_as_reply*/);
1439 krb5_context /*context*/,
1440 krb5_flags /*options*/,
1441 const krb5_addresses */*addrs*/,
1442 const krb5_enctype */*etypes*/,
1443 const krb5_preauthtype */*ptypes*/,
1444 krb5_key_proc /*key_proc*/,
1445 krb5_const_pointer /*keyseed*/,
1446 krb5_decrypt_proc /*decrypt_proc*/,
1447 krb5_const_pointer /*decryptarg*/,
1448 krb5_creds */*creds*/,
1449 krb5_ccache /*ccache*/,
1450 krb5_kdc_rep */*ret_as_reply*/);
1453 krb5_get_in_tkt_with_keytab (
1454 krb5_context /*context*/,
1455 krb5_flags /*options*/,
1456 krb5_addresses */*addrs*/,
1457 const krb5_enctype */*etypes*/,
1458 const krb5_preauthtype */*pre_auth_types*/,
1459 krb5_keytab /*keytab*/,
1460 krb5_ccache /*ccache*/,
1461 krb5_creds */*creds*/,
1462 krb5_kdc_rep */*ret_as_reply*/);
1465 krb5_get_in_tkt_with_password (
1466 krb5_context /*context*/,
1467 krb5_flags /*options*/,
1468 krb5_addresses */*addrs*/,
1469 const krb5_enctype */*etypes*/,
1470 const krb5_preauthtype */*pre_auth_types*/,
1471 const char */*password*/,
1472 krb5_ccache /*ccache*/,
1473 krb5_creds */*creds*/,
1474 krb5_kdc_rep */*ret_as_reply*/);
1477 krb5_get_in_tkt_with_skey (
1478 krb5_context /*context*/,
1479 krb5_flags /*options*/,
1480 krb5_addresses */*addrs*/,
1481 const krb5_enctype */*etypes*/,
1482 const krb5_preauthtype */*pre_auth_types*/,
1483 const krb5_keyblock */*key*/,
1484 krb5_ccache /*ccache*/,
1485 krb5_creds */*creds*/,
1486 krb5_kdc_rep */*ret_as_reply*/);
1489 krb5_get_init_creds_keytab (
1490 krb5_context /*context*/,
1491 krb5_creds */*creds*/,
1492 krb5_principal /*client*/,
1493 krb5_keytab /*keytab*/,
1494 krb5_deltat /*start_time*/,
1495 const char */*in_tkt_service*/,
1496 krb5_get_init_creds_opt */*options*/);
1499 krb5_get_init_creds_opt_init (krb5_get_init_creds_opt */*opt*/);
1502 krb5_get_init_creds_opt_set_address_list (
1503 krb5_get_init_creds_opt */*opt*/,
1504 krb5_addresses */*addresses*/);
1507 krb5_get_init_creds_opt_set_anonymous (
1508 krb5_get_init_creds_opt */*opt*/,
1512 krb5_get_init_creds_opt_set_default_flags (
1513 krb5_context /*context*/,
1514 const char */*appname*/,
1515 krb5_const_realm /*realm*/,
1516 krb5_get_init_creds_opt */*opt*/);
1519 krb5_get_init_creds_opt_set_etype_list (
1520 krb5_get_init_creds_opt */*opt*/,
1521 krb5_enctype */*etype_list*/,
1522 int /*etype_list_length*/);
1525 krb5_get_init_creds_opt_set_forwardable (
1526 krb5_get_init_creds_opt */*opt*/,
1527 int /*forwardable*/);
1530 krb5_get_init_creds_opt_set_preauth_list (
1531 krb5_get_init_creds_opt */*opt*/,
1532 krb5_preauthtype */*preauth_list*/,
1533 int /*preauth_list_length*/);
1536 krb5_get_init_creds_opt_set_proxiable (
1537 krb5_get_init_creds_opt */*opt*/,
1541 krb5_get_init_creds_opt_set_renew_life (
1542 krb5_get_init_creds_opt */*opt*/,
1543 krb5_deltat /*renew_life*/);
1546 krb5_get_init_creds_opt_set_salt (
1547 krb5_get_init_creds_opt */*opt*/,
1548 krb5_data */*salt*/);
1551 krb5_get_init_creds_opt_set_tkt_life (
1552 krb5_get_init_creds_opt */*opt*/,
1553 krb5_deltat /*tkt_life*/);
1556 krb5_get_init_creds_password (
1557 krb5_context /*context*/,
1558 krb5_creds */*creds*/,
1559 krb5_principal /*client*/,
1560 const char */*password*/,
1561 krb5_prompter_fct /*prompter*/,
1563 krb5_deltat /*start_time*/,
1564 const char */*in_tkt_service*/,
1565 krb5_get_init_creds_opt */*options*/);
1569 krb5_context /*context*/,
1571 krb5_kdc_flags /*flags*/,
1572 krb5_addresses */*addresses*/,
1573 Ticket */*second_ticket*/,
1574 krb5_creds */*in_creds*/,
1575 krb5_creds **out_creds );
1578 krb5_get_krb524hst (
1579 krb5_context /*context*/,
1580 const krb5_realm */*realm*/,
1581 char ***/*hostlist*/);
1584 krb5_get_krb_admin_hst (
1585 krb5_context /*context*/,
1586 const krb5_realm */*realm*/,
1587 char ***/*hostlist*/);
1590 krb5_get_krb_changepw_hst (
1591 krb5_context /*context*/,
1592 const krb5_realm */*realm*/,
1593 char ***/*hostlist*/);
1597 krb5_context /*context*/,
1598 const krb5_realm */*realm*/,
1599 char ***/*hostlist*/);
1603 krb5_context /*context*/,
1604 krb5_const_principal /*principal*/,
1605 krb5_salt */*salt*/);
1608 krb5_get_server_rcache (
1609 krb5_context /*context*/,
1610 const krb5_data */*piece*/,
1611 krb5_rcache */*id*/);
1614 krb5_get_use_admin_kdc (krb5_context /*context*/);
1617 krb5_get_wrapped_length (
1618 krb5_context /*context*/,
1619 krb5_crypto /*crypto*/,
1620 size_t /*data_len*/);
1623 krb5_getportbyname (
1624 krb5_context /*context*/,
1625 const char */*service*/,
1626 const char */*proto*/,
1627 int /*default_port*/);
1631 krb5_context /*context*/,
1633 const char */*haddr*/,
1634 krb5_address */*addr*/);
1637 krb5_h_addr2sockaddr (
1638 krb5_context /*context*/,
1640 const char */*addr*/,
1641 struct sockaddr */*sa*/,
1642 krb5_socklen_t */*sa_size*/,
1646 krb5_h_errno_to_heim_errno (int /*eai_errno*/);
1649 krb5_have_error_string (krb5_context /*context*/);
1653 krb5_context /*context*/,
1654 krb5_cksumtype /*cktype*/,
1655 const void */*data*/,
1658 krb5_keyblock */*key*/,
1659 Checksum */*result*/);
1662 krb5_init_context (krb5_context */*context*/);
1665 krb5_init_ets (krb5_context /*context*/);
1669 krb5_context /*context*/,
1671 krb5_enctype **/*val*/,
1672 const krb5_enctype */*etypes*/);
1676 krb5_context /*context*/,
1677 const char */*program*/,
1678 krb5_log_facility **/*fac*/);
1681 krb5_keyblock_key_proc (
1682 krb5_context /*context*/,
1683 krb5_keytype /*type*/,
1684 krb5_data */*salt*/,
1685 krb5_const_pointer /*keyseed*/,
1686 krb5_keyblock **/*key*/);
1689 krb5_keytab_key_proc (
1690 krb5_context /*context*/,
1691 krb5_enctype /*enctype*/,
1693 krb5_const_pointer /*keyseed*/,
1694 krb5_keyblock **/*key*/);
1697 krb5_keytype_to_enctypes (
1698 krb5_context /*context*/,
1699 krb5_keytype /*keytype*/,
1701 krb5_enctype **/*val*/);
1704 krb5_keytype_to_enctypes_default (
1705 krb5_context /*context*/,
1706 krb5_keytype /*keytype*/,
1708 krb5_enctype **/*val*/);
1711 krb5_keytype_to_string (
1712 krb5_context /*context*/,
1713 krb5_keytype /*keytype*/,
1717 krb5_krbhst_format_string (
1718 krb5_context /*context*/,
1719 const krb5_krbhst_info */*host*/,
1721 size_t /*hostlen*/);
1725 krb5_context /*context*/,
1726 krb5_krbhst_handle /*handle*/);
1729 krb5_krbhst_get_addrinfo (
1730 krb5_context /*context*/,
1731 krb5_krbhst_info */*host*/,
1732 struct addrinfo **/*ai*/);
1736 krb5_context /*context*/,
1737 const char */*realm*/,
1738 unsigned int /*type*/,
1739 krb5_krbhst_handle */*handle*/);
1743 krb5_context /*context*/,
1744 krb5_krbhst_handle /*handle*/,
1745 krb5_krbhst_info **/*host*/);
1748 krb5_krbhst_next_as_string (
1749 krb5_context /*context*/,
1750 krb5_krbhst_handle /*handle*/,
1752 size_t /*hostlen*/);
1756 krb5_context /*context*/,
1757 krb5_krbhst_handle /*handle*/);
1761 krb5_context /*context*/,
1763 krb5_keytab_entry */*entry*/);
1767 krb5_context /*context*/,
1768 krb5_keytab /*id*/);
1772 krb5_context /*context*/,
1773 krb5_keytab_entry */*entry*/,
1774 krb5_const_principal /*principal*/,
1776 krb5_enctype /*enctype*/);
1779 krb5_kt_copy_entry_contents (
1780 krb5_context /*context*/,
1781 const krb5_keytab_entry */*in*/,
1782 krb5_keytab_entry */*out*/);
1786 krb5_context /*context*/,
1787 krb5_keytab */*id*/);
1790 krb5_kt_default_modify_name (
1791 krb5_context /*context*/,
1793 size_t /*namesize*/);
1796 krb5_kt_default_name (
1797 krb5_context /*context*/,
1799 size_t /*namesize*/);
1802 krb5_kt_end_seq_get (
1803 krb5_context /*context*/,
1805 krb5_kt_cursor */*cursor*/);
1808 krb5_kt_free_entry (
1809 krb5_context /*context*/,
1810 krb5_keytab_entry */*entry*/);
1814 krb5_context /*context*/,
1816 krb5_const_principal /*principal*/,
1818 krb5_enctype /*enctype*/,
1819 krb5_keytab_entry */*entry*/);
1823 krb5_context /*context*/,
1824 krb5_keytab /*keytab*/,
1826 size_t /*namesize*/);
1830 krb5_context /*context*/,
1831 krb5_keytab /*keytab*/,
1833 size_t /*prefixsize*/);
1836 krb5_kt_next_entry (
1837 krb5_context /*context*/,
1839 krb5_keytab_entry */*entry*/,
1840 krb5_kt_cursor */*cursor*/);
1843 krb5_kt_read_service_key (
1844 krb5_context /*context*/,
1845 krb5_pointer /*keyprocarg*/,
1846 krb5_principal /*principal*/,
1848 krb5_enctype /*enctype*/,
1849 krb5_keyblock **/*key*/);
1853 krb5_context /*context*/,
1854 const krb5_kt_ops */*ops*/);
1857 krb5_kt_remove_entry (
1858 krb5_context /*context*/,
1860 krb5_keytab_entry */*entry*/);
1864 krb5_context /*context*/,
1865 const char */*name*/,
1866 krb5_keytab */*id*/);
1869 krb5_kt_start_seq_get (
1870 krb5_context /*context*/,
1872 krb5_kt_cursor */*cursor*/);
1876 krb5_context /*context*/,
1877 krb5_principal /*principal*/,
1878 const char */*luser*/);
1882 krb5_context /*context*/,
1883 krb5_log_facility */*fac*/,
1885 const char */*fmt*/,
1887 __attribute__((format (printf, 4, 5)));
1891 krb5_context /*context*/,
1892 krb5_log_facility */*fac*/,
1895 const char */*fmt*/,
1897 __attribute__((format (printf, 5, 6)));
1900 krb5_make_addrport (
1901 krb5_context /*context*/,
1902 krb5_address **/*res*/,
1903 const krb5_address */*addr*/,
1907 krb5_make_principal (
1908 krb5_context /*context*/,
1909 krb5_principal */*principal*/,
1910 krb5_const_realm /*realm*/,
1914 krb5_max_sockaddr_size (void);
1918 krb5_context /*context*/,
1919 krb5_error_code /*error_code*/,
1920 const char */*e_text*/,
1921 const krb5_data */*e_data*/,
1922 const krb5_principal /*client*/,
1923 const krb5_principal /*server*/,
1924 time_t */*client_time*/,
1925 int */*client_usec*/,
1926 krb5_data */*reply*/);
1930 krb5_context /*context*/,
1931 krb5_auth_context /*auth_context*/,
1932 const krb5_data */*userdata*/,
1933 krb5_data */*outbuf*/,
1938 krb5_context /*context*/,
1939 krb5_auth_context /*auth_context*/,
1940 krb5_data */*outbuf*/);
1944 krb5_context /*context*/,
1945 krb5_auth_context */*auth_context*/,
1946 const krb5_flags /*ap_req_options*/,
1947 const char */*service*/,
1948 const char */*hostname*/,
1949 krb5_data */*in_data*/,
1950 krb5_ccache /*ccache*/,
1951 krb5_data */*outbuf*/);
1955 krb5_context /*context*/,
1956 krb5_auth_context */*auth_context*/,
1957 const krb5_flags /*ap_req_options*/,
1958 const krb5_principal /*server*/,
1959 krb5_data */*in_data*/,
1960 krb5_ccache /*ccache*/,
1961 krb5_data */*outbuf*/);
1964 krb5_mk_req_extended (
1965 krb5_context /*context*/,
1966 krb5_auth_context */*auth_context*/,
1967 const krb5_flags /*ap_req_options*/,
1968 krb5_data */*in_data*/,
1969 krb5_creds */*in_creds*/,
1970 krb5_data */*outbuf*/);
1973 krb5_mk_req_internal (
1974 krb5_context /*context*/,
1975 krb5_auth_context */*auth_context*/,
1976 const krb5_flags /*ap_req_options*/,
1977 krb5_data */*in_data*/,
1978 krb5_creds */*in_creds*/,
1979 krb5_data */*outbuf*/,
1980 krb5_key_usage /*checksum_usage*/,
1981 krb5_key_usage /*encrypt_usage*/);
1985 krb5_context /*context*/,
1986 krb5_auth_context /*auth_context*/,
1987 const krb5_data */*userdata*/,
1988 krb5_data */*outbuf*/,
1993 krb5_context /*context*/,
2000 krb5_context /*context*/,
2002 const void */*buf*/,
2007 krb5_context /*context*/,
2008 const char */*program*/,
2009 krb5_log_facility **/*fac*/);
2012 krb5_parse_address (
2013 krb5_context /*context*/,
2014 const char */*string*/,
2015 krb5_addresses */*addresses*/);
2019 krb5_context /*context*/,
2020 const char */*name*/,
2021 krb5_principal */*principal*/);
2024 krb5_passwd_result_to_string (
2025 krb5_context /*context*/,
2029 krb5_password_key_proc (
2030 krb5_context /*context*/,
2031 krb5_enctype /*type*/,
2033 krb5_const_pointer /*keyseed*/,
2034 krb5_keyblock **/*key*/);
2038 krb5_context /*context*/,
2039 krb5_principal /*principal*/);
2042 krb5_princ_set_realm (
2043 krb5_context /*context*/,
2044 krb5_principal /*principal*/,
2045 krb5_realm */*realm*/);
2048 krb5_principal2principalname (
2049 PrincipalName */*p*/,
2050 const krb5_principal /*from*/);
2053 krb5_principal_compare (
2054 krb5_context /*context*/,
2055 krb5_const_principal /*princ1*/,
2056 krb5_const_principal /*princ2*/);
2059 krb5_principal_compare_any_realm (
2060 krb5_context /*context*/,
2061 krb5_const_principal /*princ1*/,
2062 krb5_const_principal /*princ2*/);
2065 krb5_principal_get_comp_string (
2066 krb5_context /*context*/,
2067 krb5_principal /*principal*/,
2068 unsigned int /*component*/);
2071 krb5_principal_get_realm (
2072 krb5_context /*context*/,
2073 krb5_principal /*principal*/);
2076 krb5_principal_get_type (
2077 krb5_context /*context*/,
2078 krb5_principal /*principal*/);
2081 krb5_principal_match (
2082 krb5_context /*context*/,
2083 krb5_const_principal /*princ*/,
2084 krb5_const_principal /*pattern*/);
2087 krb5_print_address (
2088 const krb5_address */*addr*/,
2091 size_t */*ret_len*/);
2094 krb5_program_setup (
2095 krb5_context */*context*/,
2098 struct getargs */*args*/,
2100 void (*/*usage*/)(int, struct getargs*, int));
2103 krb5_prompter_posix (
2104 krb5_context /*context*/,
2106 const char */*name*/,
2107 const char */*banner*/,
2108 int /*num_prompts*/,
2109 krb5_prompt prompts[]);
2113 krb5_context /*context*/,
2114 krb5_rcache /*id*/);
2118 krb5_context /*context*/,
2119 krb5_rcache */*id*/);
2122 krb5_rc_default_name (krb5_context /*context*/);
2125 krb5_rc_default_type (krb5_context /*context*/);
2129 krb5_context /*context*/,
2130 krb5_rcache /*id*/);
2134 krb5_context /*context*/,
2135 krb5_rcache /*id*/);
2138 krb5_rc_get_lifespan (
2139 krb5_context /*context*/,
2141 krb5_deltat */*auth_lifespan*/);
2145 krb5_context /*context*/,
2146 krb5_rcache /*id*/);
2150 krb5_context /*context*/,
2151 krb5_rcache /*id*/);
2154 krb5_rc_initialize (
2155 krb5_context /*context*/,
2157 krb5_deltat /*auth_lifespan*/);
2161 krb5_context /*context*/,
2162 krb5_rcache /*id*/);
2166 krb5_context /*context*/,
2168 const char */*name*/);
2171 krb5_rc_resolve_full (
2172 krb5_context /*context*/,
2173 krb5_rcache */*id*/,
2174 const char */*string_name*/);
2177 krb5_rc_resolve_type (
2178 krb5_context /*context*/,
2179 krb5_rcache */*id*/,
2180 const char */*type*/);
2184 krb5_context /*context*/,
2186 krb5_donot_replay */*rep*/);
2190 krb5_context /*context*/,
2191 krb5_auth_context /*auth_context*/,
2192 krb5_data */*in_data*/,
2193 krb5_creds ***/*ret_creds*/,
2194 krb5_replay_data */*out_data*/);
2198 krb5_context /*context*/,
2199 krb5_auth_context /*auth_context*/,
2200 krb5_ccache /*ccache*/,
2201 krb5_data */*in_data*/);
2205 krb5_context /*context*/,
2207 KRB_ERROR */*result*/);
2211 krb5_context /*context*/,
2212 krb5_auth_context /*auth_context*/,
2213 const krb5_data */*inbuf*/,
2214 krb5_data */*outbuf*/,
2219 krb5_context /*context*/,
2220 krb5_auth_context /*auth_context*/,
2221 const krb5_data */*inbuf*/,
2222 krb5_ap_rep_enc_part **/*repl*/);
2226 krb5_context /*context*/,
2227 krb5_auth_context */*auth_context*/,
2228 const krb5_data */*inbuf*/,
2229 krb5_const_principal /*server*/,
2230 krb5_keytab /*keytab*/,
2231 krb5_flags */*ap_req_options*/,
2232 krb5_ticket **/*ticket*/);
2235 krb5_rd_req_with_keyblock (
2236 krb5_context /*context*/,
2237 krb5_auth_context */*auth_context*/,
2238 const krb5_data */*inbuf*/,
2239 krb5_const_principal /*server*/,
2240 krb5_keyblock */*keyblock*/,
2241 krb5_flags */*ap_req_options*/,
2242 krb5_ticket **/*ticket*/);
2246 krb5_context /*context*/,
2247 krb5_auth_context /*auth_context*/,
2248 const krb5_data */*inbuf*/,
2249 krb5_data */*outbuf*/,
2254 krb5_context /*context*/,
2255 krb5_pointer /*p_fd*/,
2256 krb5_data */*data*/);
2259 krb5_read_priv_message (
2260 krb5_context /*context*/,
2261 krb5_auth_context /*ac*/,
2262 krb5_pointer /*p_fd*/,
2263 krb5_data */*data*/);
2266 krb5_read_safe_message (
2267 krb5_context /*context*/,
2268 krb5_auth_context /*ac*/,
2269 krb5_pointer /*p_fd*/,
2270 krb5_data */*data*/);
2273 krb5_realm_compare (
2274 krb5_context /*context*/,
2275 krb5_const_principal /*princ1*/,
2276 krb5_const_principal /*princ2*/);
2280 krb5_context /*context*/,
2281 krb5_auth_context */*auth_context*/,
2282 krb5_pointer /*p_fd*/,
2283 const char */*appl_version*/,
2284 krb5_principal /*server*/,
2286 krb5_keytab /*keytab*/,
2287 krb5_ticket **/*ticket*/);
2290 krb5_recvauth_match_version (
2291 krb5_context /*context*/,
2292 krb5_auth_context */*auth_context*/,
2293 krb5_pointer /*p_fd*/,
2294 krb5_boolean (*/*match_appl_version*/)(const void *, const char*),
2295 const void */*match_data*/,
2296 krb5_principal /*server*/,
2298 krb5_keytab /*keytab*/,
2299 krb5_ticket **/*ticket*/);
2303 krb5_storage */*sp*/,
2304 krb5_address */*adr*/);
2308 krb5_storage */*sp*/,
2309 krb5_addresses */*adr*/);
2313 krb5_storage */*sp*/,
2314 krb5_authdata */*auth*/);
2318 krb5_storage */*sp*/,
2319 krb5_creds */*creds*/);
2323 krb5_storage */*sp*/,
2324 krb5_data */*data*/);
2328 krb5_storage */*sp*/,
2329 int16_t */*value*/);
2333 krb5_storage */*sp*/,
2334 int32_t */*value*/);
2338 krb5_storage */*sp*/,
2343 krb5_storage */*sp*/,
2344 krb5_keyblock */*p*/);
2347 krb5_ret_principal (
2348 krb5_storage */*sp*/,
2349 krb5_principal */*princ*/);
2353 krb5_storage */*sp*/,
2358 krb5_storage */*sp*/,
2363 krb5_storage */*sp*/,
2364 krb5_times */*times*/);
2367 krb5_salttype_to_string (
2368 krb5_context /*context*/,
2369 krb5_enctype /*etype*/,
2370 krb5_salttype /*stype*/,
2375 krb5_context /*context*/,
2376 krb5_auth_context */*auth_context*/,
2377 krb5_pointer /*p_fd*/,
2378 const char */*appl_version*/,
2379 krb5_principal /*client*/,
2380 krb5_principal /*server*/,
2381 krb5_flags /*ap_req_options*/,
2382 krb5_data */*in_data*/,
2383 krb5_creds */*in_creds*/,
2384 krb5_ccache /*ccache*/,
2385 krb5_error **/*ret_error*/,
2386 krb5_ap_rep_enc_part **/*rep_result*/,
2387 krb5_creds **/*out_creds*/);
2391 krb5_context /*context*/,
2392 const krb5_data */*send_data*/,
2393 krb5_krbhst_handle /*handle*/,
2394 krb5_data */*receive*/);
2398 krb5_context /*context*/,
2399 const krb5_data */*send_data*/,
2400 const krb5_realm */*realm*/,
2401 krb5_data */*receive*/);
2405 krb5_context /*context*/,
2406 const krb5_data */*send_data*/,
2407 const krb5_realm */*realm*/,
2408 krb5_data */*receive*/,
2409 krb5_boolean /*master*/);
2412 krb5_set_config_files (
2413 krb5_context /*context*/,
2414 char **/*filenames*/);
2417 krb5_set_default_in_tkt_etypes (
2418 krb5_context /*context*/,
2419 const krb5_enctype */*etypes*/);
2422 krb5_set_default_realm (
2423 krb5_context /*context*/,
2424 const char */*realm*/);
2427 krb5_set_error_string (
2428 krb5_context /*context*/,
2429 const char */*fmt*/,
2431 __attribute__((format (printf, 2, 3)));
2434 krb5_set_extra_addresses (
2435 krb5_context /*context*/,
2436 const krb5_addresses */*addresses*/);
2439 krb5_set_fcache_version (
2440 krb5_context /*context*/,
2444 krb5_set_ignore_addresses (
2445 krb5_context /*context*/,
2446 const krb5_addresses */*addresses*/);
2450 krb5_context /*context*/,
2451 krb5_creds */*creds*/,
2453 krb5_principal /*targprinc*/,
2454 int */*result_code*/,
2455 krb5_data */*result_code_string*/,
2456 krb5_data */*result_string*/);
2459 krb5_set_password_using_ccache (
2460 krb5_context /*context*/,
2461 krb5_ccache /*ccache*/,
2463 krb5_principal /*targprinc*/,
2464 int */*result_code*/,
2465 krb5_data */*result_code_string*/,
2466 krb5_data */*result_string*/);
2469 krb5_set_use_admin_kdc (
2470 krb5_context /*context*/,
2471 krb5_boolean /*flag*/);
2474 krb5_set_warn_dest (
2475 krb5_context /*context*/,
2476 krb5_log_facility */*fac*/);
2479 krb5_sname_to_principal (
2480 krb5_context /*context*/,
2481 const char */*hostname*/,
2482 const char */*sname*/,
2484 krb5_principal */*ret_princ*/);
2487 krb5_sock_to_principal (
2488 krb5_context /*context*/,
2490 const char */*sname*/,
2492 krb5_principal */*ret_princ*/);
2495 krb5_sockaddr2address (
2496 krb5_context /*context*/,
2497 const struct sockaddr */*sa*/,
2498 krb5_address */*addr*/);
2501 krb5_sockaddr2port (
2502 krb5_context /*context*/,
2503 const struct sockaddr */*sa*/,
2507 krb5_sockaddr_uninteresting (const struct sockaddr */*sa*/);
2512 struct getargs */*args*/,
2516 krb5_storage_clear_flags (
2517 krb5_storage */*sp*/,
2518 krb5_flags /*flags*/);
2521 krb5_storage_emem (void);
2524 krb5_storage_free (krb5_storage */*sp*/);
2527 krb5_storage_from_data (krb5_data */*data*/);
2530 krb5_storage_from_fd (int /*fd*/);
2533 krb5_storage_from_mem (
2538 krb5_storage_get_byteorder (
2539 krb5_storage */*sp*/,
2540 krb5_flags /*byteorder*/);
2543 krb5_storage_is_flags (
2544 krb5_storage */*sp*/,
2545 krb5_flags /*flags*/);
2549 krb5_storage */*sp*/,
2555 krb5_storage */*sp*/,
2560 krb5_storage_set_byteorder (
2561 krb5_storage */*sp*/,
2562 krb5_flags /*byteorder*/);
2565 krb5_storage_set_eof_code (
2566 krb5_storage */*sp*/,
2570 krb5_storage_set_flags (
2571 krb5_storage */*sp*/,
2572 krb5_flags /*flags*/);
2575 krb5_storage_to_data (
2576 krb5_storage */*sp*/,
2577 krb5_data */*data*/);
2580 krb5_storage_write (
2581 krb5_storage */*sp*/,
2582 const void */*buf*/,
2586 krb5_store_address (
2587 krb5_storage */*sp*/,
2588 krb5_address /*p*/);
2592 krb5_storage */*sp*/,
2593 krb5_addresses /*p*/);
2596 krb5_store_authdata (
2597 krb5_storage */*sp*/,
2598 krb5_authdata /*auth*/);
2602 krb5_storage */*sp*/,
2603 krb5_creds */*creds*/);
2607 krb5_storage */*sp*/,
2608 krb5_data /*data*/);
2612 krb5_storage */*sp*/,
2617 krb5_storage */*sp*/,
2622 krb5_storage */*sp*/,
2626 krb5_store_keyblock (
2627 krb5_storage */*sp*/,
2628 krb5_keyblock /*p*/);
2631 krb5_store_principal (
2632 krb5_storage */*sp*/,
2633 krb5_principal /*p*/);
2637 krb5_storage */*sp*/,
2641 krb5_store_stringz (
2642 krb5_storage */*sp*/,
2647 krb5_storage */*sp*/,
2648 krb5_times /*times*/);
2651 krb5_string_to_deltat (
2652 const char */*string*/,
2653 krb5_deltat */*deltat*/);
2656 krb5_string_to_enctype (
2657 krb5_context /*context*/,
2658 const char */*string*/,
2659 krb5_enctype */*etype*/);
2662 krb5_string_to_key (
2663 krb5_context /*context*/,
2664 krb5_enctype /*enctype*/,
2665 const char */*password*/,
2666 krb5_principal /*principal*/,
2667 krb5_keyblock */*key*/);
2670 krb5_string_to_key_data (
2671 krb5_context /*context*/,
2672 krb5_enctype /*enctype*/,
2673 krb5_data /*password*/,
2674 krb5_principal /*principal*/,
2675 krb5_keyblock */*key*/);
2678 krb5_string_to_key_data_salt (
2679 krb5_context /*context*/,
2680 krb5_enctype /*enctype*/,
2681 krb5_data /*password*/,
2683 krb5_keyblock */*key*/);
2686 krb5_string_to_key_data_salt_opaque (
2687 krb5_context /*context*/,
2688 krb5_enctype /*enctype*/,
2689 krb5_data /*password*/,
2691 krb5_data /*opaque*/,
2692 krb5_keyblock */*key*/);
2695 krb5_string_to_key_derived (
2696 krb5_context /*context*/,
2697 const void */*str*/,
2699 krb5_enctype /*etype*/,
2700 krb5_keyblock */*key*/);
2703 krb5_string_to_key_salt (
2704 krb5_context /*context*/,
2705 krb5_enctype /*enctype*/,
2706 const char */*password*/,
2708 krb5_keyblock */*key*/);
2711 krb5_string_to_keytype (
2712 krb5_context /*context*/,
2713 const char */*string*/,
2714 krb5_keytype */*keytype*/);
2717 krb5_string_to_salttype (
2718 krb5_context /*context*/,
2719 krb5_enctype /*etype*/,
2720 const char */*string*/,
2721 krb5_salttype */*salttype*/);
2725 krb5_context /*context*/,
2726 krb5_timestamp */*timeret*/);
2730 krb5_context /*context*/,
2731 krb5_const_principal /*principal*/,
2735 krb5_unparse_name_fixed (
2736 krb5_context /*context*/,
2737 krb5_const_principal /*principal*/,
2742 krb5_unparse_name_fixed_short (
2743 krb5_context /*context*/,
2744 krb5_const_principal /*principal*/,
2749 krb5_unparse_name_short (
2750 krb5_context /*context*/,
2751 krb5_const_principal /*principal*/,
2756 krb5_context /*context*/,
2762 krb5_context /*context*/,
2763 krb5_error_code /*code*/,
2764 const char */*fmt*/,
2766 __attribute__ ((noreturn, format (printf, 3, 0)));
2770 krb5_context /*context*/,
2771 const char */*fmt*/,
2773 __attribute__ ((noreturn, format (printf, 2, 0)));
2776 krb5_verify_ap_req (
2777 krb5_context /*context*/,
2778 krb5_auth_context */*auth_context*/,
2779 krb5_ap_req */*ap_req*/,
2780 krb5_const_principal /*server*/,
2781 krb5_keyblock */*keyblock*/,
2782 krb5_flags /*flags*/,
2783 krb5_flags */*ap_req_options*/,
2784 krb5_ticket **/*ticket*/);
2787 krb5_verify_ap_req2 (
2788 krb5_context /*context*/,
2789 krb5_auth_context */*auth_context*/,
2790 krb5_ap_req */*ap_req*/,
2791 krb5_const_principal /*server*/,
2792 krb5_keyblock */*keyblock*/,
2793 krb5_flags /*flags*/,
2794 krb5_flags */*ap_req_options*/,
2795 krb5_ticket **/*ticket*/,
2796 krb5_key_usage /*usage*/);
2799 krb5_verify_authenticator_checksum (
2800 krb5_context /*context*/,
2801 krb5_auth_context /*ac*/,
2806 krb5_verify_checksum (
2807 krb5_context /*context*/,
2808 krb5_crypto /*crypto*/,
2809 krb5_key_usage /*usage*/,
2812 Checksum */*cksum*/);
2815 krb5_verify_init_creds (
2816 krb5_context /*context*/,
2817 krb5_creds */*creds*/,
2818 krb5_principal /*ap_req_server*/,
2819 krb5_keytab /*ap_req_keytab*/,
2820 krb5_ccache */*ccache*/,
2821 krb5_verify_init_creds_opt */*options*/);
2824 krb5_verify_init_creds_opt_init (krb5_verify_init_creds_opt */*options*/);
2827 krb5_verify_init_creds_opt_set_ap_req_nofail (
2828 krb5_verify_init_creds_opt */*options*/,
2829 int /*ap_req_nofail*/);
2832 krb5_verify_opt_init (krb5_verify_opt */*opt*/);
2835 krb5_verify_opt_set_ccache (
2836 krb5_verify_opt */*opt*/,
2837 krb5_ccache /*ccache*/);
2840 krb5_verify_opt_set_flags (
2841 krb5_verify_opt */*opt*/,
2842 unsigned int /*flags*/);
2845 krb5_verify_opt_set_keytab (
2846 krb5_verify_opt */*opt*/,
2847 krb5_keytab /*keytab*/);
2850 krb5_verify_opt_set_secure (
2851 krb5_verify_opt */*opt*/,
2852 krb5_boolean /*secure*/);
2855 krb5_verify_opt_set_service (
2856 krb5_verify_opt */*opt*/,
2857 const char */*service*/);
2861 krb5_context /*context*/,
2862 krb5_principal /*principal*/,
2863 krb5_ccache /*ccache*/,
2864 const char */*password*/,
2865 krb5_boolean /*secure*/,
2866 const char */*service*/);
2869 krb5_verify_user_lrealm (
2870 krb5_context /*context*/,
2871 krb5_principal /*principal*/,
2872 krb5_ccache /*ccache*/,
2873 const char */*password*/,
2874 krb5_boolean /*secure*/,
2875 const char */*service*/);
2878 krb5_verify_user_opt (
2879 krb5_context /*context*/,
2880 krb5_principal /*principal*/,
2881 const char */*password*/,
2882 krb5_verify_opt */*opt*/);
2886 krb5_context /*context*/,
2888 krb5_error_code /*code*/,
2889 const char */*fmt*/,
2891 __attribute__ ((noreturn, format (printf, 4, 0)));
2895 krb5_context /*context*/,
2897 const char */*fmt*/,
2899 __attribute__ ((noreturn, format (printf, 3, 0)));
2903 krb5_context /*context*/,
2904 krb5_log_facility */*fac*/,
2906 const char */*fmt*/,
2908 __attribute__((format (printf, 4, 0)));
2912 krb5_context /*context*/,
2913 krb5_log_facility */*fac*/,
2916 const char */*fmt*/,
2918 __attribute__((format (printf, 5, 0)));
2921 krb5_vset_error_string (
2922 krb5_context /*context*/,
2923 const char */*fmt*/,
2925 __attribute__ ((format (printf, 2, 0)));
2929 krb5_context /*context*/,
2930 krb5_error_code /*code*/,
2931 const char */*fmt*/,
2933 __attribute__ ((format (printf, 3, 0)));
2937 krb5_context /*context*/,
2938 const char */*fmt*/,
2940 __attribute__ ((format (printf, 2, 0)));
2944 krb5_context /*context*/,
2945 krb5_error_code /*code*/,
2946 const char */*fmt*/,
2948 __attribute__ ((format (printf, 3, 4)));
2952 krb5_context /*context*/,
2953 const char */*fmt*/,
2955 __attribute__ ((format (printf, 2, 3)));
2958 krb5_write_message (
2959 krb5_context /*context*/,
2960 krb5_pointer /*p_fd*/,
2961 krb5_data */*data*/);
2964 krb5_write_priv_message (
2965 krb5_context /*context*/,
2966 krb5_auth_context /*ac*/,
2967 krb5_pointer /*p_fd*/,
2968 krb5_data */*data*/);
2971 krb5_write_safe_message (
2972 krb5_context /*context*/,
2973 krb5_auth_context /*ac*/,
2974 krb5_pointer /*p_fd*/,
2975 krb5_data */*data*/);
2978 krb5_xfree (void */*ptr*/);
2981 principalname2krb5_principal (
2982 krb5_principal */*principal*/,
2983 const PrincipalName /*from*/,
2984 const Realm /*realm*/);
2986 #endif /* __krb5_protos_h__ */