21 |
21 |
22 #if !defined(_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H_) |
22 #if !defined(_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H_) |
23 #define _EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H_ |
23 #define _EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H_ |
24 |
24 |
25 #include "eap_am_export.h" |
25 #include "eap_am_export.h" |
|
26 // Start: added by script change_export_macros.sh. |
|
27 #if defined(EAP_NO_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H) |
|
28 #define EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_NONSHARABLE |
|
29 #define EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H |
|
30 #define EAP_C_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H |
|
31 #define EAP_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H |
|
32 #define EAP_C_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H |
|
33 #elif defined(EAP_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H) |
|
34 #define EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_EXPORT |
|
35 #define EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_FUNC_EXPORT |
|
36 #define EAP_C_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_C_FUNC_EXPORT |
|
37 #define EAP_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_C_FUNC_EXPORT |
|
39 #else |
|
40 #define EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_IMPORT |
|
41 #define EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_FUNC_IMPORT |
|
42 #define EAP_C_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H EAP_C_FUNC_IMPORT |
|
43 #define EAP_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H |
|
44 #define EAP_C_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H |
|
45 #endif |
|
46 // End: added by script change_export_macros.sh. |
26 #include "eapol_am_wlan_authentication.h" |
47 #include "eapol_am_wlan_authentication.h" |
27 #include "eapol_wlan_database_reference.h" |
48 #include "eapol_wlan_database_reference.h" |
28 #include "eap_am_network_id.h" |
49 #include "eap_am_network_id.h" |
29 #include "eap_array_algorithms.h" |
50 #include "eap_array_algorithms.h" |
30 |
51 |
161 //-------------------------------------------------- |
182 //-------------------------------------------------- |
162 public: |
183 public: |
163 //-------------------------------------------------- |
184 //-------------------------------------------------- |
164 |
185 |
165 // |
186 // |
166 EAP_FUNC_IMPORT virtual ~eapol_am_wlan_authentication_symbian_c(); |
187 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H virtual ~eapol_am_wlan_authentication_symbian_c(); |
167 |
188 |
168 // |
189 // |
169 EAP_FUNC_IMPORT eapol_am_wlan_authentication_symbian_c( |
190 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eapol_am_wlan_authentication_symbian_c( |
170 abs_eap_am_tools_c * const tools, |
191 abs_eap_am_tools_c * const tools, |
171 const bool is_client_when_true); |
192 const bool is_client_when_true); |
172 |
193 |
173 |
194 |
174 /// See comments of the functions from eapol_am_wlan_authentication_c. |
195 /// See comments of the functions from eapol_am_wlan_authentication_c. |
175 |
196 |
176 EAP_FUNC_IMPORT bool get_is_valid(); |
197 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H bool get_is_valid(); |
177 |
198 |
178 EAP_FUNC_IMPORT eap_status_e configure(); |
199 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e configure(); |
179 |
200 |
180 EAP_FUNC_IMPORT eap_status_e shutdown(); |
201 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e shutdown(); |
181 |
202 |
182 EAP_FUNC_IMPORT eap_status_e set_am_partner( |
203 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e set_am_partner( |
183 abs_eapol_am_wlan_authentication_c * am_partner |
204 abs_eapol_am_wlan_authentication_c * am_partner |
184 #if defined(USE_EAP_SIMPLE_CONFIG) |
205 #if defined(USE_EAP_SIMPLE_CONFIG) |
185 , abs_eap_configuration_if_c * const configuration_if |
206 , abs_eap_configuration_if_c * const configuration_if |
186 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
207 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
187 ); |
208 ); |
188 |
209 |
189 EAP_FUNC_IMPORT eap_status_e reset_wpa_configuration(); |
210 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e reset_wpa_configuration(); |
190 |
211 |
191 EAP_FUNC_IMPORT eap_status_e set_wlan_parameters( |
212 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e set_wlan_parameters( |
192 const eap_variable_data_c * const SSID, |
213 const eap_variable_data_c * const SSID, |
193 const bool WPA_override_enabled, |
214 const bool WPA_override_enabled, |
194 const eap_variable_data_c * const wpa_preshared_key, |
215 const eap_variable_data_c * const wpa_preshared_key, |
195 const eapol_key_authentication_type_e selected_eapol_key_authentication_type); |
216 const eapol_key_authentication_type_e selected_eapol_key_authentication_type); |
196 |
217 |
197 EAP_FUNC_IMPORT eap_status_e association( |
218 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e association( |
198 const eap_am_network_id_c * const receive_network_id); |
219 const eap_am_network_id_c * const receive_network_id); |
199 |
220 |
200 EAP_FUNC_IMPORT eap_status_e disassociation( |
221 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e disassociation( |
201 const eap_am_network_id_c * const receive_network_id ///< source includes remote address, destination includes local address. |
222 const eap_am_network_id_c * const receive_network_id ///< source includes remote address, destination includes local address. |
202 ); |
223 ); |
203 |
224 |
204 EAP_FUNC_IMPORT eap_status_e get_wlan_configuration( |
225 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e get_wlan_configuration( |
205 eap_variable_data_c * const wpa_preshared_key_hash); |
226 eap_variable_data_c * const wpa_preshared_key_hash); |
206 |
227 |
207 EAP_FUNC_IMPORT eap_status_e authentication_finished( |
228 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e authentication_finished( |
208 const bool when_true_successfull, |
229 const bool when_true_successfull, |
209 const eap_type_value_e eap_type, |
230 const eap_type_value_e eap_type, |
210 const eapol_key_authentication_type_e authentication_type); |
231 const eapol_key_authentication_type_e authentication_type); |
211 |
232 |
212 EAP_FUNC_IMPORT eap_status_e read_configure( |
233 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e read_configure( |
213 const eap_configuration_field_c * const field, |
234 const eap_configuration_field_c * const field, |
214 eap_variable_data_c * const data); |
235 eap_variable_data_c * const data); |
215 |
236 |
216 EAP_FUNC_IMPORT eap_status_e write_configure( |
237 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e write_configure( |
217 const eap_configuration_field_c * const field, |
238 const eap_configuration_field_c * const field, |
218 eap_variable_data_c * const data); |
239 eap_variable_data_c * const data); |
219 |
240 |
220 EAP_FUNC_IMPORT eap_status_e set_timer( |
241 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e set_timer( |
221 abs_eap_base_timer_c * const initializer, |
242 abs_eap_base_timer_c * const initializer, |
222 const u32_t id, |
243 const u32_t id, |
223 void * const data, |
244 void * const data, |
224 const u32_t p_time_ms); |
245 const u32_t p_time_ms); |
225 |
246 |
226 EAP_FUNC_IMPORT eap_status_e cancel_timer( |
247 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e cancel_timer( |
227 abs_eap_base_timer_c * const initializer, |
248 abs_eap_base_timer_c * const initializer, |
228 const u32_t id); |
249 const u32_t id); |
229 |
250 |
230 EAP_FUNC_IMPORT eap_status_e cancel_all_timers(); |
251 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e cancel_all_timers(); |
231 |
252 |
232 EAP_FUNC_IMPORT void state_notification( |
253 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H void state_notification( |
233 const abs_eap_state_notification_c * const state); |
254 const abs_eap_state_notification_c * const state); |
234 |
255 |
235 #if defined(USE_EAP_SIMPLE_CONFIG) |
256 #if defined(USE_EAP_SIMPLE_CONFIG) |
236 |
257 |
237 EAP_FUNC_IMPORT eap_status_e save_simple_config_session( |
258 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e save_simple_config_session( |
238 const simple_config_state_e state, |
259 const simple_config_state_e state, |
239 EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array, |
260 EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array, |
240 const eap_variable_data_c * const new_password, |
261 const eap_variable_data_c * const new_password, |
241 const simple_config_Device_Password_ID_e Device_Password_ID, |
262 const simple_config_Device_Password_ID_e Device_Password_ID, |
242 const simple_config_payloads_c * const other_configuration); |
263 const simple_config_payloads_c * const other_configuration); |
243 |
264 |
244 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
265 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
245 |
266 |
246 EAP_FUNC_IMPORT eap_status_e set_eap_database_reference_values( |
267 EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_SYMBIAN_H eap_status_e set_eap_database_reference_values( |
247 const eap_variable_data_c * const reference); |
268 const eap_variable_data_c * const reference); |
248 |
269 |
249 //-------------------------------------------------- |
270 //-------------------------------------------------- |
250 }; // class eapol_am_wlan_authentication_symbian_c |
271 }; // class eapol_am_wlan_authentication_symbian_c |
251 |
272 |