- renamed enum CONTEXT into KERB_CTXT to address name clashes on Windows
[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 "config.h"
9 #ifdef HEIMDAL
10 #  include <gssapi.h>
11 #else
12 #  include <gssapi/gssapi.h>
13 #endif
14
15 OM_uint32 KRB5_LIB_FUNCTION gss_init_sec_context_spnego(
16             OM_uint32 *,
17             const gss_cred_id_t,
18             gss_ctx_id_t *,
19             const gss_name_t,
20             const gss_OID,
21             OM_uint32,
22             OM_uint32,
23             const gss_channel_bindings_t,
24             const gss_buffer_t,
25             gss_OID *,
26             gss_buffer_t,
27             OM_uint32 *,
28             OM_uint32 *);
29
30 OM_uint32 KRB5_LIB_FUNCTION gss_accept_sec_context_spnego
31            (OM_uint32 *,
32             gss_ctx_id_t *,
33             const gss_cred_id_t,
34             const gss_buffer_t,
35             const gss_channel_bindings_t,
36             gss_name_t *,
37             gss_OID *,
38             gss_buffer_t,
39             OM_uint32 *,
40             OM_uint32 *,
41             gss_cred_id_t *);
42
43 #ifdef  __cplusplus
44 }
45 #endif
46
47 #endif