eapol/eapol_framework/eapol_common/include/abs_eapol_core.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 13 %
    19 * %version: 16 %
    20 */
    20 */
    21 
    21 
    22 #if !defined(_ABS_EAPOL_CORE_H_)
    22 #if !defined(_ABS_EAPOL_CORE_H_)
    23 #define _ABS_EAPOL_CORE_H_
    23 #define _ABS_EAPOL_CORE_H_
    24 
    24 
    26 #include "eapol_key_state.h"
    26 #include "eapol_key_state.h"
    27 #if defined(USE_EAP_SIMPLE_CONFIG)
    27 #if defined(USE_EAP_SIMPLE_CONFIG)
    28 	#include "abs_eap_configuration_if.h"
    28 	#include "abs_eap_configuration_if.h"
    29 #endif // #if defined(USE_EAP_SIMPLE_CONFIG)
    29 #endif // #if defined(USE_EAP_SIMPLE_CONFIG)
    30 
    30 
       
    31 #include "eap_am_export.h"
       
    32 // Start: added by script change_export_macros.sh.
       
    33 #if defined(EAP_NO_EXPORT_ABS_EAPOL_CORE_H)
       
    34 	#define EAP_CLASS_VISIBILITY_ABS_EAPOL_CORE_H EAP_NONSHARABLE 
       
    35 	#define EAP_FUNC_VISIBILITY_ABS_EAPOL_CORE_H 
       
    36 	#define EAP_C_FUNC_VISIBILITY_ABS_EAPOL_CORE_H 
       
    37 	#define EAP_FUNC_EXPORT_ABS_EAPOL_CORE_H 
       
    38 	#define EAP_C_FUNC_EXPORT_ABS_EAPOL_CORE_H 
       
    39 #elif defined(EAP_EXPORT_ABS_EAPOL_CORE_H)
       
    40 	#define EAP_CLASS_VISIBILITY_ABS_EAPOL_CORE_H EAP_EXPORT 
       
    41 	#define EAP_FUNC_VISIBILITY_ABS_EAPOL_CORE_H EAP_FUNC_EXPORT 
       
    42 	#define EAP_C_FUNC_VISIBILITY_ABS_EAPOL_CORE_H EAP_C_FUNC_EXPORT 
       
    43 	#define EAP_FUNC_EXPORT_ABS_EAPOL_CORE_H EAP_FUNC_EXPORT 
       
    44 	#define EAP_C_FUNC_EXPORT_ABS_EAPOL_CORE_H EAP_C_FUNC_EXPORT 
       
    45 #else
       
    46 	#define EAP_CLASS_VISIBILITY_ABS_EAPOL_CORE_H EAP_IMPORT 
       
    47 	#define EAP_FUNC_VISIBILITY_ABS_EAPOL_CORE_H EAP_FUNC_IMPORT 
       
    48 	#define EAP_C_FUNC_VISIBILITY_ABS_EAPOL_CORE_H EAP_C_FUNC_IMPORT 
       
    49 	#define EAP_FUNC_EXPORT_ABS_EAPOL_CORE_H 
       
    50 	#define EAP_C_FUNC_EXPORT_ABS_EAPOL_CORE_H 
       
    51 #endif
       
    52 // End: added by script change_export_macros.sh.
       
    53 
    31 class eap_am_network_id_c;
    54 class eap_am_network_id_c;
    32 class eapol_session_key_c;
    55 class eapol_session_key_c;
    33 class abs_eap_base_type_c;
    56 class abs_eap_base_type_c;
    34 class eap_rogue_ap_entry_c;
    57 class eap_rogue_ap_entry_c;
    35 class eap_base_type_c;
    58 class eap_base_type_c;
    36 
    59 
    37 
    60 
    38 /// The abs_eapol_core_c class defines the interface the eapol_core_c class
    61 /// The abs_eapol_core_c class defines the interface the eapol_core_c class
    39 /// will use with the partner class.
    62 /// will use with the partner class.
    40 /// Later eapol and ethernet could be integrated. Now I am too lazy.
    63 /// Later eapol and ethernet could be integrated. Now I am too lazy.
    41 class EAP_EXPORT abs_eapol_core_c
    64 class EAP_CLASS_VISIBILITY_ABS_EAPOL_CORE_H abs_eapol_core_c
    42 #if defined(USE_EAP_SIMPLE_CONFIG)
    65 #if defined(USE_EAP_SIMPLE_CONFIG)
    43 : public abs_eap_configuration_if_c
    66 : public abs_eap_configuration_if_c
    44 #endif // #if defined(USE_EAP_SIMPLE_CONFIG)
    67 #endif // #if defined(USE_EAP_SIMPLE_CONFIG)
    45 {
    68 {
    46 private:
    69 private: