X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=moonshot%2Fmech_eap%2Futil_radius.h;h=481876afeb06ccfe09bae0cf909eeccae2f3aff0;hb=f8cc49e125b030bc7c81373984d12e54abc3cb11;hp=04e6fc56a67719d442a1df91653d00e10b97d0ea;hpb=fd1c603f1d0754f9c8c5901684cabc889010ed00;p=moonshot.git diff --git a/moonshot/mech_eap/util_radius.h b/moonshot/mech_eap/util_radius.h index 04e6fc5..481876a 100644 --- a/moonshot/mech_eap/util_radius.h +++ b/moonshot/mech_eap/util_radius.h @@ -154,6 +154,12 @@ OM_uint32 gssEapRadiusMapError(OM_uint32 *minor, struct rs_error *err); +OM_uint32 +gssEapCreateRadiusContext(OM_uint32 *minor, + gss_cred_id_t cred, + struct rs_context **pRadContext); + +/* This really needs to be a function call on Windows */ #define RS_CONFIG_FILE SYSCONFDIR "/radsec.conf" #define VENDORPEC_MS 311 /* RFC 2548 */ @@ -170,9 +176,6 @@ gssEapRadiusMapError(OM_uint32 *minor, #define PW_SAML_AAA_ASSERTION 132 #define PW_MS_WINDOWS_AUTH_DATA 133 -#define IS_RADIUS_ERROR(code) ((code) >= ERROR_TABLE_BASE_rse && \ - (code) <= ERROR_TABLE_BASE_rse + RSE_TIMEOUT_IO) - #ifdef __cplusplus } #endif