r12269: Update to current lorikeet-heimdal. This changed the way the hdb
[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_as_rep (
9         krb5_context /*context*/,
10         krb5_kdc_configuration */*config*/,
11         KDC_REQ */*req*/,
12         const krb5_data */*req_buffer*/,
13         krb5_data */*reply*/,
14         const char */*from*/,
15         struct sockaddr */*from_addr*/);
16
17 krb5_error_code
18 _kdc_check_flags (
19         krb5_context /*context*/,
20         krb5_kdc_configuration */*config*/,
21         hdb_entry */*client*/,
22         const char */*client_name*/,
23         hdb_entry */*server*/,
24         const char */*server_name*/,
25         krb5_boolean /*is_as_req*/);
26
27 krb5_error_code
28 _kdc_db_fetch (
29         krb5_context /*context*/,
30         krb5_kdc_configuration */*config*/,
31         krb5_principal /*principal*/,
32         enum hdb_ent_type, 
33         hdb_entry_ex **/*h*/);
34
35 krb5_error_code
36 _kdc_db_fetch4 (
37         krb5_context /*context*/,
38         krb5_kdc_configuration */*config*/,
39         const char */*name*/,
40         const char */*instance*/,
41         const char */*realm*/,
42         enum hdb_ent_type /*ent_type*/,
43         hdb_entry_ex **/*ent*/);
44
45 krb5_error_code
46 _kdc_do_524 (
47         krb5_context /*context*/,
48         krb5_kdc_configuration */*config*/,
49         const Ticket */*t*/,
50         krb5_data */*reply*/,
51         const char */*from*/,
52         struct sockaddr */*addr*/);
53
54 krb5_error_code
55 _kdc_do_kaserver (
56         krb5_context /*context*/,
57         krb5_kdc_configuration */*config*/,
58         unsigned char */*buf*/,
59         size_t /*len*/,
60         krb5_data */*reply*/,
61         const char */*from*/,
62         struct sockaddr_in */*addr*/);
63
64 krb5_error_code
65 _kdc_do_version4 (
66         krb5_context /*context*/,
67         krb5_kdc_configuration */*config*/,
68         unsigned char */*buf*/,
69         size_t /*len*/,
70         krb5_data */*reply*/,
71         const char */*from*/,
72         struct sockaddr_in */*addr*/);
73
74 krb5_error_code
75 _kdc_encode_v4_ticket (
76         krb5_context /*context*/,
77         krb5_kdc_configuration */*config*/,
78         void */*buf*/,
79         size_t /*len*/,
80         const EncTicketPart */*et*/,
81         const PrincipalName */*service*/,
82         size_t */*size*/);
83
84 void
85 _kdc_free_ent (
86         krb5_context /*context*/,
87         hdb_entry_ex */*ent*/);
88
89 krb5_error_code
90 _kdc_get_des_key (
91         krb5_context /*context*/,
92         hdb_entry_ex */*principal*/,
93         krb5_boolean /*is_server*/,
94         krb5_boolean /*prefer_afs_key*/,
95         Key **/*ret_key*/);
96
97 int
98 _kdc_maybe_version4 (
99         unsigned char */*buf*/,
100         int /*len*/);
101
102 krb5_error_code
103 _kdc_pk_check_client (
104         krb5_context /*context*/,
105         krb5_kdc_configuration */*config*/,
106         krb5_principal /*client_princ*/,
107         const hdb_entry */*client*/,
108         pk_client_params */*client_params*/,
109         char **/*subject_name*/);
110
111 void
112 _kdc_pk_free_client_param (
113         krb5_context /*context*/,
114         pk_client_params */*client_params*/);
115
116 krb5_error_code
117 _kdc_pk_initialize (
118         krb5_context /*context*/,
119         krb5_kdc_configuration */*config*/,
120         const char */*user_id*/,
121         const char */*x509_anchors*/);
122
123 krb5_error_code
124 _kdc_pk_mk_pa_reply (
125         krb5_context /*context*/,
126         krb5_kdc_configuration */*config*/,
127         pk_client_params */*client_params*/,
128         const hdb_entry */*client*/,
129         const KDC_REQ */*req*/,
130         const krb5_data */*req_buffer*/,
131         krb5_keyblock **/*reply_key*/,
132         METHOD_DATA */*md*/);
133
134 krb5_error_code
135 _kdc_pk_rd_padata (
136         krb5_context /*context*/,
137         krb5_kdc_configuration */*config*/,
138         KDC_REQ */*req*/,
139         PA_DATA */*pa*/,
140         pk_client_params **/*ret_params*/);
141
142 krb5_error_code
143 _kdc_tgs_rep (
144         krb5_context /*context*/,
145         krb5_kdc_configuration */*config*/,
146         KDC_REQ */*req*/,
147         krb5_data */*data*/,
148         const char */*from*/,
149         struct sockaddr */*from_addr*/);
150
151 #endif /* __kdc_private_h__ */