eapol/eapol_framework/eapol_common/am/include/eap_am_type_securid.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    21 
    21 
    22 #ifndef EAP_AM_TYPE_SECURID_H
    22 #ifndef EAP_AM_TYPE_SECURID_H
    23 #define EAP_AM_TYPE_SECURID_H
    23 #define EAP_AM_TYPE_SECURID_H
    24 
    24 
    25 #include "abs_eap_am_type_securid.h"
    25 #include "abs_eap_am_type_securid.h"
       
    26 #include "eap_am_export.h"
       
    27 // Start: added by script change_export_macros.sh.
       
    28 #if defined(EAP_NO_EXPORT_EAP_AM_TYPE_SECURID_H)
       
    29 	#define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_NONSHARABLE 
       
    30 	#define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H 
       
    31 	#define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H 
       
    32 	#define EAP_FUNC_EXPORT_EAP_AM_TYPE_SECURID_H 
       
    33 	#define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SECURID_H 
       
    34 #elif defined(EAP_EXPORT_EAP_AM_TYPE_SECURID_H)
       
    35 	#define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_EXPORT 
       
    36 	#define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_FUNC_EXPORT 
       
    37 	#define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_C_FUNC_EXPORT 
       
    38 	#define EAP_FUNC_EXPORT_EAP_AM_TYPE_SECURID_H EAP_FUNC_EXPORT 
       
    39 	#define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SECURID_H EAP_C_FUNC_EXPORT 
       
    40 #else
       
    41 	#define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_IMPORT 
       
    42 	#define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_FUNC_IMPORT 
       
    43 	#define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H EAP_C_FUNC_IMPORT 
       
    44 	#define EAP_FUNC_EXPORT_EAP_AM_TYPE_SECURID_H 
       
    45 	#define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SECURID_H 
       
    46 #endif
       
    47 // End: added by script change_export_macros.sh.
       
    48 
    26 
    49 
    27 /// This class is interface to adaptation module of EAP SecurID
    50 /// This class is interface to adaptation module of EAP SecurID
    28 class EAP_EXPORT eap_am_type_securid_c
    51 class EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SECURID_H eap_am_type_securid_c
    29 {
    52 {
    30 private:
    53 private:
    31 
    54 
    32 	abs_eap_am_type_securid_c *m_am_partner;
    55 	abs_eap_am_type_securid_c *m_am_partner;
    33 	abs_eap_am_tools_c *m_am_tools;
    56 	abs_eap_am_tools_c *m_am_tools;
   116 
   139 
   117 	/// This function queries unique key for memory store object of this access.
   140 	/// This function queries unique key for memory store object of this access.
   118 	virtual eap_status_e get_memory_store_key(eap_variable_data_c * const memory_store_key) = 0;
   141 	virtual eap_status_e get_memory_store_key(eap_variable_data_c * const memory_store_key) = 0;
   119 };
   142 };
   120 
   143 
   121 EAP_C_FUNC_IMPORT  eap_am_type_securid_c *new_eap_am_type_securid(
   144 EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SECURID_H  eap_am_type_securid_c *new_eap_am_type_securid(
   122 	abs_eap_am_tools_c * const tools,
   145 	abs_eap_am_tools_c * const tools,
   123 	abs_eap_base_type_c * const partner,
   146 	abs_eap_base_type_c * const partner,
   124 	const eap_type_value_e eap_type,
   147 	const eap_type_value_e eap_type,
   125 	const eap_am_network_id_c * const receive_network_id);
   148 	const eap_am_network_id_c * const receive_network_id);
   126 
   149