eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim_initialized.cpp
equal
deleted
inserted
replaced
|
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 79 |
|
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 |
|
29 #include "eap_type_gsmsim_initialized.h" |
|
30 |
|
31 |
|
32 // |
|
33 eap_type_gsmsim_initialized_c::~eap_type_gsmsim_initialized_c() |
|
34 { |
|
35 } |
|
36 |
|
37 // |
|
38 eap_type_gsmsim_initialized_c::eap_type_gsmsim_initialized_c( |
|
39 abs_eap_am_tools_c * const tools, |
|
40 abs_eap_type_gsmsim_state_c * const /*partner*/) |
|
41 : m_am_tools(tools) |
|
42 , m_counter(1u) |
|
43 { |
|
44 } |
|
45 |
|
46 u32_t eap_type_gsmsim_initialized_c::counter() |
|
47 { |
|
48 return m_counter; |
|
49 } |
|
50 |
|
51 void eap_type_gsmsim_initialized_c::increment() |
|
52 { |
|
53 ++m_counter; |
|
54 } |
|
55 |
|
56 //-------------------------------------------------- |
|
57 |
|
58 void eap_type_gsmsim_initialized_c::reset() |
|
59 { |
|
60 m_counter = 0u; |
|
61 } |
|
62 |
|
63 //-------------------------------------------------- |
|
64 |
|
65 |
|
66 |
|
67 // End. |