diff -r e863583e6720 -r c23bdf5a328a eapol/eapol_framework/eapol_common/include/eap_core_nak_info.h --- a/eapol/eapol_framework/eapol_common/include/eap_core_nak_info.h Fri Sep 17 08:30:11 2010 +0300 +++ b/eapol/eapol_framework/eapol_common/include/eap_core_nak_info.h Mon Oct 04 00:19:54 2010 +0300 @@ -24,6 +24,27 @@ #include "eap_tools.h" #include "eap_am_export.h" +// Start: added by script change_export_macros.sh. +#if defined(EAP_NO_EXPORT_EAP_CORE_NAK_INFO_H) + #define EAP_CLASS_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_NONSHARABLE + #define EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H + #define EAP_C_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H + #define EAP_FUNC_EXPORT_EAP_CORE_NAK_INFO_H + #define EAP_C_FUNC_EXPORT_EAP_CORE_NAK_INFO_H +#elif defined(EAP_EXPORT_EAP_CORE_NAK_INFO_H) + #define EAP_CLASS_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_EXPORT + #define EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_FUNC_EXPORT + #define EAP_C_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_C_FUNC_EXPORT + #define EAP_FUNC_EXPORT_EAP_CORE_NAK_INFO_H EAP_FUNC_EXPORT + #define EAP_C_FUNC_EXPORT_EAP_CORE_NAK_INFO_H EAP_C_FUNC_EXPORT +#else + #define EAP_CLASS_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_IMPORT + #define EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_FUNC_IMPORT + #define EAP_C_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_C_FUNC_IMPORT + #define EAP_FUNC_EXPORT_EAP_CORE_NAK_INFO_H + #define EAP_C_FUNC_EXPORT_EAP_CORE_NAK_INFO_H +#endif +// End: added by script change_export_macros.sh. #include "abs_eap_core.h" #include "eap_base_type.h" #include "abs_eap_base_type.h" @@ -56,7 +77,7 @@ /** * The destructor of the eap_core_nak_info_c class does nothing special. */ - EAP_FUNC_IMPORT virtual ~eap_core_nak_info_c(); + EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H virtual ~eap_core_nak_info_c(); /** * The constructor initializes member attributes using parameters passed to it. @@ -64,15 +85,15 @@ * @param send_network_id is the network identity. * @param proposed_eap_type is the proposed EAP type. */ - EAP_FUNC_IMPORT eap_core_nak_info_c( + EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H eap_core_nak_info_c( abs_eap_am_tools_c * const tools, const eap_am_network_id_c * const send_network_id, const eap_type_value_e proposed_eap_type, const u8_t eap_identifier); - EAP_FUNC_IMPORT eap_type_value_e get_proposed_eap_type() const; + EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H eap_type_value_e get_proposed_eap_type() const; - EAP_FUNC_IMPORT u8_t get_eap_identifier() const; + EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H u8_t get_eap_identifier() const; };