eapol/eapol_framework/eapol_common/type/radius/include/eap_radius_state_notification.h
--- a/eapol/eapol_framework/eapol_common/type/radius/include/eap_radius_state_notification.h Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/radius/include/eap_radius_state_notification.h Thu Sep 16 13:07:04 2010 +0300
@@ -24,13 +24,34 @@
#include "eap_variable_data.h"
#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H)
+ #define EAP_CLASS_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H
+ #define EAP_C_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H
+ #define EAP_FUNC_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H
+ #define EAP_C_FUNC_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H
+#elif defined(EAP_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H)
+ #define EAP_CLASS_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H
+ #define EAP_C_FUNC_EXPORT_EAP_RADIUS_STATE_NOTIFICATION_H
+#endif
+// End: added by script change_export_macros.sh.
#include "eap_protocol_layer.h"
#include "abs_eap_state_notification.h"
/// A eap_radius_state_notification_c class.
/// This is used for debugging and protocol testing.
-class EAP_EXPORT eap_radius_state_notification_c
+class EAP_CLASS_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_radius_state_notification_c
: public abs_eap_state_notification_c
{
private:
@@ -60,7 +81,7 @@
bool m_allow_send_eap_success;
- EAP_FUNC_IMPORT eap_const_string get_state_string(const u32_t state) const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_const_string get_state_string(const u32_t state) const;
//--------------------------------------------------
protected:
@@ -73,12 +94,12 @@
/**
* The destructor of the eap_radius_state_notification_c class does nothing special.
*/
- EAP_FUNC_IMPORT virtual ~eap_radius_state_notification_c();
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H virtual ~eap_radius_state_notification_c();
/**
* The constructor of the eap_radius_state_notification_c class does nothing special.
*/
- EAP_FUNC_IMPORT eap_radius_state_notification_c(
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_radius_state_notification_c(
abs_eap_am_tools_c * const tools,
const eap_am_network_id_c * const send_network_id,
bool is_client,
@@ -91,7 +112,7 @@
bool allow_send_eap_success);
- EAP_FUNC_IMPORT eap_radius_state_notification_c(
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_radius_state_notification_c(
abs_eap_am_tools_c * const tools,
const eap_am_network_id_c * const send_network_id,
bool is_client,
@@ -104,7 +125,7 @@
bool allow_send_eap_success);
- EAP_FUNC_IMPORT eap_radius_state_notification_c(
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_radius_state_notification_c(
abs_eap_am_tools_c * const tools,
const eap_am_network_id_c * const send_network_id,
bool is_client,
@@ -117,48 +138,48 @@
bool allow_send_eap_success);
// This is commented in abs_eap_state_notification_c::get_send_network_id().
- EAP_FUNC_IMPORT const eap_am_network_id_c * get_send_network_id() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H const eap_am_network_id_c * get_send_network_id() const;
// This is commented in abs_eap_state_notification_c::get_protocol_layer().
- EAP_FUNC_IMPORT eap_protocol_layer_e get_protocol_layer() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_protocol_layer_e get_protocol_layer() const;
// This is commented in abs_eap_state_notification_c::get_protocol().
- EAP_FUNC_IMPORT u32_t get_protocol() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H u32_t get_protocol() const;
// This is commented in abs_eap_state_notification_c::get_eap_type().
- EAP_FUNC_IMPORT eap_type_value_e get_eap_type() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_type_value_e get_eap_type() const;
// This is commented in abs_eap_state_notification_c::get_previous_state().
- EAP_FUNC_IMPORT u32_t get_previous_state() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H u32_t get_previous_state() const;
// This is commented in abs_eap_state_notification_c::get_previous_state_string().
- EAP_FUNC_IMPORT eap_const_string get_previous_state_string() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_const_string get_previous_state_string() const;
// This is commented in abs_eap_state_notification_c::get_current_state().
- EAP_FUNC_IMPORT u32_t get_current_state() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H u32_t get_current_state() const;
// This is commented in abs_eap_state_notification_c::get_current_state_string().
- EAP_FUNC_IMPORT eap_const_string get_current_state_string() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_const_string get_current_state_string() const;
// This is commented in abs_eap_state_notification_c::get_is_client().
- EAP_FUNC_IMPORT bool get_is_client() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H bool get_is_client() const;
// This is commented in abs_eap_state_notification_c::get_eap_identifier().
- EAP_FUNC_IMPORT u8_t get_eap_identifier() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H u8_t get_eap_identifier() const;
// This is commented in abs_eap_state_notification_c::get_allow_send_eap_success().
- EAP_FUNC_IMPORT bool get_allow_send_eap_success() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H bool get_allow_send_eap_success() const;
// This is commented in abs_eap_state_notification_c::set_notification_string().
- EAP_FUNC_IMPORT eap_status_e set_notification_string(
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H eap_status_e set_notification_string(
const eap_variable_data_c * const notification_string,
const bool needs_confirmation_from_user);
// This is commented in abs_eap_state_notification_c::get_notification_string().
- EAP_FUNC_IMPORT const eap_variable_data_c * get_notification_string() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H const eap_variable_data_c * get_notification_string() const;
// This is commented in abs_eap_state_notification_c::get_needs_confirmation_from_user().
- EAP_FUNC_IMPORT bool get_needs_confirmation_from_user() const;
+ EAP_FUNC_VISIBILITY_EAP_RADIUS_STATE_NOTIFICATION_H bool get_needs_confirmation_from_user() const;
//--------------------------------------------------
}; // class eap_radius_state_notification_c