eapol/eapol_framework/eapol_common/include/eap_status_string.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    27 #include "eap_am_compiler_flags.h"
    27 #include "eap_am_compiler_flags.h"
    28 
    28 
    29 #include "eap_variable_data.h"
    29 #include "eap_variable_data.h"
    30 #include "eap_status.h"
    30 #include "eap_status.h"
    31 #include "eap_am_export.h"
    31 #include "eap_am_export.h"
       
    32 // Start: added by script change_export_macros.sh.
       
    33 #if defined(EAP_NO_EXPORT_EAP_STATUS_STRING_H)
       
    34 	#define EAP_CLASS_VISIBILITY_EAP_STATUS_STRING_H EAP_NONSHARABLE 
       
    35 	#define EAP_FUNC_VISIBILITY_EAP_STATUS_STRING_H 
       
    36 	#define EAP_C_FUNC_VISIBILITY_EAP_STATUS_STRING_H 
       
    37 	#define EAP_FUNC_EXPORT_EAP_STATUS_STRING_H 
       
    38 	#define EAP_C_FUNC_EXPORT_EAP_STATUS_STRING_H 
       
    39 #elif defined(EAP_EXPORT_EAP_STATUS_STRING_H)
       
    40 	#define EAP_CLASS_VISIBILITY_EAP_STATUS_STRING_H EAP_EXPORT 
       
    41 	#define EAP_FUNC_VISIBILITY_EAP_STATUS_STRING_H EAP_FUNC_EXPORT 
       
    42 	#define EAP_C_FUNC_VISIBILITY_EAP_STATUS_STRING_H EAP_C_FUNC_EXPORT 
       
    43 	#define EAP_FUNC_EXPORT_EAP_STATUS_STRING_H EAP_FUNC_EXPORT 
       
    44 	#define EAP_C_FUNC_EXPORT_EAP_STATUS_STRING_H EAP_C_FUNC_EXPORT 
       
    45 #else
       
    46 	#define EAP_CLASS_VISIBILITY_EAP_STATUS_STRING_H EAP_IMPORT 
       
    47 	#define EAP_FUNC_VISIBILITY_EAP_STATUS_STRING_H EAP_FUNC_IMPORT 
       
    48 	#define EAP_C_FUNC_VISIBILITY_EAP_STATUS_STRING_H EAP_C_FUNC_IMPORT 
       
    49 	#define EAP_FUNC_EXPORT_EAP_STATUS_STRING_H 
       
    50 	#define EAP_C_FUNC_EXPORT_EAP_STATUS_STRING_H 
       
    51 #endif
       
    52 // End: added by script change_export_macros.sh.
    32 
    53 
    33 //----------------------------------------------------------------------------------
    54 //----------------------------------------------------------------------------------
    34 
    55 
    35 /// This class includes the debug strings of the eap_status_e.
    56 /// This class includes the debug strings of the eap_status_e.
    36 class EAP_EXPORT eap_status_string_c
    57 class EAP_CLASS_VISIBILITY_EAP_STATUS_STRING_H eap_status_string_c
    37 {
    58 {
    38 public:
    59 public:
    39 
    60 
    40 	EAP_FUNC_IMPORT virtual ~eap_status_string_c();
    61 	EAP_FUNC_VISIBILITY_EAP_STATUS_STRING_H virtual ~eap_status_string_c();
    41 
    62 
    42 	EAP_FUNC_IMPORT eap_status_string_c();
    63 	EAP_FUNC_VISIBILITY_EAP_STATUS_STRING_H eap_status_string_c();
    43 
    64 
    44 	/**
    65 	/**
    45 	 * Function returns string of eap_status_e.
    66 	 * Function returns string of eap_status_e.
    46 	 * @param status is the queried string.
    67 	 * @param status is the queried string.
    47 	 */
    68 	 */
    48 	EAP_FUNC_IMPORT static eap_const_string get_status_string(const eap_status_e status);
    69 	EAP_FUNC_VISIBILITY_EAP_STATUS_STRING_H static eap_const_string get_status_string(const eap_status_e status);
    49 
    70 
    50 };
    71 };
    51 
    72 
    52 //----------------------------------------------------------------------------------
    73 //----------------------------------------------------------------------------------
    53 
    74