|
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(_EAP_TYPE_ALL_H_) |
|
21 #define _EAP_TYPE_ALL_H_ |
|
22 |
|
23 //#include "eap_am_memory.h" |
|
24 #include "eap_tools.h" |
|
25 #include "eap_am_export.h" |
|
26 #include "eap_base_type.h" |
|
27 #include "abs_eap_base_type.h" |
|
28 #include "eap_variable_data.h" |
|
29 |
|
30 class abs_eap_configuration_if_c; |
|
31 |
|
32 //-------------------------------------------------- |
|
33 |
|
34 /** @file */ |
|
35 |
|
36 /** |
|
37 * This function creates a new instance of EAP-type. |
|
38 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
|
39 * @param partner is pointer to the caller of the new_eap_type(). |
|
40 * @param type is the EAP-type that will be created. |
|
41 * |
|
42 * NOTE one module could include many EAP-types. |
|
43 * EAP-type will callback caller using the partner pointer. |
|
44 */ |
|
45 EAP_C_FUNC_IMPORT eap_base_type_c * const new_eap_type( |
|
46 abs_eap_am_tools_c * const tools, |
|
47 abs_eap_base_type_c * const partner, |
|
48 const eap_type_value_e eap_type, |
|
49 const bool is_client_when_true, |
|
50 const eap_am_network_id_c * const receive_network_id, |
|
51 abs_eap_configuration_if_c * const configuration_if); |
|
52 |
|
53 //-------------------------------------------------- |
|
54 |
|
55 #endif //#if !defined(_EAP_TYPE_ALL_H_) |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 // End. |