xref: /freebsd/crypto/heimdal/kdc/kdc-protos.h (revision cc68614da8232d8baaca0ae0d0dd8f890f06623e)
1 /* This is a generated file */
2 #ifndef __kdc_protos_h__
3 #define __kdc_protos_h__
4 
5 #include <stdarg.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 krb5_error_code
12 kdc_check_flags (
13 	krb5_context /*context*/,
14 	krb5_kdc_configuration */*config*/,
15 	hdb_entry_ex */*client_ex*/,
16 	const char */*client_name*/,
17 	hdb_entry_ex */*server_ex*/,
18 	const char */*server_name*/,
19 	krb5_boolean /*is_as_req*/);
20 
21 void
22 kdc_log (
23 	krb5_context /*context*/,
24 	krb5_kdc_configuration */*config*/,
25 	int /*level*/,
26 	const char */*fmt*/,
27 	...);
28 
29 char*
30 kdc_log_msg (
31 	krb5_context /*context*/,
32 	krb5_kdc_configuration */*config*/,
33 	int /*level*/,
34 	const char */*fmt*/,
35 	...);
36 
37 char*
38 kdc_log_msg_va (
39 	krb5_context /*context*/,
40 	krb5_kdc_configuration */*config*/,
41 	int /*level*/,
42 	const char */*fmt*/,
43 	va_list /*ap*/);
44 
45 void
46 kdc_openlog (
47 	krb5_context /*context*/,
48 	const char */*service*/,
49 	krb5_kdc_configuration */*config*/);
50 
51 krb5_error_code
52 krb5_kdc_get_config (
53 	krb5_context /*context*/,
54 	krb5_kdc_configuration **/*config*/);
55 
56 krb5_error_code
57 krb5_kdc_pk_initialize (
58 	krb5_context /*context*/,
59 	krb5_kdc_configuration */*config*/,
60 	const char */*user_id*/,
61 	const char */*anchors*/,
62 	char **/*pool*/,
63 	char **/*revoke_list*/);
64 
65 krb5_error_code
66 krb5_kdc_pkinit_config (
67 	krb5_context /*context*/,
68 	krb5_kdc_configuration */*config*/);
69 
70 int
71 krb5_kdc_process_krb5_request (
72 	krb5_context /*context*/,
73 	krb5_kdc_configuration */*config*/,
74 	unsigned char */*buf*/,
75 	size_t /*len*/,
76 	krb5_data */*reply*/,
77 	const char */*from*/,
78 	struct sockaddr */*addr*/,
79 	int /*datagram_reply*/);
80 
81 int
82 krb5_kdc_process_request (
83 	krb5_context /*context*/,
84 	krb5_kdc_configuration */*config*/,
85 	unsigned char */*buf*/,
86 	size_t /*len*/,
87 	krb5_data */*reply*/,
88 	krb5_boolean */*prependlength*/,
89 	const char */*from*/,
90 	struct sockaddr */*addr*/,
91 	int /*datagram_reply*/);
92 
93 int
94 krb5_kdc_save_request (
95 	krb5_context /*context*/,
96 	const char */*fn*/,
97 	const unsigned char */*buf*/,
98 	size_t /*len*/,
99 	const krb5_data */*reply*/,
100 	const struct sockaddr */*sa*/);
101 
102 krb5_error_code
103 krb5_kdc_set_dbinfo (
104 	krb5_context /*context*/,
105 	struct krb5_kdc_configuration */*c*/);
106 
107 void
108 krb5_kdc_update_time (struct timeval */*tv*/);
109 
110 krb5_error_code
111 krb5_kdc_windc_init (krb5_context /*context*/);
112 
113 #ifdef __cplusplus
114 }
115 #endif
116 
117 #endif /* __kdc_protos_h__ */
118