Added wrapping calls (gss_init_sec_context_spnego() and gss_accept_sec_context_spnego...
[mod_auth_kerb.cvs/.git] / spnegokrb5 / spnegokrb5.h
1 #ifndef _SPNEGOKRB5_H_
2 #define _SPNEGOKRB5_H_
3
4 #ifdef  __cplusplus
5 extern "C" {
6 #endif
7
8 #include <gssapi.h>
9
10 OM_uint32 gss_init_sec_context_spnego(
11             OM_uint32 * minor_status,
12             const gss_cred_id_t initiator_cred_handle,
13             gss_ctx_id_t * context_handle,
14             const gss_name_t target_name,
15             const gss_OID mech_type,
16             OM_uint32 req_flags,
17             OM_uint32 time_req,
18             const gss_channel_bindings_t input_chan_bindings,
19             const gss_buffer_t input_token,
20             gss_OID * actual_mech_type,
21             gss_buffer_t output_token,
22             OM_uint32 * ret_flags,
23             OM_uint32 * time_rec);
24
25 OM_uint32 gss_accept_sec_context_spnego
26            (OM_uint32 * minor_status,
27             gss_ctx_id_t * context_handle,
28             const gss_cred_id_t acceptor_cred_handle,
29             const gss_buffer_t input_token_buffer,
30             const gss_channel_bindings_t input_chan_bindings,
31             gss_name_t * src_name,
32             gss_OID * mech_type,
33             gss_buffer_t output_token,
34             OM_uint32 * ret_flags,
35             OM_uint32 * time_rec,
36             gss_cred_id_t * delegated_cred_handle);
37
38 #ifdef  __cplusplus
39 }
40 #endif
41
42 #endif