Added the accepting part
[mod_auth_kerb.cvs/.git] / spnegokrb5 / spnegokrb5_locl.h
1 #include <stdlib.h>
2 #include <errno.h>
3
4 #include <gssapi.h>
5 #include <spnego_asn1.h>
6 #include <spnegokrb5.h>
7 #include <der.h>
8 #include <asn1_err.h>
9
10 #define ALLOC(X) (X) = calloc(1, sizeof(*(X)))
11
12 extern gss_OID GSS_KRB5_MECH;
13 extern gss_OID GSS_SPNEGO_MECH;
14
15 OM_uint32
16 gssapi_spnego_encapsulate(
17                         OM_uint32 *,
18                         unsigned char *,
19                         size_t,
20                         gss_buffer_t,
21                         const gss_OID);
22
23 OM_uint32
24 gssapi_spnego_decapsulate(
25                         OM_uint32 *,
26                         gss_buffer_t,
27                         unsigned char **,
28                         size_t *,
29                         const gss_OID);