diff -r e863583e6720 -r c23bdf5a328a eapol/eapol_framework/eapol_common/type/mschapv2/include/eap_type_mschapv2_payloads.h --- a/eapol/eapol_framework/eapol_common/type/mschapv2/include/eap_type_mschapv2_payloads.h Fri Sep 17 08:30:11 2010 +0300 +++ b/eapol/eapol_framework/eapol_common/type/mschapv2/include/eap_type_mschapv2_payloads.h Mon Oct 04 00:19:54 2010 +0300 @@ -23,8 +23,31 @@ #define _MSCHAPV2_PAYLOADS_H_ #include "eap_variable_data.h" +#include "eap_am_export.h" +// Start: added by script change_export_macros.sh. +#if defined(EAP_NO_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H) + #define EAP_CLASS_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_NONSHARABLE + #define EAP_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H + #define EAP_C_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H + #define EAP_FUNC_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H + #define EAP_C_FUNC_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H +#elif defined(EAP_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H) + #define EAP_CLASS_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_EXPORT + #define EAP_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_FUNC_EXPORT + #define EAP_C_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_C_FUNC_EXPORT + #define EAP_FUNC_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_FUNC_EXPORT + #define EAP_C_FUNC_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_C_FUNC_EXPORT +#else + #define EAP_CLASS_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_IMPORT + #define EAP_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_FUNC_IMPORT + #define EAP_C_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H EAP_C_FUNC_IMPORT + #define EAP_FUNC_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H + #define EAP_C_FUNC_EXPORT_EAP_TYPE_MSCHAPV2_PAYLOADS_H +#endif +// End: added by script change_export_macros.sh. -class EAP_EXPORT mschapv2_data_c + +class EAP_CLASS_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H mschapv2_data_c { private: @@ -49,9 +72,9 @@ public: - EAP_FUNC_IMPORT ~mschapv2_data_c(); + EAP_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H ~mschapv2_data_c(); - EAP_FUNC_IMPORT mschapv2_data_c(abs_eap_am_tools_c * const tools); + EAP_FUNC_VISIBILITY_EAP_TYPE_MSCHAPV2_PAYLOADS_H mschapv2_data_c(abs_eap_am_tools_c * const tools); eap_boolean_e get_password_prompt_enabled() const;