1 /* This is a generated file */
2 #ifndef __krb5_private_h__
3 #define __krb5_private_h__
7 #if !defined(__GNUC__) && !defined(__attribute__)
8 #define __attribute__(x)
11 #ifndef KRB5_DEPRECATED_FUNCTION
12 #if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1 )))
13 #define KRB5_DEPRECATED_FUNCTION(X) __attribute__((__deprecated__))
15 #define KRB5_DEPRECATED_FUNCTION(X)
21 _heim_krb5_ipc_client_clear_target (void);
24 _heim_krb5_ipc_client_set_target_uid (uid_t /*uid*/);
27 _krb5_DES3_random_to_key (
28 krb5_context /*context*/,
29 krb5_keyblock */*key*/,
34 _krb5_HMAC_MD5_checksum (
35 krb5_context /*context*/,
36 struct _krb5_key_data */*key*/,
40 Checksum */*result*/);
43 _krb5_SP_HMAC_SHA1_checksum (
44 krb5_context /*context*/,
45 struct _krb5_key_data */*key*/,
49 Checksum */*result*/);
51 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
52 _krb5_build_authenticator (
53 krb5_context /*context*/,
54 krb5_auth_context /*auth_context*/,
55 krb5_enctype /*enctype*/,
58 krb5_data */*result*/,
59 krb5_key_usage /*usage*/);
63 krb5_context /*context*/,
64 const krb5_cc_ops */*ops*/,
67 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
69 krb5_context /*context*/,
70 krb5_config_section */*c*/,
71 krb5_config_section **/*head*/);
73 KRB5_LIB_FUNCTION const void * KRB5_LIB_CALL
75 krb5_context /*context*/,
76 const krb5_config_section */*c*/,
81 _krb5_config_get_entry (
82 krb5_config_section **/*parent*/,
86 KRB5_LIB_FUNCTION const void * KRB5_LIB_CALL
87 _krb5_config_get_next (
88 krb5_context /*context*/,
89 const krb5_config_section */*c*/,
90 const krb5_config_binding **/*pointer*/,
96 krb5_context /*context*/,
97 const krb5_config_section */*c*/,
101 KRB5_LIB_FUNCTION const void * KRB5_LIB_CALL
102 _krb5_config_vget_next (
103 krb5_context /*context*/,
104 const krb5_config_section */*c*/,
105 const krb5_config_binding **/*pointer*/,
109 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
110 _krb5_copy_send_to_kdc_func (
111 krb5_context /*context*/,
112 krb5_context /*to*/);
115 _krb5_crc_init_table (void);
123 void KRB5_LIB_FUNCTION
125 krb5_context /*context*/,
129 __attribute__((format (printf, 3, 4)));
132 _krb5_debug_backtrace (krb5_context /*context*/);
136 krb5_context /*context*/,
137 struct _krb5_encryption_type */*et*/,
138 struct _krb5_key_data */*key*/,
139 const void */*constant*/,
144 krb5_context /*context*/,
145 const EVP_MD */*evp_md*/,
146 struct _krb5_key_data */*key*/,
147 const void */*data*/,
149 Checksum */*cksum*/);
153 krb5_context /*context*/,
154 const EVP_MD */*evp_md*/,
155 struct _krb5_key_data */*key*/,
156 const void */*data*/,
162 krb5_context /*context*/,
163 unsigned long /*bits*/,
167 struct krb5_dh_moduli **/*moduli*/,
172 krb5_context /*context*/,
173 const char */*func*/,
174 unsigned long /*argn*/);
178 krb5_context /*context*/,
179 const char */*filename*/);
183 krb5_context /*context*/,
184 struct _krb5_key_data */*kd*/);
188 krb5_context /*context*/,
189 struct _krb5_key_data */*key*/,
192 krb5_boolean /*encryptp*/,
197 _krb5_evp_encrypt_cts (
198 krb5_context /*context*/,
199 struct _krb5_key_data */*key*/,
202 krb5_boolean /*encryptp*/,
208 krb5_context /*context*/,
209 struct _krb5_key_type */*kt*/,
210 struct _krb5_key_data */*kd*/);
213 _krb5_expand_default_cc_name (
214 krb5_context /*context*/,
218 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
219 _krb5_expand_path_tokens (
220 krb5_context /*context*/,
221 const char */*path_in*/,
222 char **/*ppath_out*/);
225 _krb5_extract_ticket (
226 krb5_context /*context*/,
227 krb5_kdc_rep */*rep*/,
228 krb5_creds */*creds*/,
229 krb5_keyblock */*key*/,
230 krb5_const_pointer /*keyseed*/,
231 krb5_key_usage /*key_usage*/,
232 krb5_addresses */*addrs*/,
235 krb5_decrypt_proc /*decrypt_proc*/,
236 krb5_const_pointer /*decryptarg*/);
238 struct _krb5_checksum_type *
239 _krb5_find_checksum (krb5_cksumtype /*type*/);
241 struct _krb5_encryption_type *
242 _krb5_find_enctype (krb5_enctype /*type*/);
245 _krb5_free_key_data (
246 krb5_context /*context*/,
247 struct _krb5_key_data */*key*/,
248 struct _krb5_encryption_type */*et*/);
251 _krb5_free_krbhst_info (krb5_krbhst_info */*hi*/);
254 _krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/);
257 _krb5_get_cred_kdc_any (
258 krb5_context /*context*/,
259 krb5_kdc_flags /*flags*/,
260 krb5_ccache /*ccache*/,
261 krb5_creds */*in_creds*/,
262 krb5_principal /*impersonate_principal*/,
263 Ticket */*second_ticket*/,
264 krb5_creds **/*out_creds*/,
265 krb5_creds ***/*ret_tgts*/);
268 _krb5_get_default_cc_name_from_registry (krb5_context /*context*/);
271 _krb5_get_default_config_config_files_from_registry (void);
274 _krb5_get_default_principal_local (
275 krb5_context /*context*/,
276 krb5_principal */*princ*/);
278 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
279 _krb5_get_host_realm_int (
280 krb5_context /*context*/,
281 const char */*host*/,
282 krb5_boolean /*use_dns*/,
283 krb5_realm **/*realms*/);
285 KRB5_LIB_FUNCTION void KRB5_LIB_CALL
286 _krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/);
288 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL
291 unsigned long */*value*/,
296 krb5_context /*context*/,
298 krb5_realm /*realm*/,
299 krb5_creds **/*cred*/);
301 krb5_boolean KRB5_LIB_FUNCTION
303 krb5_context /*context*/,
307 _krb5_homedir_access (krb5_context /*context*/);
309 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
311 krb5_context /*context*/,
312 krb5_pdu /*pdu_type*/,
314 krb5_enctype **/*val*/,
315 const krb5_enctype */*etypes*/);
318 _krb5_internal_hmac (
319 krb5_context /*context*/,
320 struct _krb5_checksum_type */*cm*/,
321 const void */*data*/,
324 struct _krb5_key_data */*keyblock*/,
325 Checksum */*result*/);
327 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
328 _krb5_kcm_get_initial_ticket (
329 krb5_context /*context*/,
331 krb5_principal /*server*/,
332 krb5_keyblock */*key*/);
334 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
335 _krb5_kcm_get_ticket (
336 krb5_context /*context*/,
338 krb5_kdc_flags /*flags*/,
339 krb5_enctype /*enctype*/,
340 krb5_principal /*server*/);
342 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL
343 _krb5_kcm_is_running (krb5_context /*context*/);
345 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
347 krb5_context /*context*/,
350 krb5_error_code KRB5_CALLCONV
352 krb5_context /*context*/,
353 krb5_sendto_ctx /*ctx*/,
355 const krb5_data */*reply*/,
359 _krb5_krbhost_info_move (
360 krb5_context /*context*/,
361 krb5_krbhst_info */*from*/,
362 krb5_krbhst_info **/*to*/);
365 _krb5_krbhst_get_realm (krb5_krbhst_handle /*handle*/);
368 _krb5_kt_principal_not_found (
369 krb5_context /*context*/,
370 krb5_error_code /*ret*/,
372 krb5_const_principal /*principal*/,
373 krb5_enctype /*enctype*/,
377 _krb5_load_ccache_plugins (krb5_context /*context*/);
381 krb5_context /*context*/,
382 const char */*name*/,
383 const char **/*paths*/);
386 _krb5_mk_req_internal (
387 krb5_context /*context*/,
388 krb5_auth_context */*auth_context*/,
389 const krb5_flags /*ap_req_options*/,
390 krb5_data */*in_data*/,
391 krb5_creds */*in_creds*/,
392 krb5_data */*outbuf*/,
393 krb5_key_usage /*checksum_usage*/,
394 krb5_key_usage /*encrypt_usage*/);
396 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
405 krb5_context /*context*/,
408 krb5_principal /*principal*/,
409 const krb5_keyblock */*server_key*/,
410 const krb5_keyblock */*priv_key*/,
411 krb5_data */*data*/);
415 krb5_context /*context*/,
416 const char */*file*/,
417 struct krb5_dh_moduli ***/*moduli*/);
420 _krb5_parse_moduli_line (
421 krb5_context /*context*/,
422 const char */*file*/,
425 struct krb5_dh_moduli **/*m*/);
427 KRB5_LIB_FUNCTION void KRB5_LIB_CALL
428 _krb5_pk_cert_free (struct krb5_pk_cert */*cert*/);
432 krb5_context /*context*/,
433 const struct AlgorithmIdentifier */*ai*/,
434 const void */*dhdata*/,
436 krb5_const_principal /*client*/,
437 krb5_const_principal /*server*/,
438 krb5_enctype /*enctype*/,
439 const krb5_data */*as_req*/,
440 const krb5_data */*pk_as_rep*/,
441 const Ticket */*ticket*/,
442 krb5_keyblock */*key*/);
444 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
446 krb5_context /*context*/,
447 struct krb5_pk_identity **/*ret_id*/,
448 const char */*user_id*/,
449 const char */*anchor_id*/,
450 char * const */*chain_list*/,
451 char * const */*revoke_list*/,
452 krb5_prompter_fct /*prompter*/,
453 void */*prompter_data*/,
456 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
457 _krb5_pk_mk_ContentInfo (
458 krb5_context /*context*/,
459 const krb5_data */*buf*/,
460 const heim_oid */*oid*/,
461 struct ContentInfo */*content_info*/);
463 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
465 krb5_context /*context*/,
469 const KDC_REQ_BODY */*req_body*/,
471 METHOD_DATA */*md*/);
474 _krb5_pk_octetstring2key (
475 krb5_context /*context*/,
476 krb5_enctype /*type*/,
477 const void */*dhdata*/,
479 const heim_octet_string */*c_n*/,
480 const heim_octet_string */*k_n*/,
481 krb5_keyblock */*key*/);
483 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
484 _krb5_pk_rd_pa_reply (
485 krb5_context /*context*/,
486 const char */*realm*/,
488 krb5_enctype /*etype*/,
489 const krb5_krbhst_info */*hi*/,
491 const krb5_data */*req_buffer*/,
493 krb5_keyblock **/*key*/);
497 krb5_context /*context*/,
498 enum krb5_plugin_type /*type*/,
499 const char */*name*/,
500 struct krb5_plugin **/*list*/);
503 _krb5_plugin_free (struct krb5_plugin */*list*/);
506 _krb5_plugin_get_next (struct krb5_plugin */*p*/);
509 _krb5_plugin_get_symbol (struct krb5_plugin */*p*/);
513 krb5_context /*context*/,
514 const char */*module*/,
515 const char */*name*/,
519 krb5_error_code (*/*func*/)(krb5_context, const void *, void *, void *));
521 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
522 _krb5_principal2principalname (
523 PrincipalName */*p*/,
524 const krb5_principal /*from*/);
526 KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL
527 _krb5_principal_compare_PrincipalName (
528 krb5_context /*context*/,
529 krb5_const_principal /*princ1*/,
530 PrincipalName */*princ2*/);
532 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
533 _krb5_principalname2krb5_principal (
534 krb5_context /*context*/,
535 krb5_principal */*principal*/,
536 const PrincipalName /*from*/,
537 const Realm /*realm*/);
539 KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL
542 unsigned long /*value*/,
545 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
546 _krb5_s4u2self_to_checksumdata (
547 krb5_context /*context*/,
548 const PA_S4U2Self */*self*/,
549 krb5_data */*data*/);
552 _krb5_send_and_recv_tcp (
553 krb5_socket_t /*fd*/,
555 const krb5_data */*req*/,
559 _krb5_set_default_cc_name_to_registry (
560 krb5_context /*context*/,
564 _krb5_unload_plugins (
565 krb5_context /*context*/,
566 const char */*name*/);
569 _krb5_usage2arcfour (
570 krb5_context /*context*/,
571 unsigned */*usage*/);
575 krb5_context /*context*/,
577 krb5_boolean /*exclusive*/,
578 const char */*filename*/);
583 const unsigned char */*b*/);
587 krb5_context /*context*/,
590 #undef KRB5_DEPRECATED_FUNCTION
591 #define KRB5_DEPRECATED_FUNCTION(X)
593 #endif /* __krb5_private_h__ */