From f13a03add0553d6d7c9d989d0de4ee68fa35acb4 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 31 Aug 2010 08:55:48 +0200 Subject: Moved EAP type/code definitions to a seprate header file in libstrongswan --- src/libcharon/sa/authenticators/eap/eap_method.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/libcharon/sa/authenticators/eap/eap_method.h') diff --git a/src/libcharon/sa/authenticators/eap/eap_method.h b/src/libcharon/sa/authenticators/eap/eap_method.h index 91b419b2c..9961039ff 100644 --- a/src/libcharon/sa/authenticators/eap/eap_method.h +++ b/src/libcharon/sa/authenticators/eap/eap_method.h @@ -23,10 +23,10 @@ typedef struct eap_method_t eap_method_t; typedef enum eap_role_t eap_role_t; -typedef enum eap_code_t eap_code_t; #include #include +#include #include /** @@ -41,26 +41,6 @@ enum eap_role_t { */ extern enum_name_t *eap_role_names; -/** - * EAP code, type of an EAP message - */ -enum eap_code_t { - EAP_REQUEST = 1, - EAP_RESPONSE = 2, - EAP_SUCCESS = 3, - EAP_FAILURE = 4, -}; - -/** - * enum names for eap_code_t. - */ -extern enum_name_t *eap_code_names; - -/** - * short string enum names for eap_code_t. - */ -extern enum_name_t *eap_code_short_names; - /** * Interface of an EAP method for server and client side. * -- cgit v1.2.3