--- a/eapol/eapol_framework/eapol_common/am/include/eap_am_type_simple_config.h Fri Sep 17 08:30:11 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/am/include/eap_am_type_simple_config.h Mon Oct 04 00:19:54 2010 +0300
@@ -26,6 +26,27 @@
#include "eap_variable_data.h"
#include "eap_header.h"
#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H)
+ #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H
+ #define EAP_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H
+ #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H
+#elif defined(EAP_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H)
+ #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H
+ #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H
+#endif
+// End: added by script change_export_macros.sh.
#include "abs_eap_am_type_simple_config.h"
#include "eap_am_network_id.h"
#include "simple_config_am_services.h"
@@ -36,7 +57,7 @@
class abs_eap_configuration_if_c;
/// This class is interface to adaptation module of EAP/SIMPLE_CONFIG.
-class EAP_EXPORT eap_am_type_simple_config_c
+class EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H eap_am_type_simple_config_c
: public simple_config_am_services_c
{
private:
@@ -189,7 +210,7 @@
* @param tools is pointer to the abs_eap_am_tools class created by the adaptation module.
* EAP-SIMPLE_CONFIG-type will callback caller using the partner pointer.
*/
-EAP_C_FUNC_IMPORT eap_am_type_simple_config_c *new_eap_am_type_simple_config(
+EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H eap_am_type_simple_config_c *new_eap_am_type_simple_config(
abs_eap_am_tools_c * const tools,
abs_eap_base_type_c * const partner,
const eap_type_value_e eap_type,