1 /* This is a generated file */
2 #ifndef __spnego_private_h__
3 #define __spnego_private_h__
4 
5 #include <stdarg.h>
6 
7 gssapi_mech_interface
8 __gss_spnego_initialize (void);
9 
10 OM_uint32 GSSAPI_CALLCONV
11 _gss_spnego_accept_sec_context (
12 	OM_uint32 * /*minor_status*/,
13 	gss_ctx_id_t * /*context_handle*/,
14 	const gss_cred_id_t /*acceptor_cred_handle*/,
15 	const gss_buffer_t /*input_token_buffer*/,
16 	const gss_channel_bindings_t /*input_chan_bindings*/,
17 	gss_name_t * /*src_name*/,
18 	gss_OID * /*mech_type*/,
19 	gss_buffer_t /*output_token*/,
20 	OM_uint32 * /*ret_flags*/,
21 	OM_uint32 * /*time_rec*/,
22 	gss_cred_id_t *delegated_cred_handle );
23 
24 OM_uint32 GSSAPI_CALLCONV
25 _gss_spnego_acquire_cred (
26 	OM_uint32 */*minor_status*/,
27 	const gss_name_t /*desired_name*/,
28 	OM_uint32 /*time_req*/,
29 	const gss_OID_set /*desired_mechs*/,
30 	gss_cred_usage_t /*cred_usage*/,
31 	gss_cred_id_t * /*output_cred_handle*/,
32 	gss_OID_set * /*actual_mechs*/,
33 	OM_uint32 * time_rec );
34 
35 OM_uint32 GSSAPI_CALLCONV
36 _gss_spnego_alloc_sec_context (
37 	OM_uint32 * /*minor_status*/,
38 	gss_ctx_id_t */*context_handle*/);
39 
40 OM_uint32 GSSAPI_CALLCONV
41 _gss_spnego_canonicalize_name (
42 	 OM_uint32 * /*minor_status*/,
43 	const gss_name_t /*input_name*/,
44 	const gss_OID /*mech_type*/,
45 	gss_name_t * output_name );
46 
47 OM_uint32 GSSAPI_CALLCONV
48 _gss_spnego_compare_name (
49 	OM_uint32 */*minor_status*/,
50 	const gss_name_t /*name1*/,
51 	const gss_name_t /*name2*/,
52 	int * name_equal );
53 
54 OM_uint32 GSSAPI_CALLCONV
55 _gss_spnego_context_time (
56 	OM_uint32 */*minor_status*/,
57 	const gss_ctx_id_t /*context_handle*/,
58 	OM_uint32 *time_rec );
59 
60 OM_uint32 GSSAPI_CALLCONV
61 _gss_spnego_delete_sec_context (
62 	OM_uint32 */*minor_status*/,
63 	gss_ctx_id_t */*context_handle*/,
64 	gss_buffer_t output_token );
65 
66 OM_uint32 GSSAPI_CALLCONV
67 _gss_spnego_display_name (
68 	OM_uint32 * /*minor_status*/,
69 	const gss_name_t /*input_name*/,
70 	gss_buffer_t /*output_name_buffer*/,
71 	gss_OID * output_name_type );
72 
73 OM_uint32 GSSAPI_CALLCONV
74 _gss_spnego_duplicate_name (
75 	 OM_uint32 * /*minor_status*/,
76 	const gss_name_t /*src_name*/,
77 	gss_name_t * dest_name );
78 
79 OM_uint32 GSSAPI_CALLCONV
80 _gss_spnego_export_cred (
81 	OM_uint32 */*minor_status*/,
82 	gss_cred_id_t /*cred_handle*/,
83 	gss_buffer_t /*value*/);
84 
85 OM_uint32 GSSAPI_CALLCONV
86 _gss_spnego_export_name (
87 	OM_uint32 * /*minor_status*/,
88 	const gss_name_t /*input_name*/,
89 	gss_buffer_t exported_name );
90 
91 OM_uint32 GSSAPI_CALLCONV
92 _gss_spnego_export_sec_context (
93 	 OM_uint32 * /*minor_status*/,
94 	gss_ctx_id_t * /*context_handle*/,
95 	gss_buffer_t interprocess_token );
96 
97 OM_uint32 GSSAPI_CALLCONV
98 _gss_spnego_get_mic (
99 	OM_uint32 */*minor_status*/,
100 	const gss_ctx_id_t /*context_handle*/,
101 	gss_qop_t /*qop_req*/,
102 	const gss_buffer_t /*message_buffer*/,
103 	gss_buffer_t message_token );
104 
105 OM_uint32 GSSAPI_CALLCONV
106 _gss_spnego_import_cred (
107 	OM_uint32 */*minor_status*/,
108 	gss_buffer_t /*value*/,
109 	gss_cred_id_t */*cred_handle*/);
110 
111 OM_uint32 GSSAPI_CALLCONV
112 _gss_spnego_import_name (
113 	OM_uint32 * /*minor_status*/,
114 	const gss_buffer_t /*name_buffer*/,
115 	const gss_OID /*name_type*/,
116 	gss_name_t * output_name );
117 
118 OM_uint32 GSSAPI_CALLCONV
119 _gss_spnego_import_sec_context (
120 	 OM_uint32 * /*minor_status*/,
121 	const gss_buffer_t /*interprocess_token*/,
122 	gss_ctx_id_t *context_handle );
123 
124 OM_uint32 GSSAPI_CALLCONV
125 _gss_spnego_indicate_mechtypelist (
126 	OM_uint32 */*minor_status*/,
127 	gss_name_t /*target_name*/,
128 	OM_uint32 (*/*func*/)(gss_name_t, gss_OID),
129 	int /*includeMSCompatOID*/,
130 	const gss_cred_id_t /*cred_handle*/,
131 	MechTypeList */*mechtypelist*/,
132 	gss_OID */*preferred_mech*/);
133 
134 OM_uint32 GSSAPI_CALLCONV
135 _gss_spnego_init_sec_context (
136 	OM_uint32 * /*minor_status*/,
137 	const gss_cred_id_t /*initiator_cred_handle*/,
138 	gss_ctx_id_t * /*context_handle*/,
139 	const gss_name_t /*target_name*/,
140 	const gss_OID /*mech_type*/,
141 	OM_uint32 /*req_flags*/,
142 	OM_uint32 /*time_req*/,
143 	const gss_channel_bindings_t /*input_chan_bindings*/,
144 	const gss_buffer_t /*input_token*/,
145 	gss_OID * /*actual_mech_type*/,
146 	gss_buffer_t /*output_token*/,
147 	OM_uint32 * /*ret_flags*/,
148 	OM_uint32 * time_rec );
149 
150 OM_uint32 GSSAPI_CALLCONV
151 _gss_spnego_inquire_context (
152 	 OM_uint32 * /*minor_status*/,
153 	const gss_ctx_id_t /*context_handle*/,
154 	gss_name_t * /*src_name*/,
155 	gss_name_t * /*targ_name*/,
156 	OM_uint32 * /*lifetime_rec*/,
157 	gss_OID * /*mech_type*/,
158 	OM_uint32 * /*ctx_flags*/,
159 	int * /*locally_initiated*/,
160 	int * open_context );
161 
162 OM_uint32 GSSAPI_CALLCONV
163 _gss_spnego_inquire_cred (
164 	OM_uint32 * /*minor_status*/,
165 	const gss_cred_id_t /*cred_handle*/,
166 	gss_name_t * /*name*/,
167 	OM_uint32 * /*lifetime*/,
168 	gss_cred_usage_t * /*cred_usage*/,
169 	gss_OID_set * mechanisms );
170 
171 OM_uint32 GSSAPI_CALLCONV
172 _gss_spnego_inquire_cred_by_mech (
173 	 OM_uint32 * /*minor_status*/,
174 	const gss_cred_id_t /*cred_handle*/,
175 	const gss_OID /*mech_type*/,
176 	gss_name_t * /*name*/,
177 	OM_uint32 * /*initiator_lifetime*/,
178 	OM_uint32 * /*acceptor_lifetime*/,
179 	gss_cred_usage_t * cred_usage );
180 
181 OM_uint32 GSSAPI_CALLCONV
182 _gss_spnego_inquire_cred_by_oid (
183 	OM_uint32 * /*minor_status*/,
184 	const gss_cred_id_t /*cred_handle*/,
185 	const gss_OID /*desired_object*/,
186 	gss_buffer_set_t */*data_set*/);
187 
188 OM_uint32 GSSAPI_CALLCONV
189 _gss_spnego_inquire_mechs_for_name (
190 	 OM_uint32 * /*minor_status*/,
191 	const gss_name_t /*input_name*/,
192 	gss_OID_set * mech_types );
193 
194 OM_uint32 GSSAPI_CALLCONV
195 _gss_spnego_inquire_names_for_mech (
196 	 OM_uint32 * /*minor_status*/,
197 	const gss_OID /*mechanism*/,
198 	gss_OID_set * name_types );
199 
200 OM_uint32 GSSAPI_CALLCONV
201 _gss_spnego_inquire_sec_context_by_oid (
202 	OM_uint32 * /*minor_status*/,
203 	const gss_ctx_id_t /*context_handle*/,
204 	const gss_OID /*desired_object*/,
205 	gss_buffer_set_t */*data_set*/);
206 
207 OM_uint32 GSSAPI_CALLCONV
208 _gss_spnego_internal_delete_sec_context (
209 	OM_uint32 */*minor_status*/,
210 	gss_ctx_id_t */*context_handle*/,
211 	gss_buffer_t output_token );
212 
213 OM_uint32 GSSAPI_CALLCONV
214 _gss_spnego_process_context_token (
215 	OM_uint32 */*minor_status*/,
216 	const gss_ctx_id_t /*context_handle*/,
217 	const gss_buffer_t token_buffer );
218 
219 OM_uint32 GSSAPI_CALLCONV
220 _gss_spnego_pseudo_random (
221 	OM_uint32 */*minor_status*/,
222 	gss_ctx_id_t /*context_handle*/,
223 	int /*prf_key*/,
224 	const gss_buffer_t /*prf_in*/,
225 	ssize_t /*desired_output_len*/,
226 	gss_buffer_t /*prf_out*/);
227 
228 OM_uint32 GSSAPI_CALLCONV
229 _gss_spnego_release_cred (
230 	OM_uint32 */*minor_status*/,
231 	gss_cred_id_t */*cred_handle*/);
232 
233 OM_uint32 GSSAPI_CALLCONV
234 _gss_spnego_release_name (
235 	OM_uint32 * /*minor_status*/,
236 	gss_name_t * input_name );
237 
238 OM_uint32 GSSAPI_CALLCONV
239 _gss_spnego_require_mechlist_mic (
240 	OM_uint32 */*minor_status*/,
241 	gssspnego_ctx /*ctx*/,
242 	int */*require_mic*/);
243 
244 OM_uint32 GSSAPI_CALLCONV
245 _gss_spnego_set_cred_option (
246 	OM_uint32 */*minor_status*/,
247 	gss_cred_id_t */*cred_handle*/,
248 	const gss_OID /*object*/,
249 	const gss_buffer_t /*value*/);
250 
251 OM_uint32 GSSAPI_CALLCONV
252 _gss_spnego_set_sec_context_option (
253 	OM_uint32 * /*minor_status*/,
254 	gss_ctx_id_t * /*context_handle*/,
255 	const gss_OID /*desired_object*/,
256 	const gss_buffer_t /*value*/);
257 
258 OM_uint32 GSSAPI_CALLCONV
259 _gss_spnego_unwrap (
260 	OM_uint32 * /*minor_status*/,
261 	const gss_ctx_id_t /*context_handle*/,
262 	const gss_buffer_t /*input_message_buffer*/,
263 	gss_buffer_t /*output_message_buffer*/,
264 	int * /*conf_state*/,
265 	gss_qop_t * qop_state );
266 
267 OM_uint32 GSSAPI_CALLCONV
268 _gss_spnego_unwrap_iov (
269 	OM_uint32 */*minor_status*/,
270 	gss_ctx_id_t /*context_handle*/,
271 	int */*conf_state*/,
272 	gss_qop_t */*qop_state*/,
273 	gss_iov_buffer_desc */*iov*/,
274 	int /*iov_count*/);
275 
276 OM_uint32 GSSAPI_CALLCONV
277 _gss_spnego_verify_mic (
278 	OM_uint32 * /*minor_status*/,
279 	const gss_ctx_id_t /*context_handle*/,
280 	const gss_buffer_t /*message_buffer*/,
281 	const gss_buffer_t /*token_buffer*/,
282 	gss_qop_t * qop_state );
283 
284 OM_uint32 GSSAPI_CALLCONV
285 _gss_spnego_wrap (
286 	OM_uint32 * /*minor_status*/,
287 	const gss_ctx_id_t /*context_handle*/,
288 	int /*conf_req_flag*/,
289 	gss_qop_t /*qop_req*/,
290 	const gss_buffer_t /*input_message_buffer*/,
291 	int * /*conf_state*/,
292 	gss_buffer_t output_message_buffer );
293 
294 OM_uint32 GSSAPI_CALLCONV
295 _gss_spnego_wrap_iov (
296 	OM_uint32 * /*minor_status*/,
297 	gss_ctx_id_t /*context_handle*/,
298 	int /*conf_req_flag*/,
299 	gss_qop_t /*qop_req*/,
300 	int * /*conf_state*/,
301 	gss_iov_buffer_desc */*iov*/,
302 	int /*iov_count*/);
303 
304 OM_uint32 GSSAPI_CALLCONV
305 _gss_spnego_wrap_iov_length (
306 	OM_uint32 * /*minor_status*/,
307 	gss_ctx_id_t /*context_handle*/,
308 	int /*conf_req_flag*/,
309 	gss_qop_t /*qop_req*/,
310 	int */*conf_state*/,
311 	gss_iov_buffer_desc */*iov*/,
312 	int /*iov_count*/);
313 
314 OM_uint32 GSSAPI_CALLCONV
315 _gss_spnego_wrap_size_limit (
316 	 OM_uint32 * /*minor_status*/,
317 	const gss_ctx_id_t /*context_handle*/,
318 	int /*conf_req_flag*/,
319 	gss_qop_t /*qop_req*/,
320 	OM_uint32 /*req_output_size*/,
321 	OM_uint32 * max_input_size );
322 
323 #endif /* __spnego_private_h__ */
324