--- a/eapol/eapol_framework/eapol_common/am/include/tls_am_services.h Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/am/include/tls_am_services.h Thu Sep 16 13:07:04 2010 +0300
@@ -25,6 +25,27 @@
#include "eap_tools.h"
#include "eap_variable_data.h"
#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_TLS_AM_SERVICES_H)
+ #define EAP_CLASS_VISIBILITY_TLS_AM_SERVICES_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_TLS_AM_SERVICES_H
+ #define EAP_C_FUNC_VISIBILITY_TLS_AM_SERVICES_H
+ #define EAP_FUNC_EXPORT_TLS_AM_SERVICES_H
+ #define EAP_C_FUNC_EXPORT_TLS_AM_SERVICES_H
+#elif defined(EAP_EXPORT_TLS_AM_SERVICES_H)
+ #define EAP_CLASS_VISIBILITY_TLS_AM_SERVICES_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_TLS_AM_SERVICES_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_TLS_AM_SERVICES_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_TLS_AM_SERVICES_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_TLS_AM_SERVICES_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_TLS_AM_SERVICES_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_TLS_AM_SERVICES_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_TLS_AM_SERVICES_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_TLS_AM_SERVICES_H
+ #define EAP_C_FUNC_EXPORT_TLS_AM_SERVICES_H
+#endif
+// End: added by script change_export_macros.sh.
#include "abs_eap_am_type_tls_peap.h"
#include "eap_am_network_id.h"
#include "eap_array.h"
@@ -38,7 +59,7 @@
/// This class is interface to adaptation module of TLS.
-class EAP_EXPORT tls_am_services_c
+class EAP_CLASS_VISIBILITY_TLS_AM_SERVICES_H tls_am_services_c
{
private:
//--------------------------------------------------
@@ -294,7 +315,7 @@
* @param tools is pointer to the abs_eap_am_tools class created by the adaptation module.
* Adaptation module of TLS will callback caller using the partner pointer.
*/
-EAP_C_FUNC_IMPORT tls_am_services_c *new_tls_am_services(
+EAP_C_FUNC_VISIBILITY_TLS_AM_SERVICES_H tls_am_services_c *new_tls_am_services(
abs_eap_am_tools_c * const tools);