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