Conf file is now in source tree
[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 #ifndef KRB5_LIB_FUNCTION
16 #  if defined(_WIN32)
17 #    define KRB5_LIB_FUNCTION _stdcall
18 #  else
19 #    define KRB5_LIB_FUNCTION
20 #  endif
21 #endif
22
23 OM_uint32 KRB5_LIB_FUNCTION gss_init_sec_context_spnego(
24             OM_uint32 *,
25             const gss_cred_id_t,
26             gss_ctx_id_t *,
27             const gss_name_t,
28             const gss_OID,
29             OM_uint32,
30             OM_uint32,
31             const gss_channel_bindings_t,
32             const gss_buffer_t,
33             gss_OID *,
34             gss_buffer_t,
35             OM_uint32 *,
36             OM_uint32 *);
37
38 OM_uint32 KRB5_LIB_FUNCTION gss_accept_sec_context_spnego
39            (OM_uint32 *,
40             gss_ctx_id_t *,
41             const gss_cred_id_t,
42             const gss_buffer_t,
43             const gss_channel_bindings_t,
44             gss_name_t *,
45             gss_OID *,
46             gss_buffer_t,
47             OM_uint32 *,
48             OM_uint32 *,
49             gss_cred_id_t *);
50
51 #ifdef  __cplusplus
52 }
53 #endif
54
55 #endif