|
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 // This is enumeration of EAPOL source code. |
|
20 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
|
21 #undef EAP_FILE_NUMBER_ENUM |
|
22 #define EAP_FILE_NUMBER_ENUM 594 |
|
23 #undef EAP_FILE_NUMBER_DATE |
|
24 #define EAP_FILE_NUMBER_DATE 1127594498 |
|
25 #endif //#if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
|
26 |
|
27 |
|
28 #include "eap_tools.h" |
|
29 #include "eap_am_tools.h" |
|
30 #include "simple_config_base_record.h" |
|
31 |
|
32 //-------------------------------------------------- |
|
33 |
|
34 EAP_FUNC_EXPORT simple_config_base_record_c::~simple_config_base_record_c() |
|
35 { |
|
36 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
37 // Does nothing. |
|
38 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
39 } |
|
40 |
|
41 //-------------------------------------------------- |
|
42 |
|
43 EAP_FUNC_EXPORT simple_config_base_record_c::simple_config_base_record_c( |
|
44 abs_eap_am_tools_c * const tools) |
|
45 : m_type_partner(0) |
|
46 , m_am_tools(tools) |
|
47 { |
|
48 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
49 // Does nothing. |
|
50 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
51 } |
|
52 |
|
53 //-------------------------------------------------- |
|
54 |
|
55 EAP_FUNC_EXPORT void simple_config_base_record_c::set_type_partner(abs_simple_config_base_record_c * const partner) |
|
56 { |
|
57 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
58 m_type_partner = partner; |
|
59 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
60 } |
|
61 |
|
62 //-------------------------------------------------- |
|
63 |
|
64 EAP_FUNC_EXPORT abs_simple_config_base_record_c * simple_config_base_record_c::get_type_partner() |
|
65 { |
|
66 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
67 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
68 return m_type_partner; |
|
69 } |
|
70 |
|
71 //-------------------------------------------------- |
|
72 |
|
73 |
|
74 |
|
75 // End. |