| 1 | /* This is a generated file */ | 
| 2 | #ifndef __gsskrb5_private_h__ | 
| 3 | #define __gsskrb5_private_h__ | 
| 4 |  | 
| 5 | #include <stdarg.h> | 
| 6 |  | 
| 7 | gssapi_mech_interface | 
| 8 | __gss_krb5_initialize (void); | 
| 9 |  | 
| 10 | OM_uint32 | 
| 11 | __gsskrb5_ccache_lifetime ( | 
| 12 | 	OM_uint32 */*minor_status*/, | 
| 13 | 	krb5_context /*context*/, | 
| 14 | 	krb5_ccache /*id*/, | 
| 15 | 	krb5_principal /*principal*/, | 
| 16 | 	OM_uint32 */*lifetime*/); | 
| 17 |  | 
| 18 | OM_uint32 | 
| 19 | _gk_allocate_buffer ( | 
| 20 | 	OM_uint32 */*minor_status*/, | 
| 21 | 	gss_iov_buffer_desc */*buffer*/, | 
| 22 | 	size_t /*size*/); | 
| 23 |  | 
| 24 | gss_iov_buffer_desc * | 
| 25 | _gk_find_buffer ( | 
| 26 | 	gss_iov_buffer_desc */*iov*/, | 
| 27 | 	int /*iov_count*/, | 
| 28 | 	OM_uint32 /*type*/); | 
| 29 |  | 
| 30 | OM_uint32 GSSAPI_CALLCONV | 
| 31 | _gk_unwrap_iov ( | 
| 32 | 	OM_uint32 */*minor_status*/, | 
| 33 | 	gss_ctx_id_t /*context_handle*/, | 
| 34 | 	int */*conf_state*/, | 
| 35 | 	gss_qop_t */*qop_state*/, | 
| 36 | 	gss_iov_buffer_desc */*iov*/, | 
| 37 | 	int /*iov_count*/); | 
| 38 |  | 
| 39 | OM_uint32 | 
| 40 | _gk_verify_buffers ( | 
| 41 | 	OM_uint32 */*minor_status*/, | 
| 42 | 	const gsskrb5_ctx /*ctx*/, | 
| 43 | 	const gss_iov_buffer_desc */*header*/, | 
| 44 | 	const gss_iov_buffer_desc */*padding*/, | 
| 45 | 	const gss_iov_buffer_desc */*trailer*/); | 
| 46 |  | 
| 47 | OM_uint32 GSSAPI_CALLCONV | 
| 48 | _gk_wrap_iov ( | 
| 49 | 	OM_uint32 * /*minor_status*/, | 
| 50 | 	gss_ctx_id_t /*context_handle*/, | 
| 51 | 	int /*conf_req_flag*/, | 
| 52 | 	gss_qop_t /*qop_req*/, | 
| 53 | 	int * /*conf_state*/, | 
| 54 | 	gss_iov_buffer_desc */*iov*/, | 
| 55 | 	int /*iov_count*/); | 
| 56 |  | 
| 57 | OM_uint32 GSSAPI_CALLCONV | 
| 58 | _gk_wrap_iov_length ( | 
| 59 | 	OM_uint32 * /*minor_status*/, | 
| 60 | 	gss_ctx_id_t /*context_handle*/, | 
| 61 | 	int /*conf_req_flag*/, | 
| 62 | 	gss_qop_t /*qop_req*/, | 
| 63 | 	int */*conf_state*/, | 
| 64 | 	gss_iov_buffer_desc */*iov*/, | 
| 65 | 	int /*iov_count*/); | 
| 66 |  | 
| 67 | OM_uint32 | 
| 68 | _gss_DES3_get_mic_compat ( | 
| 69 | 	OM_uint32 */*minor_status*/, | 
| 70 | 	gsskrb5_ctx /*ctx*/, | 
| 71 | 	krb5_context /*context*/); | 
| 72 |  | 
| 73 | OM_uint32 | 
| 74 | _gssapi_decapsulate ( | 
| 75 | 	 OM_uint32 */*minor_status*/, | 
| 76 | 	gss_buffer_t /*input_token_buffer*/, | 
| 77 | 	krb5_data */*out_data*/, | 
| 78 | 	const gss_OID mech ); | 
| 79 |  | 
| 80 | void | 
| 81 | _gssapi_encap_length ( | 
| 82 | 	size_t /*data_len*/, | 
| 83 | 	size_t */*len*/, | 
| 84 | 	size_t */*total_len*/, | 
| 85 | 	const gss_OID /*mech*/); | 
| 86 |  | 
| 87 | OM_uint32 | 
| 88 | _gssapi_encapsulate ( | 
| 89 | 	 OM_uint32 */*minor_status*/, | 
| 90 | 	const krb5_data */*in_data*/, | 
| 91 | 	gss_buffer_t /*output_token*/, | 
| 92 | 	const gss_OID mech ); | 
| 93 |  | 
| 94 | OM_uint32 | 
| 95 | _gssapi_get_mic_arcfour ( | 
| 96 | 	OM_uint32 * /*minor_status*/, | 
| 97 | 	const gsskrb5_ctx /*context_handle*/, | 
| 98 | 	krb5_context /*context*/, | 
| 99 | 	gss_qop_t /*qop_req*/, | 
| 100 | 	const gss_buffer_t /*message_buffer*/, | 
| 101 | 	gss_buffer_t /*message_token*/, | 
| 102 | 	krb5_keyblock */*key*/); | 
| 103 |  | 
| 104 | void * | 
| 105 |  ( | 
| 106 | 	void */*ptr*/, | 
| 107 | 	size_t /*len*/, | 
| 108 | 	const gss_OID /*mech*/); | 
| 109 |  | 
| 110 | OM_uint32 | 
| 111 | _gssapi_mic_cfx ( | 
| 112 | 	OM_uint32 */*minor_status*/, | 
| 113 | 	const gsskrb5_ctx /*ctx*/, | 
| 114 | 	krb5_context /*context*/, | 
| 115 | 	gss_qop_t /*qop_req*/, | 
| 116 | 	const gss_buffer_t /*message_buffer*/, | 
| 117 | 	gss_buffer_t /*message_token*/); | 
| 118 |  | 
| 119 | OM_uint32 | 
| 120 | _gssapi_msg_order_check ( | 
| 121 | 	struct gss_msg_order */*o*/, | 
| 122 | 	OM_uint32 /*seq_num*/); | 
| 123 |  | 
| 124 | OM_uint32 | 
| 125 | _gssapi_msg_order_create ( | 
| 126 | 	OM_uint32 */*minor_status*/, | 
| 127 | 	struct gss_msg_order **/*o*/, | 
| 128 | 	OM_uint32 /*flags*/, | 
| 129 | 	OM_uint32 /*seq_num*/, | 
| 130 | 	OM_uint32 /*jitter_window*/, | 
| 131 | 	int /*use_64*/); | 
| 132 |  | 
| 133 | OM_uint32 | 
| 134 | _gssapi_msg_order_destroy (struct gss_msg_order **/*m*/); | 
| 135 |  | 
| 136 | krb5_error_code | 
| 137 | _gssapi_msg_order_export ( | 
| 138 | 	krb5_storage */*sp*/, | 
| 139 | 	struct gss_msg_order */*o*/); | 
| 140 |  | 
| 141 | OM_uint32 | 
| 142 | _gssapi_msg_order_f (OM_uint32 /*flags*/); | 
| 143 |  | 
| 144 | OM_uint32 | 
| 145 | _gssapi_msg_order_import ( | 
| 146 | 	OM_uint32 */*minor_status*/, | 
| 147 | 	krb5_storage */*sp*/, | 
| 148 | 	struct gss_msg_order **/*o*/); | 
| 149 |  | 
| 150 | OM_uint32 | 
| 151 | _gssapi_unwrap_arcfour ( | 
| 152 | 	OM_uint32 */*minor_status*/, | 
| 153 | 	const gsskrb5_ctx /*context_handle*/, | 
| 154 | 	krb5_context /*context*/, | 
| 155 | 	const gss_buffer_t /*input_message_buffer*/, | 
| 156 | 	gss_buffer_t /*output_message_buffer*/, | 
| 157 | 	int */*conf_state*/, | 
| 158 | 	gss_qop_t */*qop_state*/, | 
| 159 | 	krb5_keyblock */*key*/); | 
| 160 |  | 
| 161 | OM_uint32 | 
| 162 | _gssapi_unwrap_cfx ( | 
| 163 | 	OM_uint32 */*minor_status*/, | 
| 164 | 	const gsskrb5_ctx /*ctx*/, | 
| 165 | 	krb5_context /*context*/, | 
| 166 | 	const gss_buffer_t /*input_message_buffer*/, | 
| 167 | 	gss_buffer_t /*output_message_buffer*/, | 
| 168 | 	int */*conf_state*/, | 
| 169 | 	gss_qop_t */*qop_state*/); | 
| 170 |  | 
| 171 | OM_uint32 | 
| 172 | _gssapi_unwrap_cfx_iov ( | 
| 173 | 	OM_uint32 */*minor_status*/, | 
| 174 | 	gsskrb5_ctx /*ctx*/, | 
| 175 | 	krb5_context /*context*/, | 
| 176 | 	int */*conf_state*/, | 
| 177 | 	gss_qop_t */*qop_state*/, | 
| 178 | 	gss_iov_buffer_desc */*iov*/, | 
| 179 | 	int /*iov_count*/); | 
| 180 |  | 
| 181 | OM_uint32 | 
| 182 | _gssapi_unwrap_iov_arcfour ( | 
| 183 | 	OM_uint32 */*minor_status*/, | 
| 184 | 	gsskrb5_ctx /*ctx*/, | 
| 185 | 	krb5_context /*context*/, | 
| 186 | 	int */*pconf_state*/, | 
| 187 | 	gss_qop_t */*pqop_state*/, | 
| 188 | 	gss_iov_buffer_desc */*iov*/, | 
| 189 | 	int /*iov_count*/, | 
| 190 | 	krb5_keyblock */*key*/); | 
| 191 |  | 
| 192 | OM_uint32 | 
| 193 |  ( | 
| 194 | 	u_char **/*str*/, | 
| 195 | 	size_t /*total_len*/, | 
| 196 | 	gss_OID /*mech*/); | 
| 197 |  | 
| 198 | OM_uint32 | 
| 199 | _gssapi_verify_mic_arcfour ( | 
| 200 | 	OM_uint32 * /*minor_status*/, | 
| 201 | 	const gsskrb5_ctx /*context_handle*/, | 
| 202 | 	krb5_context /*context*/, | 
| 203 | 	const gss_buffer_t /*message_buffer*/, | 
| 204 | 	const gss_buffer_t /*token_buffer*/, | 
| 205 | 	gss_qop_t * /*qop_state*/, | 
| 206 | 	krb5_keyblock */*key*/, | 
| 207 | 	const char */*type*/); | 
| 208 |  | 
| 209 | OM_uint32 | 
| 210 | _gssapi_verify_mic_cfx ( | 
| 211 | 	OM_uint32 */*minor_status*/, | 
| 212 | 	const gsskrb5_ctx /*ctx*/, | 
| 213 | 	krb5_context /*context*/, | 
| 214 | 	const gss_buffer_t /*message_buffer*/, | 
| 215 | 	const gss_buffer_t /*token_buffer*/, | 
| 216 | 	gss_qop_t */*qop_state*/); | 
| 217 |  | 
| 218 | OM_uint32 | 
| 219 | _gssapi_verify_pad ( | 
| 220 | 	gss_buffer_t /*wrapped_token*/, | 
| 221 | 	size_t /*datalen*/, | 
| 222 | 	size_t */*padlen*/); | 
| 223 |  | 
| 224 | OM_uint32 | 
| 225 | _gssapi_wrap_arcfour ( | 
| 226 | 	OM_uint32 * /*minor_status*/, | 
| 227 | 	const gsskrb5_ctx /*context_handle*/, | 
| 228 | 	krb5_context /*context*/, | 
| 229 | 	int /*conf_req_flag*/, | 
| 230 | 	gss_qop_t /*qop_req*/, | 
| 231 | 	const gss_buffer_t /*input_message_buffer*/, | 
| 232 | 	int * /*conf_state*/, | 
| 233 | 	gss_buffer_t /*output_message_buffer*/, | 
| 234 | 	krb5_keyblock */*key*/); | 
| 235 |  | 
| 236 | OM_uint32 | 
| 237 | _gssapi_wrap_cfx ( | 
| 238 | 	OM_uint32 */*minor_status*/, | 
| 239 | 	const gsskrb5_ctx /*ctx*/, | 
| 240 | 	krb5_context /*context*/, | 
| 241 | 	int /*conf_req_flag*/, | 
| 242 | 	const gss_buffer_t /*input_message_buffer*/, | 
| 243 | 	int */*conf_state*/, | 
| 244 | 	gss_buffer_t /*output_message_buffer*/); | 
| 245 |  | 
| 246 | OM_uint32 | 
| 247 | _gssapi_wrap_cfx_iov ( | 
| 248 | 	OM_uint32 */*minor_status*/, | 
| 249 | 	gsskrb5_ctx /*ctx*/, | 
| 250 | 	krb5_context /*context*/, | 
| 251 | 	int /*conf_req_flag*/, | 
| 252 | 	int */*conf_state*/, | 
| 253 | 	gss_iov_buffer_desc */*iov*/, | 
| 254 | 	int /*iov_count*/); | 
| 255 |  | 
| 256 | OM_uint32 | 
| 257 | _gssapi_wrap_iov_arcfour ( | 
| 258 | 	OM_uint32 */*minor_status*/, | 
| 259 | 	gsskrb5_ctx /*ctx*/, | 
| 260 | 	krb5_context /*context*/, | 
| 261 | 	int /*conf_req_flag*/, | 
| 262 | 	int */*conf_state*/, | 
| 263 | 	gss_iov_buffer_desc */*iov*/, | 
| 264 | 	int /*iov_count*/, | 
| 265 | 	krb5_keyblock */*key*/); | 
| 266 |  | 
| 267 | OM_uint32 | 
| 268 | _gssapi_wrap_iov_length_arcfour ( | 
| 269 | 	OM_uint32 */*minor_status*/, | 
| 270 | 	gsskrb5_ctx /*ctx*/, | 
| 271 | 	krb5_context /*context*/, | 
| 272 | 	int /*conf_req_flag*/, | 
| 273 | 	gss_qop_t /*qop_req*/, | 
| 274 | 	int */*conf_state*/, | 
| 275 | 	gss_iov_buffer_desc */*iov*/, | 
| 276 | 	int /*iov_count*/); | 
| 277 |  | 
| 278 | OM_uint32 | 
| 279 | _gssapi_wrap_iov_length_cfx ( | 
| 280 | 	OM_uint32 */*minor_status*/, | 
| 281 | 	gsskrb5_ctx /*ctx*/, | 
| 282 | 	krb5_context /*context*/, | 
| 283 | 	int /*conf_req_flag*/, | 
| 284 | 	gss_qop_t /*qop_req*/, | 
| 285 | 	int */*conf_state*/, | 
| 286 | 	gss_iov_buffer_desc */*iov*/, | 
| 287 | 	int /*iov_count*/); | 
| 288 |  | 
| 289 | OM_uint32 | 
| 290 | _gssapi_wrap_size_arcfour ( | 
| 291 | 	OM_uint32 */*minor_status*/, | 
| 292 | 	const gsskrb5_ctx /*ctx*/, | 
| 293 | 	krb5_context /*context*/, | 
| 294 | 	int /*conf_req_flag*/, | 
| 295 | 	gss_qop_t /*qop_req*/, | 
| 296 | 	OM_uint32 /*req_output_size*/, | 
| 297 | 	OM_uint32 */*max_input_size*/, | 
| 298 | 	krb5_keyblock */*key*/); | 
| 299 |  | 
| 300 | OM_uint32 | 
| 301 | _gssapi_wrap_size_cfx ( | 
| 302 | 	OM_uint32 */*minor_status*/, | 
| 303 | 	const gsskrb5_ctx /*ctx*/, | 
| 304 | 	krb5_context /*context*/, | 
| 305 | 	int /*conf_req_flag*/, | 
| 306 | 	gss_qop_t /*qop_req*/, | 
| 307 | 	OM_uint32 /*req_output_size*/, | 
| 308 | 	OM_uint32 */*max_input_size*/); | 
| 309 |  | 
| 310 | OM_uint32 GSSAPI_CALLCONV | 
| 311 | _gsskrb5_accept_sec_context ( | 
| 312 | 	OM_uint32 * /*minor_status*/, | 
| 313 | 	gss_ctx_id_t * /*context_handle*/, | 
| 314 | 	gss_const_cred_id_t /*acceptor_cred_handle*/, | 
| 315 | 	const gss_buffer_t /*input_token_buffer*/, | 
| 316 | 	const gss_channel_bindings_t /*input_chan_bindings*/, | 
| 317 | 	gss_name_t * /*src_name*/, | 
| 318 | 	gss_OID * /*mech_type*/, | 
| 319 | 	gss_buffer_t /*output_token*/, | 
| 320 | 	OM_uint32 * /*ret_flags*/, | 
| 321 | 	OM_uint32 * /*time_rec*/, | 
| 322 | 	gss_cred_id_t * /*delegated_cred_handle*/); | 
| 323 |  | 
| 324 | OM_uint32 GSSAPI_CALLCONV | 
| 325 | _gsskrb5_acquire_cred ( | 
| 326 | 	OM_uint32 * /*minor_status*/, | 
| 327 | 	gss_const_name_t /*desired_name*/, | 
| 328 | 	OM_uint32 /*time_req*/, | 
| 329 | 	const gss_OID_set /*desired_mechs*/, | 
| 330 | 	gss_cred_usage_t /*cred_usage*/, | 
| 331 | 	gss_cred_id_t * /*output_cred_handle*/, | 
| 332 | 	gss_OID_set * /*actual_mechs*/, | 
| 333 | 	OM_uint32 * time_rec ); | 
| 334 |  | 
| 335 | OM_uint32 GSSAPI_CALLCONV | 
| 336 | _gsskrb5_acquire_cred_ext ( | 
| 337 | 	OM_uint32 * /*minor_status*/, | 
| 338 | 	gss_const_name_t /*desired_name*/, | 
| 339 | 	gss_const_OID /*credential_type*/, | 
| 340 | 	const void */*credential_data*/, | 
| 341 | 	OM_uint32 /*time_req*/, | 
| 342 | 	gss_const_OID /*desired_mech*/, | 
| 343 | 	gss_cred_usage_t /*cred_usage*/, | 
| 344 | 	gss_cred_id_t * output_cred_handle ); | 
| 345 |  | 
| 346 | OM_uint32 GSSAPI_CALLCONV | 
| 347 | _gsskrb5_add_cred ( | 
| 348 | 	 OM_uint32 */*minor_status*/, | 
| 349 | 	gss_const_cred_id_t /*input_cred_handle*/, | 
| 350 | 	gss_const_name_t /*desired_name*/, | 
| 351 | 	const gss_OID /*desired_mech*/, | 
| 352 | 	gss_cred_usage_t /*cred_usage*/, | 
| 353 | 	OM_uint32 /*initiator_time_req*/, | 
| 354 | 	OM_uint32 /*acceptor_time_req*/, | 
| 355 | 	gss_cred_id_t */*output_cred_handle*/, | 
| 356 | 	gss_OID_set */*actual_mechs*/, | 
| 357 | 	OM_uint32 */*initiator_time_rec*/, | 
| 358 | 	OM_uint32 */*acceptor_time_rec*/); | 
| 359 |  | 
| 360 | OM_uint32 GSSAPI_CALLCONV | 
| 361 | _gsskrb5_authorize_localname ( | 
| 362 | 	OM_uint32 */*minor_status*/, | 
| 363 | 	gss_const_name_t /*input_name*/, | 
| 364 | 	gss_const_buffer_t /*user_name*/, | 
| 365 | 	gss_const_OID /*user_name_type*/); | 
| 366 |  | 
| 367 | OM_uint32 | 
| 368 | _gsskrb5_canon_name ( | 
| 369 | 	OM_uint32 */*minor_status*/, | 
| 370 | 	krb5_context /*context*/, | 
| 371 | 	gss_const_name_t /*targetname*/, | 
| 372 | 	krb5_principal */*out*/); | 
| 373 |  | 
| 374 | OM_uint32 GSSAPI_CALLCONV | 
| 375 | _gsskrb5_canonicalize_name ( | 
| 376 | 	 OM_uint32 * /*minor_status*/, | 
| 377 | 	gss_const_name_t /*input_name*/, | 
| 378 | 	const gss_OID /*mech_type*/, | 
| 379 | 	gss_name_t * output_name ); | 
| 380 |  | 
| 381 | void | 
| 382 | _gsskrb5_clear_status (void); | 
| 383 |  | 
| 384 | OM_uint32 GSSAPI_CALLCONV | 
| 385 | _gsskrb5_compare_name ( | 
| 386 | 	OM_uint32 * /*minor_status*/, | 
| 387 | 	gss_const_name_t /*name1*/, | 
| 388 | 	gss_const_name_t /*name2*/, | 
| 389 | 	int * name_equal ); | 
| 390 |  | 
| 391 | OM_uint32 GSSAPI_CALLCONV | 
| 392 | _gsskrb5_context_time ( | 
| 393 | 	OM_uint32 * /*minor_status*/, | 
| 394 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 395 | 	OM_uint32 * time_rec ); | 
| 396 |  | 
| 397 | OM_uint32 | 
| 398 | _gsskrb5_create_8003_checksum ( | 
| 399 | 	 OM_uint32 */*minor_status*/, | 
| 400 | 	const gss_channel_bindings_t /*input_chan_bindings*/, | 
| 401 | 	OM_uint32 /*flags*/, | 
| 402 | 	const krb5_data */*fwd_data*/, | 
| 403 | 	Checksum */*result*/); | 
| 404 |  | 
| 405 | OM_uint32 | 
| 406 | _gsskrb5_create_ctx ( | 
| 407 | 	 OM_uint32 * /*minor_status*/, | 
| 408 | 	gss_ctx_id_t * /*context_handle*/, | 
| 409 | 	krb5_context /*context*/, | 
| 410 | 	const gss_channel_bindings_t /*input_chan_bindings*/, | 
| 411 | 	enum gss_ctx_id_t_state /*state*/); | 
| 412 |  | 
| 413 | OM_uint32 | 
| 414 | _gsskrb5_decapsulate ( | 
| 415 | 	OM_uint32 */*minor_status*/, | 
| 416 | 	gss_buffer_t /*input_token_buffer*/, | 
| 417 | 	krb5_data */*out_data*/, | 
| 418 | 	const void */*type*/, | 
| 419 | 	gss_OID /*oid*/); | 
| 420 |  | 
| 421 | krb5_error_code | 
| 422 | _gsskrb5_decode_be_om_uint32 ( | 
| 423 | 	const void */*ptr*/, | 
| 424 | 	OM_uint32 */*n*/); | 
| 425 |  | 
| 426 | krb5_error_code | 
| 427 | _gsskrb5_decode_om_uint32 ( | 
| 428 | 	const void */*ptr*/, | 
| 429 | 	OM_uint32 */*n*/); | 
| 430 |  | 
| 431 | OM_uint32 GSSAPI_CALLCONV | 
| 432 | _gsskrb5_delete_sec_context ( | 
| 433 | 	OM_uint32 * /*minor_status*/, | 
| 434 | 	gss_ctx_id_t * /*context_handle*/, | 
| 435 | 	gss_buffer_t /*output_token*/); | 
| 436 |  | 
| 437 | OM_uint32 GSSAPI_CALLCONV | 
| 438 | _gsskrb5_display_name ( | 
| 439 | 	OM_uint32 * /*minor_status*/, | 
| 440 | 	gss_const_name_t /*input_name*/, | 
| 441 | 	gss_buffer_t /*output_name_buffer*/, | 
| 442 | 	gss_OID * output_name_type ); | 
| 443 |  | 
| 444 | OM_uint32 GSSAPI_CALLCONV | 
| 445 | _gsskrb5_display_status ( | 
| 446 | 	OM_uint32 */*minor_status*/, | 
| 447 | 	OM_uint32 /*status_value*/, | 
| 448 | 	int /*status_type*/, | 
| 449 | 	const gss_OID /*mech_type*/, | 
| 450 | 	OM_uint32 */*message_context*/, | 
| 451 | 	gss_buffer_t /*status_string*/); | 
| 452 |  | 
| 453 | OM_uint32 GSSAPI_CALLCONV | 
| 454 | _gsskrb5_duplicate_name ( | 
| 455 | 	 OM_uint32 * /*minor_status*/, | 
| 456 | 	gss_const_name_t /*src_name*/, | 
| 457 | 	gss_name_t * dest_name ); | 
| 458 |  | 
| 459 | void | 
| 460 | _gsskrb5_encap_length ( | 
| 461 | 	size_t /*data_len*/, | 
| 462 | 	size_t */*len*/, | 
| 463 | 	size_t */*total_len*/, | 
| 464 | 	const gss_OID /*mech*/); | 
| 465 |  | 
| 466 | OM_uint32 | 
| 467 | _gsskrb5_encapsulate ( | 
| 468 | 	 OM_uint32 */*minor_status*/, | 
| 469 | 	const krb5_data */*in_data*/, | 
| 470 | 	gss_buffer_t /*output_token*/, | 
| 471 | 	const void */*type*/, | 
| 472 | 	const gss_OID mech ); | 
| 473 |  | 
| 474 | krb5_error_code | 
| 475 | _gsskrb5_encode_be_om_uint32 ( | 
| 476 | 	OM_uint32 /*n*/, | 
| 477 | 	u_char */*p*/); | 
| 478 |  | 
| 479 | krb5_error_code | 
| 480 | _gsskrb5_encode_om_uint32 ( | 
| 481 | 	OM_uint32 /*n*/, | 
| 482 | 	u_char */*p*/); | 
| 483 |  | 
| 484 | OM_uint32 GSSAPI_CALLCONV | 
| 485 | _gsskrb5_export_cred ( | 
| 486 | 	OM_uint32 */*minor_status*/, | 
| 487 | 	gss_cred_id_t /*cred_handle*/, | 
| 488 | 	gss_buffer_t /*cred_token*/); | 
| 489 |  | 
| 490 | OM_uint32 GSSAPI_CALLCONV | 
| 491 | _gsskrb5_export_name ( | 
| 492 | 	OM_uint32 * /*minor_status*/, | 
| 493 | 	gss_const_name_t /*input_name*/, | 
| 494 | 	gss_buffer_t exported_name ); | 
| 495 |  | 
| 496 | OM_uint32 GSSAPI_CALLCONV | 
| 497 | _gsskrb5_export_sec_context ( | 
| 498 | 	 OM_uint32 */*minor_status*/, | 
| 499 | 	gss_ctx_id_t */*context_handle*/, | 
| 500 | 	gss_buffer_t interprocess_token ); | 
| 501 |  | 
| 502 | ssize_t | 
| 503 | _gsskrb5_get_mech ( | 
| 504 | 	const u_char */*ptr*/, | 
| 505 | 	size_t /*total_len*/, | 
| 506 | 	const u_char **/*mech_ret*/); | 
| 507 |  | 
| 508 | OM_uint32 GSSAPI_CALLCONV | 
| 509 | _gsskrb5_get_mic ( | 
| 510 | 	OM_uint32 * /*minor_status*/, | 
| 511 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 512 | 	gss_qop_t /*qop_req*/, | 
| 513 | 	const gss_buffer_t /*message_buffer*/, | 
| 514 | 	gss_buffer_t message_token ); | 
| 515 |  | 
| 516 | OM_uint32 | 
| 517 | _gsskrb5_get_tkt_flags ( | 
| 518 | 	OM_uint32 */*minor_status*/, | 
| 519 | 	gsskrb5_ctx /*ctx*/, | 
| 520 | 	OM_uint32 */*tkt_flags*/); | 
| 521 |  | 
| 522 | OM_uint32 GSSAPI_CALLCONV | 
| 523 | _gsskrb5_import_cred ( | 
| 524 | 	OM_uint32 * /*minor_status*/, | 
| 525 | 	gss_buffer_t /*cred_token*/, | 
| 526 | 	gss_cred_id_t * /*cred_handle*/); | 
| 527 |  | 
| 528 | OM_uint32 GSSAPI_CALLCONV | 
| 529 | _gsskrb5_import_name ( | 
| 530 | 	OM_uint32 * /*minor_status*/, | 
| 531 | 	const gss_buffer_t /*input_name_buffer*/, | 
| 532 | 	const gss_OID /*input_name_type*/, | 
| 533 | 	gss_name_t * output_name ); | 
| 534 |  | 
| 535 | OM_uint32 GSSAPI_CALLCONV | 
| 536 | _gsskrb5_import_sec_context ( | 
| 537 | 	 OM_uint32 * /*minor_status*/, | 
| 538 | 	const gss_buffer_t /*interprocess_token*/, | 
| 539 | 	gss_ctx_id_t * context_handle ); | 
| 540 |  | 
| 541 | OM_uint32 GSSAPI_CALLCONV | 
| 542 | _gsskrb5_indicate_mechs ( | 
| 543 | 	OM_uint32 * /*minor_status*/, | 
| 544 | 	gss_OID_set * mech_set ); | 
| 545 |  | 
| 546 | krb5_error_code | 
| 547 | _gsskrb5_init (krb5_context */*context*/); | 
| 548 |  | 
| 549 | OM_uint32 GSSAPI_CALLCONV | 
| 550 | _gsskrb5_init_sec_context ( | 
| 551 | 	OM_uint32 * /*minor_status*/, | 
| 552 | 	gss_const_cred_id_t /*cred_handle*/, | 
| 553 | 	gss_ctx_id_t * /*context_handle*/, | 
| 554 | 	gss_const_name_t /*target_name*/, | 
| 555 | 	const gss_OID /*mech_type*/, | 
| 556 | 	OM_uint32 /*req_flags*/, | 
| 557 | 	OM_uint32 /*time_req*/, | 
| 558 | 	const gss_channel_bindings_t /*input_chan_bindings*/, | 
| 559 | 	const gss_buffer_t /*input_token*/, | 
| 560 | 	gss_OID * /*actual_mech_type*/, | 
| 561 | 	gss_buffer_t /*output_token*/, | 
| 562 | 	OM_uint32 * /*ret_flags*/, | 
| 563 | 	OM_uint32 * time_rec ); | 
| 564 |  | 
| 565 | OM_uint32 GSSAPI_CALLCONV | 
| 566 | _gsskrb5_inquire_context ( | 
| 567 | 	 OM_uint32 * /*minor_status*/, | 
| 568 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 569 | 	gss_name_t * /*src_name*/, | 
| 570 | 	gss_name_t * /*targ_name*/, | 
| 571 | 	OM_uint32 * /*lifetime_rec*/, | 
| 572 | 	gss_OID * /*mech_type*/, | 
| 573 | 	OM_uint32 * /*ctx_flags*/, | 
| 574 | 	int * /*locally_initiated*/, | 
| 575 | 	int * open_context ); | 
| 576 |  | 
| 577 | OM_uint32 GSSAPI_CALLCONV | 
| 578 | _gsskrb5_inquire_cred ( | 
| 579 | 	OM_uint32 * /*minor_status*/, | 
| 580 | 	gss_const_cred_id_t /*cred_handle*/, | 
| 581 | 	gss_name_t * /*output_name*/, | 
| 582 | 	OM_uint32 * /*lifetime*/, | 
| 583 | 	gss_cred_usage_t * /*cred_usage*/, | 
| 584 | 	gss_OID_set * mechanisms ); | 
| 585 |  | 
| 586 | OM_uint32 GSSAPI_CALLCONV | 
| 587 | _gsskrb5_inquire_cred_by_mech ( | 
| 588 | 	 OM_uint32 * /*minor_status*/, | 
| 589 | 	gss_const_cred_id_t /*cred_handle*/, | 
| 590 | 	const gss_OID /*mech_type*/, | 
| 591 | 	gss_name_t * /*name*/, | 
| 592 | 	OM_uint32 * /*initiator_lifetime*/, | 
| 593 | 	OM_uint32 * /*acceptor_lifetime*/, | 
| 594 | 	gss_cred_usage_t * cred_usage ); | 
| 595 |  | 
| 596 | OM_uint32 GSSAPI_CALLCONV | 
| 597 | _gsskrb5_inquire_cred_by_oid ( | 
| 598 | 	OM_uint32 * /*minor_status*/, | 
| 599 | 	gss_const_cred_id_t /*cred_handle*/, | 
| 600 | 	const gss_OID /*desired_object*/, | 
| 601 | 	gss_buffer_set_t */*data_set*/); | 
| 602 |  | 
| 603 | OM_uint32 GSSAPI_CALLCONV | 
| 604 | _gsskrb5_inquire_mechs_for_name ( | 
| 605 | 	 OM_uint32 * /*minor_status*/, | 
| 606 | 	gss_const_name_t /*input_name*/, | 
| 607 | 	gss_OID_set * mech_types ); | 
| 608 |  | 
| 609 | OM_uint32 GSSAPI_CALLCONV | 
| 610 | _gsskrb5_inquire_names_for_mech ( | 
| 611 | 	 OM_uint32 * /*minor_status*/, | 
| 612 | 	const gss_OID /*mechanism*/, | 
| 613 | 	gss_OID_set * name_types ); | 
| 614 |  | 
| 615 | OM_uint32 GSSAPI_CALLCONV | 
| 616 | _gsskrb5_inquire_sec_context_by_oid ( | 
| 617 | 	OM_uint32 */*minor_status*/, | 
| 618 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 619 | 	const gss_OID /*desired_object*/, | 
| 620 | 	gss_buffer_set_t */*data_set*/); | 
| 621 |  | 
| 622 | OM_uint32 | 
| 623 | _gsskrb5_krb5_ccache_name ( | 
| 624 | 	OM_uint32 */*minor_status*/, | 
| 625 | 	const char */*name*/, | 
| 626 | 	const char **/*out_name*/); | 
| 627 |  | 
| 628 | OM_uint32 | 
| 629 | _gsskrb5_krb5_import_cred ( | 
| 630 | 	OM_uint32 */*minor_status*/, | 
| 631 | 	krb5_ccache /*id*/, | 
| 632 | 	krb5_principal /*keytab_principal*/, | 
| 633 | 	krb5_keytab /*keytab*/, | 
| 634 | 	gss_cred_id_t */*cred*/); | 
| 635 |  | 
| 636 | OM_uint32 | 
| 637 | _gsskrb5_lifetime_left ( | 
| 638 | 	OM_uint32 */*minor_status*/, | 
| 639 | 	krb5_context /*context*/, | 
| 640 | 	OM_uint32 /*endtime*/, | 
| 641 | 	OM_uint32 */*lifetime_rec*/); | 
| 642 |  | 
| 643 | OM_uint32 GSSAPI_CALLCONV | 
| 644 | _gsskrb5_localname ( | 
| 645 | 	OM_uint32 */*minor_status*/, | 
| 646 | 	gss_const_name_t /*pname*/, | 
| 647 | 	const gss_OID /*mech_type*/, | 
| 648 | 	gss_buffer_t /*localname*/); | 
| 649 |  | 
| 650 | void * | 
| 651 |  ( | 
| 652 | 	void */*ptr*/, | 
| 653 | 	size_t /*len*/, | 
| 654 | 	const void */*type*/, | 
| 655 | 	const gss_OID /*mech*/); | 
| 656 |  | 
| 657 | OM_uint32 GSSAPI_CALLCONV | 
| 658 | _gsskrb5_process_context_token ( | 
| 659 | 	 OM_uint32 */*minor_status*/, | 
| 660 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 661 | 	const gss_buffer_t token_buffer ); | 
| 662 |  | 
| 663 | OM_uint32 GSSAPI_CALLCONV | 
| 664 | _gsskrb5_pseudo_random ( | 
| 665 | 	OM_uint32 */*minor_status*/, | 
| 666 | 	gss_ctx_id_t /*context_handle*/, | 
| 667 | 	int /*prf_key*/, | 
| 668 | 	const gss_buffer_t /*prf_in*/, | 
| 669 | 	ssize_t /*desired_output_len*/, | 
| 670 | 	gss_buffer_t /*prf_out*/); | 
| 671 |  | 
| 672 | OM_uint32 | 
| 673 | _gsskrb5_register_acceptor_identity ( | 
| 674 | 	OM_uint32 */*min_stat*/, | 
| 675 | 	const char */*identity*/); | 
| 676 |  | 
| 677 | OM_uint32 | 
| 678 | _gsskrb5_release_buffer ( | 
| 679 | 	OM_uint32 * /*minor_status*/, | 
| 680 | 	gss_buffer_t buffer ); | 
| 681 |  | 
| 682 | OM_uint32 GSSAPI_CALLCONV | 
| 683 | _gsskrb5_release_cred ( | 
| 684 | 	OM_uint32 * /*minor_status*/, | 
| 685 | 	gss_cred_id_t * cred_handle ); | 
| 686 |  | 
| 687 | OM_uint32 GSSAPI_CALLCONV | 
| 688 | _gsskrb5_release_name ( | 
| 689 | 	OM_uint32 * /*minor_status*/, | 
| 690 | 	gss_name_t * input_name ); | 
| 691 |  | 
| 692 | OM_uint32 GSSAPI_CALLCONV | 
| 693 | _gsskrb5_set_cred_option ( | 
| 694 | 	OM_uint32 */*minor_status*/, | 
| 695 | 	gss_cred_id_t */*cred_handle*/, | 
| 696 | 	const gss_OID /*desired_object*/, | 
| 697 | 	const gss_buffer_t /*value*/); | 
| 698 |  | 
| 699 | OM_uint32 GSSAPI_CALLCONV | 
| 700 | _gsskrb5_set_sec_context_option ( | 
| 701 | 	OM_uint32 */*minor_status*/, | 
| 702 | 	gss_ctx_id_t */*context_handle*/, | 
| 703 | 	const gss_OID /*desired_object*/, | 
| 704 | 	const gss_buffer_t /*value*/); | 
| 705 |  | 
| 706 | void | 
| 707 | _gsskrb5_set_status ( | 
| 708 | 	int /*ret*/, | 
| 709 | 	const char */*fmt*/, | 
| 710 | 	...); | 
| 711 |  | 
| 712 | OM_uint32 GSSAPI_CALLCONV | 
| 713 | _gsskrb5_store_cred ( | 
| 714 | 	OM_uint32 */*minor_status*/, | 
| 715 | 	gss_cred_id_t /*input_cred_handle*/, | 
| 716 | 	gss_cred_usage_t /*cred_usage*/, | 
| 717 | 	const gss_OID /*desired_mech*/, | 
| 718 | 	OM_uint32 /*overwrite_cred*/, | 
| 719 | 	OM_uint32 /*default_cred*/, | 
| 720 | 	gss_OID_set */*elements_stored*/, | 
| 721 | 	gss_cred_usage_t */*cred_usage_stored*/); | 
| 722 |  | 
| 723 | OM_uint32 GSSAPI_CALLCONV | 
| 724 | _gsskrb5_unwrap ( | 
| 725 | 	OM_uint32 * /*minor_status*/, | 
| 726 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 727 | 	const gss_buffer_t /*input_message_buffer*/, | 
| 728 | 	gss_buffer_t /*output_message_buffer*/, | 
| 729 | 	int * /*conf_state*/, | 
| 730 | 	gss_qop_t * qop_state ); | 
| 731 |  | 
| 732 | OM_uint32 | 
| 733 | _gsskrb5_verify_8003_checksum ( | 
| 734 | 	 OM_uint32 */*minor_status*/, | 
| 735 | 	const gss_channel_bindings_t /*input_chan_bindings*/, | 
| 736 | 	const Checksum */*cksum*/, | 
| 737 | 	OM_uint32 */*flags*/, | 
| 738 | 	krb5_data */*fwd_data*/); | 
| 739 |  | 
| 740 | OM_uint32 | 
| 741 |  ( | 
| 742 | 	u_char **/*str*/, | 
| 743 | 	size_t /*total_len*/, | 
| 744 | 	const void */*type*/, | 
| 745 | 	gss_OID /*oid*/); | 
| 746 |  | 
| 747 | OM_uint32 GSSAPI_CALLCONV | 
| 748 | _gsskrb5_verify_mic ( | 
| 749 | 	OM_uint32 * /*minor_status*/, | 
| 750 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 751 | 	const gss_buffer_t /*message_buffer*/, | 
| 752 | 	const gss_buffer_t /*token_buffer*/, | 
| 753 | 	gss_qop_t * qop_state ); | 
| 754 |  | 
| 755 | OM_uint32 | 
| 756 | _gsskrb5_verify_mic_internal ( | 
| 757 | 	OM_uint32 * /*minor_status*/, | 
| 758 | 	const gsskrb5_ctx /*ctx*/, | 
| 759 | 	krb5_context /*context*/, | 
| 760 | 	const gss_buffer_t /*message_buffer*/, | 
| 761 | 	const gss_buffer_t /*token_buffer*/, | 
| 762 | 	gss_qop_t * /*qop_state*/, | 
| 763 | 	const char * type ); | 
| 764 |  | 
| 765 | OM_uint32 GSSAPI_CALLCONV | 
| 766 | _gsskrb5_wrap ( | 
| 767 | 	OM_uint32 * /*minor_status*/, | 
| 768 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 769 | 	int /*conf_req_flag*/, | 
| 770 | 	gss_qop_t /*qop_req*/, | 
| 771 | 	const gss_buffer_t /*input_message_buffer*/, | 
| 772 | 	int * /*conf_state*/, | 
| 773 | 	gss_buffer_t output_message_buffer ); | 
| 774 |  | 
| 775 | OM_uint32 GSSAPI_CALLCONV | 
| 776 | _gsskrb5_wrap_size_limit ( | 
| 777 | 	 OM_uint32 * /*minor_status*/, | 
| 778 | 	gss_const_ctx_id_t /*context_handle*/, | 
| 779 | 	int /*conf_req_flag*/, | 
| 780 | 	gss_qop_t /*qop_req*/, | 
| 781 | 	OM_uint32 /*req_output_size*/, | 
| 782 | 	OM_uint32 * max_input_size ); | 
| 783 |  | 
| 784 | krb5_error_code | 
| 785 | _gsskrb5cfx_wrap_length_cfx ( | 
| 786 | 	krb5_context /*context*/, | 
| 787 | 	krb5_crypto /*crypto*/, | 
| 788 | 	int /*conf_req_flag*/, | 
| 789 | 	int /*dce_style*/, | 
| 790 | 	size_t /*input_length*/, | 
| 791 | 	size_t */*output_length*/, | 
| 792 | 	size_t */*cksumsize*/, | 
| 793 | 	uint16_t */*padlength*/); | 
| 794 |  | 
| 795 | krb5_error_code | 
| 796 | _gsskrb5i_address_to_krb5addr ( | 
| 797 | 	krb5_context /*context*/, | 
| 798 | 	OM_uint32 /*gss_addr_type*/, | 
| 799 | 	gss_buffer_desc */*gss_addr*/, | 
| 800 | 	int16_t /*port*/, | 
| 801 | 	krb5_address */*address*/); | 
| 802 |  | 
| 803 | krb5_error_code | 
| 804 | _gsskrb5i_get_acceptor_subkey ( | 
| 805 | 	const gsskrb5_ctx /*ctx*/, | 
| 806 | 	krb5_context /*context*/, | 
| 807 | 	krb5_keyblock **/*key*/); | 
| 808 |  | 
| 809 | krb5_error_code | 
| 810 | _gsskrb5i_get_initiator_subkey ( | 
| 811 | 	const gsskrb5_ctx /*ctx*/, | 
| 812 | 	krb5_context /*context*/, | 
| 813 | 	krb5_keyblock **/*key*/); | 
| 814 |  | 
| 815 | OM_uint32 | 
| 816 | _gsskrb5i_get_token_key ( | 
| 817 | 	const gsskrb5_ctx /*ctx*/, | 
| 818 | 	krb5_context /*context*/, | 
| 819 | 	krb5_keyblock **/*key*/); | 
| 820 |  | 
| 821 | void | 
| 822 | _gsskrb5i_is_cfx ( | 
| 823 | 	krb5_context /*context*/, | 
| 824 | 	gsskrb5_ctx /*ctx*/, | 
| 825 | 	int /*acceptor*/); | 
| 826 |  | 
| 827 | #endif /* __gsskrb5_private_h__ */ | 
| 828 |  |