eapol/eapol_framework/eapol_common/include/eapol_key_state_string.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
--- a/eapol/eapol_framework/eapol_common/include/eapol_key_state_string.h	Fri Sep 17 08:30:11 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/include/eapol_key_state_string.h	Mon Oct 04 00:19:54 2010 +0300
@@ -25,6 +25,27 @@
 
 #include "eap_tools.h"
 #include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAPOL_KEY_STATE_STRING_H)
+	#define EAP_CLASS_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_NONSHARABLE 
+	#define EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H 
+	#define EAP_C_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H 
+	#define EAP_FUNC_EXPORT_EAPOL_KEY_STATE_STRING_H 
+	#define EAP_C_FUNC_EXPORT_EAPOL_KEY_STATE_STRING_H 
+#elif defined(EAP_EXPORT_EAPOL_KEY_STATE_STRING_H)
+	#define EAP_CLASS_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_EXPORT 
+	#define EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_C_FUNC_EXPORT 
+	#define EAP_FUNC_EXPORT_EAPOL_KEY_STATE_STRING_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_EXPORT_EAPOL_KEY_STATE_STRING_H EAP_C_FUNC_EXPORT 
+#else
+	#define EAP_CLASS_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_IMPORT 
+	#define EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_FUNC_IMPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H EAP_C_FUNC_IMPORT 
+	#define EAP_FUNC_EXPORT_EAPOL_KEY_STATE_STRING_H 
+	#define EAP_C_FUNC_EXPORT_EAPOL_KEY_STATE_STRING_H 
+#endif
+// End: added by script change_export_macros.sh.
 #include "eapol_rsna_key_data_header.h"
 #include "eapol_rsna_key_header.h"
 #include "eap_am_network_id.h"
@@ -34,40 +55,40 @@
 
 
 /// This class includes the debug strings of the tls_cipher_suites_e, tls_certificate_type_e and tls_compression_method_e.
-class EAP_EXPORT eapol_key_state_string_c
+class EAP_CLASS_VISIBILITY_EAPOL_KEY_STATE_STRING_H eapol_key_state_string_c
 {
 public:
 
-	EAP_FUNC_IMPORT virtual ~eapol_key_state_string_c();
+	EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H virtual ~eapol_key_state_string_c();
 
-	EAP_FUNC_IMPORT eapol_key_state_string_c();
+	EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H eapol_key_state_string_c();
 
 	/**
 	 * Function returns string of eapol_key_state_e.
 	 * @param state is the queried string.
 	 */
-	EAP_FUNC_IMPORT static eap_const_string get_eapol_key_state_string(
+	EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H static eap_const_string get_eapol_key_state_string(
 		const eapol_key_state_e state);
 
 	/**
 	 * Function returns string of eapol_key_handshake_type_e.
 	 * @param state is the queried string.
 	 */
-	EAP_FUNC_IMPORT static eap_const_string get_eapol_key_handshake_type_string(
+	EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H static eap_const_string get_eapol_key_handshake_type_string(
 		const eapol_key_handshake_type_e handshake_type);
 
 	/**
 	 * Function returns string of eapol_key_handshake_type_e.
 	 * @param state is the queried string.
 	 */
-	EAP_FUNC_IMPORT static eap_const_string get_eapol_key_authentication_type_string(
+	EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H static eap_const_string get_eapol_key_authentication_type_string(
 		const eapol_key_authentication_type_e authentication_type);
 
 	/**
 	 * Function returns string of eapol_key_descriptor_type_e.
 	 * @param state is the queried string.
 	 */
-	EAP_FUNC_IMPORT static eap_const_string get_eapol_key_descriptor_type_string(
+	EAP_FUNC_VISIBILITY_EAPOL_KEY_STATE_STRING_H static eap_const_string get_eapol_key_descriptor_type_string(
 		const eapol_key_descriptor_type_e key_descriptor_type);
 
 };