|
1 /* |
|
2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #if !defined(_ABS_EAPOL_WLAN_CONFIGURATION_REFERENCE_IF_H_) |
|
21 #define _ABS_EAPOL_WLAN_CONFIGURATION_REFERENCE_IF_H_ |
|
22 |
|
23 //-------------------------------------------------- |
|
24 |
|
25 #include "eap_am_export.h" |
|
26 #include "eap_am_types.h" |
|
27 #include "eap_status.h" |
|
28 |
|
29 #if defined(USE_EAP_SIMPLE_CONFIG) |
|
30 #include "simple_config_types.h" |
|
31 #include "simple_config_credential.h" |
|
32 #include "simple_config_payloads.h" |
|
33 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
|
34 |
|
35 |
|
36 /// This class is abstract interface to configure EAP settings. |
|
37 class EAP_EXPORT abs_eap_configuration_if_c |
|
38 { |
|
39 |
|
40 private: |
|
41 //-------------------------------------------------- |
|
42 |
|
43 //-------------------------------------------------- |
|
44 |
|
45 //-------------------------------------------------- |
|
46 public: |
|
47 //-------------------------------------------------- |
|
48 |
|
49 #if defined(USE_EAP_SIMPLE_CONFIG) |
|
50 /** |
|
51 * This function tells AM to save SIMPLE_CONFIG configuration parameters. |
|
52 * This is always syncronous call. |
|
53 */ |
|
54 virtual eap_status_e save_simple_config_session( |
|
55 const simple_config_state_e state, |
|
56 EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array, |
|
57 const eap_variable_data_c * const new_password, |
|
58 const simple_config_Device_Password_ID_e Device_Password_ID, |
|
59 const simple_config_payloads_c * const other_configuration |
|
60 ) = 0; |
|
61 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
|
62 |
|
63 }; // class abs_eapol_wlan_configuration_reference_if_c |
|
64 |
|
65 |
|
66 #endif //#if !defined(_ABS_EAPOL_WLAN_CONFIGURATION_REFERENCE_IF_H_) |
|
67 |
|
68 //-------------------------------------------------- |
|
69 |
|
70 |
|
71 // End. |