X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=blobdiff_plain;f=gssapiP_eap.h;h=b53e131c929bc684df081588f59c26b2db7836ea;hp=274d694803cdccb2563deb1eae56ee3d61740965;hb=163856b1a70d7773c46d4ea5495b85c4dce0f089;hpb=5df2dcc26a31c87842368ce56caca635bcb1d435 diff --git a/gssapiP_eap.h b/gssapiP_eap.h index 274d694..b53e131 100644 --- a/gssapiP_eap.h +++ b/gssapiP_eap.h @@ -46,7 +46,9 @@ /* GSS headers */ #include #include +#ifndef HAVE_HEIMDAL_VERSION #include +#endif #include "gssapi_eap.h" /* Kerberos headers */ @@ -89,7 +91,12 @@ extern "C" { struct gss_eap_saml_attr_ctx; struct gss_eap_attr_ctx; -struct gss_name_struct { +#ifdef HAVE_HEIMDAL_VERSION +struct gss_name_t_desc_struct +#else +struct gss_name_struct +#endif +{ GSSEAP_MUTEX mutex; /* mutex protects attrCtx */ OM_uint32 flags; krb5_principal krbPrincipal; /* this is immutable */ @@ -103,7 +110,12 @@ struct gss_name_struct { #define CRED_FLAG_DEFAULT_CCACHE 0x00100000 #define CRED_FLAG_PUBLIC_MASK 0x0000FFFF -struct gss_cred_id_struct { +#ifdef HAVE_HEIMDAL_VERSION +struct gss_cred_id_t_desc_struct +#else +struct gss_cred_id_struct +#endif +{ GSSEAP_MUTEX mutex; OM_uint32 flags; gss_name_t name; @@ -167,7 +179,12 @@ struct gss_eap_acceptor_ctx { VALUE_PAIR *vps; }; -struct gss_ctx_id_struct { +#ifdef HAVE_HEIMDAL_VERSION +struct gss_ctx_id_t_desc_struct +#else +struct gss_ctx_id_struct +#endif +{ GSSEAP_MUTEX mutex; enum gss_eap_state state; OM_uint32 flags;