eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim_initialized.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim_initialized.cpp Thu Dec 17 08:47:43 2009 +0200
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: EAP and WLAN authentication protocols.
+*
+*/
+
+
+// This is enumeration of EAPOL source code.
+#if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
+ #undef EAP_FILE_NUMBER_ENUM
+ #define EAP_FILE_NUMBER_ENUM 79
+ #undef EAP_FILE_NUMBER_DATE
+ #define EAP_FILE_NUMBER_DATE 1127594498
+#endif //#if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
+
+
+
+#include "eap_type_gsmsim_initialized.h"
+
+
+//
+eap_type_gsmsim_initialized_c::~eap_type_gsmsim_initialized_c()
+{
+}
+
+//
+eap_type_gsmsim_initialized_c::eap_type_gsmsim_initialized_c(
+ abs_eap_am_tools_c * const tools,
+ abs_eap_type_gsmsim_state_c * const /*partner*/)
+ : m_am_tools(tools)
+ , m_counter(1u)
+{
+}
+
+u32_t eap_type_gsmsim_initialized_c::counter()
+{
+ return m_counter;
+}
+
+void eap_type_gsmsim_initialized_c::increment()
+{
+ ++m_counter;
+}
+
+//--------------------------------------------------
+
+void eap_type_gsmsim_initialized_c::reset()
+{
+ m_counter = 0u;
+}
+
+//--------------------------------------------------
+
+
+
+// End.