eapol/eapol_framework/eapol_common/include/abs_eap_stack_interface.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    21 
    21 
    22 #if !defined(_ABS_EAP_STACK_INTERFACE_H_)
    22 #if !defined(_ABS_EAP_STACK_INTERFACE_H_)
    23 #define _ABS_EAP_STACK_INTERFACE_H_
    23 #define _ABS_EAP_STACK_INTERFACE_H_
    24 
    24 
    25 #include "eap_am_export.h"
    25 #include "eap_am_export.h"
       
    26 // Start: added by script change_export_macros.sh.
       
    27 #if defined(EAP_NO_EXPORT_ABS_EAP_STACK_INTERFACE_H)
       
    28 	#define EAP_CLASS_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_NONSHARABLE 
       
    29 	#define EAP_FUNC_VISIBILITY_ABS_EAP_STACK_INTERFACE_H 
       
    30 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_STACK_INTERFACE_H 
       
    31 	#define EAP_FUNC_EXPORT_ABS_EAP_STACK_INTERFACE_H 
       
    32 	#define EAP_C_FUNC_EXPORT_ABS_EAP_STACK_INTERFACE_H 
       
    33 #elif defined(EAP_EXPORT_ABS_EAP_STACK_INTERFACE_H)
       
    34 	#define EAP_CLASS_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_EXPORT 
       
    35 	#define EAP_FUNC_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_FUNC_EXPORT 
       
    36 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_C_FUNC_EXPORT 
       
    37 	#define EAP_FUNC_EXPORT_ABS_EAP_STACK_INTERFACE_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_EXPORT_ABS_EAP_STACK_INTERFACE_H EAP_C_FUNC_EXPORT 
       
    39 #else
       
    40 	#define EAP_CLASS_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_IMPORT 
       
    41 	#define EAP_FUNC_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_FUNC_IMPORT 
       
    42 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_STACK_INTERFACE_H EAP_C_FUNC_IMPORT 
       
    43 	#define EAP_FUNC_EXPORT_ABS_EAP_STACK_INTERFACE_H 
       
    44 	#define EAP_C_FUNC_EXPORT_ABS_EAP_STACK_INTERFACE_H 
       
    45 #endif
       
    46 // End: added by script change_export_macros.sh.
    26 
    47 
    27 class eap_am_network_id_c;
    48 class eap_am_network_id_c;
    28 class eap_general_header_base_c;
    49 class eap_general_header_base_c;
    29 
    50 
    30 
    51 
    31 /// The abs_eap_stack_interface_c class declares common pure virtual functions 
    52 /// The abs_eap_stack_interface_c class declares common pure virtual functions 
    32 /// a lower layer class of EAP-stack could call from upper layer class.
    53 /// a lower layer class of EAP-stack could call from upper layer class.
    33 /// Main purpose of this interface is documenting those functions.
    54 /// Main purpose of this interface is documenting those functions.
    34 /// Note the each interface could include other functions too.
    55 /// Note the each interface could include other functions too.
    35 /// Those are defined in each individual interface.
    56 /// Those are defined in each individual interface.
    36 class EAP_EXPORT abs_eap_stack_interface_c
    57 class EAP_CLASS_VISIBILITY_ABS_EAP_STACK_INTERFACE_H abs_eap_stack_interface_c
    37 {
    58 {
    38 private:
    59 private:
    39 	//--------------------------------------------------
    60 	//--------------------------------------------------
    40 
    61 
    41 	/**
    62 	/**