eapol/eapol_framework/eapol_common/am/include/abs_eap_am_sim_algorithm.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    25 #include "eap_tools.h"
    25 #include "eap_tools.h"
    26 #include "eap_variable_data.h"
    26 #include "eap_variable_data.h"
    27 #include "abs_eap_am_tools.h"
    27 #include "abs_eap_am_tools.h"
    28 #include "eap_am_tools.h"
    28 #include "eap_am_tools.h"
    29 #include "eap_am_export.h"
    29 #include "eap_am_export.h"
       
    30 // Start: added by script change_export_macros.sh.
       
    31 #if defined(EAP_NO_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H)
       
    32 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_NONSHARABLE 
       
    33 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H 
       
    34 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H 
       
    35 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H 
       
    36 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H 
       
    37 #elif defined(EAP_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H)
       
    38 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_EXPORT 
       
    39 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_C_FUNC_EXPORT 
       
    41 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H EAP_FUNC_EXPORT 
       
    42 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H EAP_C_FUNC_EXPORT 
       
    43 #else
       
    44 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_IMPORT 
       
    45 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_FUNC_IMPORT 
       
    46 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H EAP_C_FUNC_IMPORT 
       
    47 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H 
       
    48 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_SIM_ALGORITHM_H 
       
    49 #endif
       
    50 // End: added by script change_export_macros.sh.
    30 #include "eap_sim_triplets.h"
    51 #include "eap_sim_triplets.h"
    31 
    52 
    32 enum sim_algorithm_e
    53 enum sim_algorithm_e
    33 {
    54 {
    34 	sim_algorithm_none,
    55 	sim_algorithm_none,
    36 	sim_algorithm_tls_prf_with_shared_secret,
    57 	sim_algorithm_tls_prf_with_shared_secret,
    37 };
    58 };
    38 
    59 
    39 
    60 
    40 /// This class is implements Nokia test network SIM algorithm.
    61 /// This class is implements Nokia test network SIM algorithm.
    41 class EAP_EXPORT abs_eap_am_sim_algorithm_c
    62 class EAP_CLASS_VISIBILITY_ABS_EAP_AM_SIM_ALGORITHM_H abs_eap_am_sim_algorithm_c
    42 {
    63 {
    43 private:
    64 private:
    44 	//--------------------------------------------------
    65 	//--------------------------------------------------
    45 
    66 
    46 	virtual void set_is_valid() = 0;
    67 	virtual void set_is_valid() = 0;