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_TLS_PEAP_STATE_NOTIFICATION_H) |
|
29 #define EAP_CLASS_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_NONSHARABLE |
|
30 #define EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H |
|
31 #define EAP_C_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H |
|
32 #define EAP_FUNC_EXPORT_EAP_TLS_PEAP_STATE_NOTIFICATION_H |
|
33 #define EAP_C_FUNC_EXPORT_EAP_TLS_PEAP_STATE_NOTIFICATION_H |
|
34 #elif defined(EAP_EXPORT_EAP_TLS_PEAP_STATE_NOTIFICATION_H) |
|
35 #define EAP_CLASS_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_EXPORT |
|
36 #define EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_FUNC_EXPORT |
|
37 #define EAP_C_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT |
|
38 #define EAP_FUNC_EXPORT_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_EXPORT_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT |
|
40 #else |
|
41 #define EAP_CLASS_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_IMPORT |
|
42 #define EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_FUNC_IMPORT |
|
43 #define EAP_C_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H EAP_C_FUNC_IMPORT |
|
44 #define EAP_FUNC_EXPORT_EAP_TLS_PEAP_STATE_NOTIFICATION_H |
|
45 #define EAP_C_FUNC_EXPORT_EAP_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 "abs_eap_state_notification.h" |
49 #include "abs_eap_state_notification.h" |
29 |
50 |
30 |
51 |
31 /// A eap_tls_peap_state_notification_c class. |
52 /// A eap_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_tls_peap_state_notification_c |
54 class EAP_CLASS_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H eap_tls_peap_state_notification_c |
34 : public abs_eap_state_notification_c |
55 : public abs_eap_state_notification_c |
35 { |
56 { |
36 private: |
57 private: |
37 //-------------------------------------------------- |
58 //-------------------------------------------------- |
38 |
59 |
67 //-------------------------------------------------- |
88 //-------------------------------------------------- |
68 |
89 |
69 /** |
90 /** |
70 * The destructor of the eap_tls_peap_state_notification_c class does nothing special. |
91 * The destructor of the eap_tls_peap_state_notification_c class does nothing special. |
71 */ |
92 */ |
72 EAP_FUNC_IMPORT virtual ~eap_tls_peap_state_notification_c(); |
93 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H virtual ~eap_tls_peap_state_notification_c(); |
73 |
94 |
74 /** |
95 /** |
75 * The constructor of the eap_tls_peap_state_notification_c class does nothing special. |
96 * The constructor of the eap_tls_peap_state_notification_c class does nothing special. |
76 */ |
97 */ |
77 EAP_FUNC_IMPORT eap_tls_peap_state_notification_c( |
98 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H eap_tls_peap_state_notification_c( |
78 abs_eap_am_tools_c * const tools, |
99 abs_eap_am_tools_c * const tools, |
79 const eap_am_network_id_c * const send_network_id, |
100 const eap_am_network_id_c * const send_network_id, |
80 eap_boolean_e is_client, |
101 eap_boolean_e is_client, |
81 eap_protocol_layer_e layer, |
102 eap_protocol_layer_e layer, |
82 u32_t protocol, |
103 u32_t protocol, |
84 u32_t current_state, |
105 u32_t current_state, |
85 u8_t eap_identifier, |
106 u8_t eap_identifier, |
86 eap_boolean_e allow_send_eap_success); |
107 eap_boolean_e allow_send_eap_success); |
87 |
108 |
88 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
109 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
89 EAP_FUNC_IMPORT const eap_am_network_id_c * const get_send_network_id() const; |
110 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const eap_am_network_id_c * const get_send_network_id() const; |
90 |
111 |
91 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
112 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
92 EAP_FUNC_IMPORT const eap_protocol_layer_e get_protocol_layer() const; |
113 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const eap_protocol_layer_e get_protocol_layer() const; |
93 |
114 |
94 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
115 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
95 EAP_FUNC_IMPORT const u32_t get_protocol() const; |
116 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const u32_t get_protocol() const; |
96 |
117 |
97 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
118 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
98 EAP_FUNC_IMPORT const u32_t get_previous_state() const; |
119 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const u32_t get_previous_state() const; |
99 |
120 |
100 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
121 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
101 EAP_FUNC_IMPORT const u32_t get_current_state() const; |
122 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const u32_t get_current_state() const; |
102 |
123 |
103 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
124 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
104 EAP_FUNC_IMPORT eap_const_string get_current_state_string() const; |
125 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H eap_const_string get_current_state_string() const; |
105 |
126 |
106 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
127 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
107 EAP_FUNC_IMPORT eap_const_string get_previous_state_string() const; |
128 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H eap_const_string get_previous_state_string() const; |
108 |
129 |
109 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
130 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
110 EAP_FUNC_IMPORT const eap_boolean_e get_is_client() const; |
131 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const eap_boolean_e get_is_client() const; |
111 |
132 |
112 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
133 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
113 EAP_FUNC_IMPORT const u8_t get_eap_identifier() const; |
134 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const u8_t get_eap_identifier() const; |
114 |
135 |
115 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
136 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
116 EAP_FUNC_IMPORT eap_boolean_e get_allow_send_eap_success() const; |
137 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H eap_boolean_e get_allow_send_eap_success() const; |
117 |
138 |
118 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
139 // This is commented in abs_eap_state_notification_c::set_notification_string(). |
119 EAP_FUNC_IMPORT const eap_status_e set_notification_string( |
140 EAP_FUNC_VISIBILITY_EAP_TLS_PEAP_STATE_NOTIFICATION_H const eap_status_e set_notification_string( |
120 const eap_variable_data_c * const notification_string, |
141 const eap_variable_data_c * const notification_string, |
121 const eap_boolean_e needs_confirmation_from_user); |
142 const eap_boolean_e needs_confirmation_from_user); |
122 |
143 |
123 //-------------------------------------------------- |
144 //-------------------------------------------------- |
124 }; // class eap_tls_peap_state_notification_c |
145 }; // class eap_tls_peap_state_notification_c |