|
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 126 |
|
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 "tls_base_record.h" |
|
31 |
|
32 //-------------------------------------------------- |
|
33 |
|
34 EAP_FUNC_EXPORT tls_base_record_c::~tls_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 tls_base_record_c::tls_base_record_c( |
|
44 abs_eap_am_tools_c * const tools /*, |
|
45 abs_tls_base_record_c * const partner */) |
|
46 : m_type_partner(0) |
|
47 , m_am_tools(tools) |
|
48 { |
|
49 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
50 // Does nothing. |
|
51 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
52 } |
|
53 |
|
54 //-------------------------------------------------- |
|
55 |
|
56 EAP_FUNC_EXPORT void tls_base_record_c::set_type_partner(abs_tls_base_record_c * const partner) |
|
57 { |
|
58 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
59 m_type_partner = partner; |
|
60 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
61 } |
|
62 |
|
63 //-------------------------------------------------- |
|
64 |
|
65 EAP_FUNC_EXPORT abs_tls_base_record_c * tls_base_record_c::get_type_partner() |
|
66 { |
|
67 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
68 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
|
69 return m_type_partner; |
|
70 } |
|
71 |
|
72 //-------------------------------------------------- |
|
73 |
|
74 |
|
75 |
|
76 // End. |