eapol/eapol_framework/eapol_common/type/securid/include/eap_type_securid_state.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    21 
    21 
    22 #ifndef EAP_TYPE_SECURID_STATE_H
    22 #ifndef EAP_TYPE_SECURID_STATE_H
    23 #define EAP_TYPE_SECURID_STATE_H
    23 #define EAP_TYPE_SECURID_STATE_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_EAP_TYPE_SECURID_STATE_H)
       
    28 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_NONSHARABLE 
       
    29 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_SECURID_STATE_H 
       
    30 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_SECURID_STATE_H 
       
    31 	#define EAP_FUNC_EXPORT_EAP_TYPE_SECURID_STATE_H 
       
    32 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_SECURID_STATE_H 
       
    33 #elif defined(EAP_EXPORT_EAP_TYPE_SECURID_STATE_H)
       
    34 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_EXPORT 
       
    35 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_FUNC_EXPORT 
       
    36 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_C_FUNC_EXPORT 
       
    37 	#define EAP_FUNC_EXPORT_EAP_TYPE_SECURID_STATE_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_SECURID_STATE_H EAP_C_FUNC_EXPORT 
       
    39 #else
       
    40 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_IMPORT 
       
    41 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_FUNC_IMPORT 
       
    42 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_SECURID_STATE_H EAP_C_FUNC_IMPORT 
       
    43 	#define EAP_FUNC_EXPORT_EAP_TYPE_SECURID_STATE_H 
       
    44 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_SECURID_STATE_H 
       
    45 #endif
       
    46 // End: added by script change_export_macros.sh.
    26 
    47 
    27 /**
    48 /**
    28  * This is the internal state of the SecurId and GTC EAP type.
    49  * This is the internal state of the SecurId and GTC EAP type.
    29  */
    50  */
    30 enum eap_type_securid_state_variable_e
    51 enum eap_type_securid_state_variable_e
    44 
    65 
    45 	eap_type_securid_state_gtc_response
    66 	eap_type_securid_state_gtc_response
    46 };
    67 };
    47 
    68 
    48 
    69 
    49 class EAP_EXPORT eap_type_securid_state_c
    70 class EAP_CLASS_VISIBILITY_EAP_TYPE_SECURID_STATE_H eap_type_securid_state_c
    50 {
    71 {
    51 private:
    72 private:
    52 
    73 
    53 	bool m_is_client;
    74 	bool m_is_client;
    54 	eap_type_securid_state_variable_e m_state;
    75 	eap_type_securid_state_variable_e m_state;