r19604: This is a massive commit, and I appologise in advance for it's size.
[ab/samba.git/.git] / source4 / heimdal / kdc / kdc-private.h
1 /* This is a generated file */
2 #ifndef __kdc_private_h__
3 #define __kdc_private_h__
4
5 #include <stdarg.h>
6
7 krb5_error_code
8 _kdc_add_KRB5SignedPath (
9         krb5_context /*context*/,
10         krb5_kdc_configuration */*config*/,
11         hdb_entry_ex */*krbtgt*/,
12         krb5_enctype /*enctype*/,
13         krb5_const_principal /*server*/,
14         KRB5SignedPathPrincipals */*principals*/,
15         EncTicketPart */*tkt*/);
16
17 krb5_error_code
18 _kdc_as_rep (
19         krb5_context /*context*/,
20         krb5_kdc_configuration */*config*/,
21         KDC_REQ */*req*/,
22         const krb5_data */*req_buffer*/,
23         krb5_data */*reply*/,
24         const char */*from*/,
25         struct sockaddr */*from_addr*/,
26         int /*datagram_reply*/);
27
28 krb5_boolean
29 _kdc_check_addresses (
30         krb5_context /*context*/,
31         krb5_kdc_configuration */*config*/,
32         HostAddresses */*addresses*/,
33         const struct sockaddr */*from*/);
34
35 krb5_error_code
36 _kdc_check_flags (
37         krb5_context /*context*/,
38         krb5_kdc_configuration */*config*/,
39         hdb_entry_ex */*client_ex*/,
40         const char */*client_name*/,
41         hdb_entry_ex */*server_ex*/,
42         const char */*server_name*/,
43         krb5_boolean /*is_as_req*/);
44
45 krb5_error_code
46 _kdc_db_fetch (
47         krb5_context /*context*/,
48         krb5_kdc_configuration */*config*/,
49         krb5_const_principal /*principal*/,
50         unsigned /*flags*/,
51         HDB **/*db*/,
52         hdb_entry_ex **/*h*/);
53
54 krb5_error_code
55 _kdc_db_fetch4 (
56         krb5_context /*context*/,
57         krb5_kdc_configuration */*config*/,
58         const char */*name*/,
59         const char */*instance*/,
60         const char */*realm*/,
61         unsigned /*flags*/,
62         hdb_entry_ex **/*ent*/);
63
64 krb5_error_code
65 _kdc_do_524 (
66         krb5_context /*context*/,
67         krb5_kdc_configuration */*config*/,
68         const Ticket */*t*/,
69         krb5_data */*reply*/,
70         const char */*from*/,
71         struct sockaddr */*addr*/);
72
73 krb5_error_code
74 _kdc_do_digest (
75         krb5_context /*context*/,
76         krb5_kdc_configuration */*config*/,
77         const DigestREQ */*req*/,
78         krb5_data */*reply*/,
79         const char */*from*/,
80         struct sockaddr */*addr*/);
81
82 krb5_error_code
83 _kdc_do_kaserver (
84         krb5_context /*context*/,
85         krb5_kdc_configuration */*config*/,
86         unsigned char */*buf*/,
87         size_t /*len*/,
88         krb5_data */*reply*/,
89         const char */*from*/,
90         struct sockaddr_in */*addr*/);
91
92 krb5_error_code
93 _kdc_do_version4 (
94         krb5_context /*context*/,
95         krb5_kdc_configuration */*config*/,
96         unsigned char */*buf*/,
97         size_t /*len*/,
98         krb5_data */*reply*/,
99         const char */*from*/,
100         struct sockaddr_in */*addr*/);
101
102 krb5_error_code
103 _kdc_encode_reply (
104         krb5_context /*context*/,
105         krb5_kdc_configuration */*config*/,
106         KDC_REP */*rep*/,
107         const EncTicketPart */*et*/,
108         EncKDCRepPart */*ek*/,
109         krb5_enctype /*etype*/,
110         int /*skvno*/,
111         const EncryptionKey */*skey*/,
112         int /*ckvno*/,
113         const EncryptionKey */*ckey*/,
114         const char **/*e_text*/,
115         krb5_data */*reply*/);
116
117 krb5_error_code
118 _kdc_encode_v4_ticket (
119         krb5_context /*context*/,
120         krb5_kdc_configuration */*config*/,
121         void */*buf*/,
122         size_t /*len*/,
123         const EncTicketPart */*et*/,
124         const PrincipalName */*service*/,
125         size_t */*size*/);
126
127 krb5_error_code
128 _kdc_find_etype (
129         krb5_context /*context*/,
130         const hdb_entry_ex */*princ*/,
131         krb5_enctype */*etypes*/,
132         unsigned /*len*/,
133         Key **/*ret_key*/,
134         krb5_enctype */*ret_etype*/);
135
136 PA_DATA*
137 _kdc_find_padata (
138         KDC_REQ */*req*/,
139         int */*start*/,
140         int /*type*/);
141
142 void
143 _kdc_fix_time (time_t **/*t*/);
144
145 void
146 _kdc_free_ent (
147         krb5_context /*context*/,
148         hdb_entry_ex */*ent*/);
149
150 krb5_error_code
151 _kdc_get_des_key (
152         krb5_context /*context*/,
153         hdb_entry_ex */*principal*/,
154         krb5_boolean /*is_server*/,
155         krb5_boolean /*prefer_afs_key*/,
156         Key **/*ret_key*/);
157
158 krb5_error_code
159 _kdc_get_preferred_key (
160         krb5_context /*context*/,
161         krb5_kdc_configuration */*config*/,
162         hdb_entry_ex */*h*/,
163         const char */*name*/,
164         krb5_enctype */*enctype*/,
165         Key **/*key*/);
166
167 void
168 _kdc_log_timestamp (
169         krb5_context /*context*/,
170         krb5_kdc_configuration */*config*/,
171         const char */*type*/,
172         KerberosTime /*authtime*/,
173         KerberosTime */*starttime*/,
174         KerberosTime /*endtime*/,
175         KerberosTime */*renew_till*/);
176
177 krb5_error_code
178 _kdc_make_anonymous_principalname (PrincipalName */*pn*/);
179
180 int
181 _kdc_maybe_version4 (
182         unsigned char */*buf*/,
183         int /*len*/);
184
185 krb5_error_code
186 _kdc_pk_check_client (
187         krb5_context /*context*/,
188         krb5_kdc_configuration */*config*/,
189         krb5_principal /*client_princ*/,
190         const hdb_entry_ex */*client*/,
191         pk_client_params */*client_params*/,
192         char **/*subject_name*/);
193
194 void
195 _kdc_pk_free_client_param (
196         krb5_context /*context*/,
197         pk_client_params */*client_params*/);
198
199 krb5_error_code
200 _kdc_pk_initialize (
201         krb5_context /*context*/,
202         krb5_kdc_configuration */*config*/,
203         const char */*user_id*/,
204         const char */*anchors*/,
205         char **/*pool*/,
206         char **/*revoke_list*/);
207
208 krb5_error_code
209 _kdc_pk_mk_pa_reply (
210         krb5_context /*context*/,
211         krb5_kdc_configuration */*config*/,
212         pk_client_params */*client_params*/,
213         const hdb_entry_ex */*client*/,
214         const KDC_REQ */*req*/,
215         const krb5_data */*req_buffer*/,
216         krb5_keyblock **/*reply_key*/,
217         METHOD_DATA */*md*/);
218
219 krb5_error_code
220 _kdc_pk_rd_padata (
221         krb5_context /*context*/,
222         krb5_kdc_configuration */*config*/,
223         KDC_REQ */*req*/,
224         PA_DATA */*pa*/,
225         pk_client_params **/*ret_params*/);
226
227 krb5_error_code
228 _kdc_tgs_rep (
229         krb5_context /*context*/,
230         krb5_kdc_configuration */*config*/,
231         KDC_REQ */*req*/,
232         krb5_data */*data*/,
233         const char */*from*/,
234         struct sockaddr */*from_addr*/);
235
236 #endif /* __kdc_private_h__ */