eapol/eapol_framework/eapol_common/include/eap_core_retransmission.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
--- a/eapol/eapol_framework/eapol_common/include/eap_core_retransmission.h	Fri Sep 17 08:30:11 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/include/eap_core_retransmission.h	Mon Oct 04 00:19:54 2010 +0300
@@ -25,6 +25,27 @@
 //#include "eap_am_memory.h"
 #include "eap_tools.h"
 #include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_CORE_RETRANSMISSION_H)
+	#define EAP_CLASS_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_NONSHARABLE 
+	#define EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H 
+	#define EAP_C_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H 
+	#define EAP_FUNC_EXPORT_EAP_CORE_RETRANSMISSION_H 
+	#define EAP_C_FUNC_EXPORT_EAP_CORE_RETRANSMISSION_H 
+#elif defined(EAP_EXPORT_EAP_CORE_RETRANSMISSION_H)
+	#define EAP_CLASS_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_EXPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_C_FUNC_EXPORT 
+	#define EAP_FUNC_EXPORT_EAP_CORE_RETRANSMISSION_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_EXPORT_EAP_CORE_RETRANSMISSION_H EAP_C_FUNC_EXPORT 
+#else
+	#define EAP_CLASS_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_IMPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_FUNC_IMPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H EAP_C_FUNC_IMPORT 
+	#define EAP_FUNC_EXPORT_EAP_CORE_RETRANSMISSION_H 
+	#define EAP_C_FUNC_EXPORT_EAP_CORE_RETRANSMISSION_H 
+#endif
+// End: added by script change_export_macros.sh.
 #include "abs_eap_am_crypto.h"
 #include "eap_variable_data.h"
 
@@ -32,7 +53,7 @@
  * This class stores the information of re-transmission of EAP-packet.
  * @{ Add more comments. }
  */
-class EAP_EXPORT eap_core_retransmission_c
+class EAP_CLASS_VISIBILITY_EAP_CORE_RETRANSMISSION_H eap_core_retransmission_c
 {
 private:
 	
@@ -54,9 +75,9 @@
 
 public:
 
-	EAP_FUNC_IMPORT virtual ~eap_core_retransmission_c();
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H virtual ~eap_core_retransmission_c();
 
-	EAP_FUNC_IMPORT eap_core_retransmission_c(
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H eap_core_retransmission_c(
 		abs_eap_am_tools_c * const tools,
 		const eap_am_network_id_c * const send_network_id,
 		eap_buf_chain_wr_c * const sent_packet,
@@ -68,29 +89,29 @@
 		const u8_t eap_identifier,
 		const eap_type_value_e eap_type);
 
-	EAP_FUNC_IMPORT bool get_is_valid() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H bool get_is_valid() const;
 
-	EAP_FUNC_IMPORT u32_t get_next_retransmission_counter();
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u32_t get_next_retransmission_counter();
 
-	EAP_FUNC_IMPORT u32_t get_retransmission_counter() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u32_t get_retransmission_counter() const;
 
-	EAP_FUNC_IMPORT u32_t get_next_retransmission_time();
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u32_t get_next_retransmission_time();
 
-	EAP_FUNC_IMPORT eap_am_network_id_c *get_send_network_id();
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H eap_am_network_id_c *get_send_network_id();
 
-	EAP_FUNC_IMPORT eap_buf_chain_wr_c * get_sent_packet() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H eap_buf_chain_wr_c * get_sent_packet() const;
 
-	EAP_FUNC_IMPORT u32_t get_header_offset() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u32_t get_header_offset() const;
 
-	EAP_FUNC_IMPORT u32_t get_data_length() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u32_t get_data_length() const;
 
-	EAP_FUNC_IMPORT u32_t get_buffer_size() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u32_t get_buffer_size() const;
 
-	EAP_FUNC_IMPORT eap_code_value_e get_eap_code() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H eap_code_value_e get_eap_code() const;
 
-	EAP_FUNC_IMPORT u8_t get_eap_identifier() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H u8_t get_eap_identifier() const;
 
-	EAP_FUNC_IMPORT eap_type_value_e get_eap_type() const;
+	EAP_FUNC_VISIBILITY_EAP_CORE_RETRANSMISSION_H eap_type_value_e get_eap_type() const;
 };