--- a/eapol/eapol_framework/eapol_common/am/include/eap_am_stack.h Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/am/include/eap_am_stack.h Thu Sep 16 13:07:04 2010 +0300
@@ -25,6 +25,27 @@
#include "eap_tools.h"
#include "eap_status.h"
#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_AM_STACK_H)
+ #define EAP_CLASS_VISIBILITY_EAP_AM_STACK_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_EAP_AM_STACK_H
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_H
+ #define EAP_FUNC_EXPORT_EAP_AM_STACK_H
+ #define EAP_C_FUNC_EXPORT_EAP_AM_STACK_H
+#elif defined(EAP_EXPORT_EAP_AM_STACK_H)
+ #define EAP_CLASS_VISIBILITY_EAP_AM_STACK_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_EAP_AM_STACK_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_EAP_AM_STACK_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_EAP_AM_STACK_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_EAP_AM_STACK_H
+ #define EAP_C_FUNC_EXPORT_EAP_AM_STACK_H
+#endif
+// End: added by script change_export_macros.sh.
#include "eap_expanded_type.h"
#include "eap_array.h"
#include "eap_database_reference_if.h"
@@ -44,7 +65,7 @@
/// This class is the common part of EAP message interface.
/// This class is interface to the message creation and parsing function.
-class EAP_EXPORT eap_am_stack_c
+class EAP_CLASS_VISIBILITY_EAP_AM_STACK_H eap_am_stack_c
: public eap_database_reference_if_c
{
@@ -109,7 +130,7 @@
// ----------------------------------------------------------------------
};
-EAP_FUNC_IMPORT eap_am_stack_c * new_eap_am_stack_c(
+EAP_FUNC_VISIBILITY_EAP_AM_STACK_H eap_am_stack_c * new_eap_am_stack_c(
abs_eap_am_tools_c * const tools,
const bool is_client_when_true);