eapol/eapol_framework/eapol_common/am/include/eap_am_memory_store_data.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
--- a/eapol/eapol_framework/eapol_common/am/include/eap_am_memory_store_data.h	Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/am/include/eap_am_memory_store_data.h	Thu Sep 16 13:07:04 2010 +0300
@@ -24,6 +24,27 @@
 
 
 #include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_AM_MEMORY_STORE_DATA_H)
+	#define EAP_CLASS_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_NONSHARABLE 
+	#define EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H 
+	#define EAP_C_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H 
+	#define EAP_FUNC_EXPORT_EAP_AM_MEMORY_STORE_DATA_H 
+	#define EAP_C_FUNC_EXPORT_EAP_AM_MEMORY_STORE_DATA_H 
+#elif defined(EAP_EXPORT_EAP_AM_MEMORY_STORE_DATA_H)
+	#define EAP_CLASS_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_EXPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_C_FUNC_EXPORT 
+	#define EAP_FUNC_EXPORT_EAP_AM_MEMORY_STORE_DATA_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_EXPORT_EAP_AM_MEMORY_STORE_DATA_H EAP_C_FUNC_EXPORT 
+#else
+	#define EAP_CLASS_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_IMPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_FUNC_IMPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H EAP_C_FUNC_IMPORT 
+	#define EAP_FUNC_EXPORT_EAP_AM_MEMORY_STORE_DATA_H 
+	#define EAP_C_FUNC_EXPORT_EAP_AM_MEMORY_STORE_DATA_H 
+#endif
+// End: added by script change_export_macros.sh.
 #include "eap_tlv_message_data.h"
 
 class eap_variable_data_c;
@@ -34,7 +55,7 @@
 /**
  * Here the functions eap_core_map_c template requires.
  */
-class EAP_EXPORT eap_am_memory_store_tlv_data_c
+class EAP_CLASS_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H eap_am_memory_store_tlv_data_c
 {
 private:
 
@@ -49,43 +70,43 @@
 	/**
 	 * The destructor of the eap_am_memory_store_tlv_data_c class does nothing special.
 	 */
-	EAP_FUNC_IMPORT virtual ~eap_am_memory_store_tlv_data_c();
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H virtual ~eap_am_memory_store_tlv_data_c();
 
 	/**
 	 * The constructor of the eap_am_memory_store_tlv_data_c does nothing special.
 	 */
-	EAP_FUNC_IMPORT eap_am_memory_store_tlv_data_c(
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H eap_am_memory_store_tlv_data_c(
 		abs_eap_am_tools_c * const tools);
 
-	EAP_FUNC_IMPORT eap_status_e copy_message_data(
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H eap_status_e copy_message_data(
 		const eap_tlv_message_data_c * const tlv_data,
 		const u32_t timer_id);
 
-	EAP_FUNC_IMPORT u32_t get_timer_id() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H u32_t get_timer_id() const;
 
 	/**
 	 * This function returns the pointer to the data.
 	 * Empty message return NULL pointer.
 	 */
-	EAP_FUNC_IMPORT void * get_message_data() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H void * get_message_data() const;
 
 	/**
 	 * This function returns the length of the data.
 	 * Empty message return zero.
 	 */
-	EAP_FUNC_IMPORT u32_t get_message_data_length() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H u32_t get_message_data_length() const;
 
 	/**
 	 * This function should increase reference count.
 	 */
-	EAP_FUNC_IMPORT void object_increase_reference_count();
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H void object_increase_reference_count();
 
 	/**
 	 * This function should first decrease reference count
 	 * and second return the remaining reference count.
 	 * Reference count must not be decreased when it is zero.
 	 */
-	EAP_FUNC_IMPORT u32_t object_decrease_reference_count();
+	EAP_FUNC_VISIBILITY_EAP_AM_MEMORY_STORE_DATA_H u32_t object_decrease_reference_count();
 };
 
 #endif //#if !defined( _EAP_AM_TOOLS_MEMORY_STORE_DATA_H_ )