File: spnegokrb5.h

package info (click to toggle)
libapache-mod-auth-kerb 5.4-2.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 632 kB
  • ctags: 380
  • sloc: ansic: 3,236; makefile: 92; sh: 4
file content (55 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef _SPNEGOKRB5_H_
#define _SPNEGOKRB5_H_

#ifdef  __cplusplus
extern "C" {
#endif

#include "config.h"
#ifdef HEIMDAL
#  include <gssapi.h>
#else
#  include <gssapi/gssapi.h>
#endif

#ifndef KRB5_LIB_FUNCTION
#  if defined(_WIN32)
#    define KRB5_LIB_FUNCTION _stdcall
#  else
#    define KRB5_LIB_FUNCTION
#  endif
#endif

OM_uint32 KRB5_LIB_FUNCTION gss_init_sec_context_spnego(
            OM_uint32 *,
            const gss_cred_id_t,
            gss_ctx_id_t *,
            const gss_name_t,
            const gss_OID,
            OM_uint32,
            OM_uint32,
            const gss_channel_bindings_t,
            const gss_buffer_t,
            gss_OID *,
            gss_buffer_t,
            OM_uint32 *,
            OM_uint32 *);

OM_uint32 KRB5_LIB_FUNCTION gss_accept_sec_context_spnego
           (OM_uint32 *,
            gss_ctx_id_t *,
            const gss_cred_id_t,
            const gss_buffer_t,
            const gss_channel_bindings_t,
            gss_name_t *,
            gss_OID *,
            gss_buffer_t,
            OM_uint32 *,
            OM_uint32 *,
            gss_cred_id_t *);

#ifdef  __cplusplus
}
#endif

#endif