eapol/eapol_framework/eapol_common/type/gsmsim/include/eap_type_gsmsim_initialized.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     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 
       
    21 #if !defined(_GSMSIM_INITIALIZED_H_)
       
    22 #define _GSMSIM_INITIALIZED_H_
       
    23 
       
    24 #include "eap_tools.h"
       
    25 #include "eap_am_export.h"
       
    26 #include "eap_base_type.h"
       
    27 #include "eap_variable_data.h"
       
    28 #include "eap_type_gsmsim_header.h"
       
    29 #include "eap_type_gsmsim_types.h"
       
    30 #include "eap_type_gsmsim_payloads.h"
       
    31 #include "abs_eap_type_gsmsim_state.h"
       
    32 #include "abs_eap_am_tools.h"
       
    33 
       
    34 
       
    35 const u32_t GSMSIM_MAX_OFFER_COUNT = 3;
       
    36 
       
    37 
       
    38 class EAP_EXPORT eap_type_gsmsim_initialized_c
       
    39 {
       
    40 private:
       
    41 	//--------------------------------------------------
       
    42 
       
    43 	abs_eap_am_tools_c * const m_am_tools;
       
    44 
       
    45 	u32_t m_counter;
       
    46 
       
    47 	//--------------------------------------------------
       
    48 public:
       
    49 	//--------------------------------------------------
       
    50 
       
    51 	// 
       
    52 	virtual ~eap_type_gsmsim_initialized_c();
       
    53 
       
    54 	// 
       
    55 	eap_type_gsmsim_initialized_c(
       
    56 		abs_eap_am_tools_c * const tools,
       
    57 		abs_eap_type_gsmsim_state_c * const /*partner*/);
       
    58 
       
    59 	u32_t counter();
       
    60 
       
    61 	void increment();
       
    62 
       
    63 	void reset();
       
    64 
       
    65 };
       
    66 
       
    67 
       
    68 #endif //#if !defined(_GSMSIM_INITIALIZED_H_)
       
    69 
       
    70 //--------------------------------------------------
       
    71 
       
    72 
       
    73 
       
    74 // End.