eapol/eapol_framework/eapol_common/type/tls_peap/eap/include/eap_type_tls_peap_state_notification.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    22 #if !defined(_EAP_TLS_PEAP_STATE_NOTIFICATION_H_)
    22 #if !defined(_EAP_TLS_PEAP_STATE_NOTIFICATION_H_)
    23 #define _EAP_TLS_PEAP_STATE_NOTIFICATION_H_
    23 #define _EAP_TLS_PEAP_STATE_NOTIFICATION_H_
    24 
    24 
    25 #include "eap_variable_data.h"
    25 #include "eap_variable_data.h"
    26 #include "eap_am_export.h"
    26 #include "eap_am_export.h"
       
    27 // Start: added by script change_export_macros.sh.
       
    28 #if defined(EAP_NO_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H)
       
    29 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_NONSHARABLE 
       
    30 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H 
       
    31 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H 
       
    32 	#define EAP_FUNC_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H 
       
    33 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H 
       
    34 #elif defined(EAP_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H)
       
    35 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_EXPORT 
       
    36 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_FUNC_EXPORT 
       
    37 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT 
       
    38 	#define EAP_FUNC_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_FUNC_EXPORT 
       
    39 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT 
       
    40 #else
       
    41 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_IMPORT 
       
    42 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_FUNC_IMPORT 
       
    43 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H EAP_C_FUNC_IMPORT 
       
    44 	#define EAP_FUNC_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H 
       
    45 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H 
       
    46 #endif
       
    47 // End: added by script change_export_macros.sh.
    27 #include "eap_protocol_layer.h"
    48 #include "eap_protocol_layer.h"
    28 #include "eap_state_notification.h"
    49 #include "eap_state_notification.h"
    29 
    50 
    30 
    51 
    31 /// A eap_type_tls_peap_state_notification_c class.
    52 /// A eap_type_tls_peap_state_notification_c class.
    32 /// This is used for debugging and protocol testing.
    53 /// This is used for debugging and protocol testing.
    33 class EAP_EXPORT eap_type_tls_peap_state_notification_c
    54 class EAP_CLASS_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H eap_type_tls_peap_state_notification_c
    34 : public eap_state_notification_c
    55 : public eap_state_notification_c
    35 {
    56 {
    36 private:
    57 private:
    37 	//--------------------------------------------------
    58 	//--------------------------------------------------
    38 
    59 
    45 	//--------------------------------------------------
    66 	//--------------------------------------------------
    46 
    67 
    47 	/**
    68 	/**
    48 	 * The destructor of the eap_type_tls_peap_state_notification_c class does nothing special.
    69 	 * The destructor of the eap_type_tls_peap_state_notification_c class does nothing special.
    49 	 */
    70 	 */
    50 	EAP_FUNC_IMPORT virtual ~eap_type_tls_peap_state_notification_c();
    71 	EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H virtual ~eap_type_tls_peap_state_notification_c();
    51 
    72 
    52 	/**
    73 	/**
    53 	 * The constructor of the eap_type_tls_peap_state_notification_c class does nothing special.
    74 	 * The constructor of the eap_type_tls_peap_state_notification_c class does nothing special.
    54 	 */
    75 	 */
    55 	EAP_FUNC_IMPORT eap_type_tls_peap_state_notification_c(
    76 	EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H eap_type_tls_peap_state_notification_c(
    56 		abs_eap_am_tools_c * const tools,
    77 		abs_eap_am_tools_c * const tools,
    57 		const eap_am_network_id_c * const send_network_id,
    78 		const eap_am_network_id_c * const send_network_id,
    58 		bool is_client,
    79 		bool is_client,
    59 		eap_state_notification_generic_e,
    80 		eap_state_notification_generic_e,
    60 		eap_protocol_layer_e layer,
    81 		eap_protocol_layer_e layer,
    63 		u32_t current_state,
    84 		u32_t current_state,
    64 		u8_t eap_identifier,
    85 		u8_t eap_identifier,
    65 		bool allow_send_eap_success);
    86 		bool allow_send_eap_success);
    66 
    87 
    67 
    88 
    68 	EAP_FUNC_IMPORT eap_type_tls_peap_state_notification_c(
    89 	EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H eap_type_tls_peap_state_notification_c(
    69 		abs_eap_am_tools_c * const tools,
    90 		abs_eap_am_tools_c * const tools,
    70 		const eap_am_network_id_c * const send_network_id,
    91 		const eap_am_network_id_c * const send_network_id,
    71 		bool is_client,
    92 		bool is_client,
    72 		eap_state_notification_eap_e,
    93 		eap_state_notification_eap_e,
    73 		eap_protocol_layer_e layer,
    94 		eap_protocol_layer_e layer,
    76 		u32_t current_state,
    97 		u32_t current_state,
    77 		u8_t eap_identifier,
    98 		u8_t eap_identifier,
    78 		bool allow_send_eap_success);
    99 		bool allow_send_eap_success);
    79 
   100 
    80 
   101 
    81 	EAP_FUNC_IMPORT eap_type_tls_peap_state_notification_c(
   102 	EAP_FUNC_VISIBILITY_EAP_TYPE_TLS_PEAP_STATE_NOTIFICATION_H eap_type_tls_peap_state_notification_c(
    82 		abs_eap_am_tools_c * const tools,
   103 		abs_eap_am_tools_c * const tools,
    83 		const eap_am_network_id_c * const send_network_id,
   104 		const eap_am_network_id_c * const send_network_id,
    84 		bool is_client,
   105 		bool is_client,
    85 		eap_state_notification_eap_e,
   106 		eap_state_notification_eap_e,
    86 		eap_protocol_layer_e layer,
   107 		eap_protocol_layer_e layer,