eapol/eapol_framework/eapol_common/core/eap_core_nak_info.cpp
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 // 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 46 
       
    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_am_memory.h"
       
    30 #include "eap_core_nak_info.h"
       
    31 
       
    32 //--------------------------------------------------
       
    33 
       
    34 //
       
    35 EAP_FUNC_EXPORT eap_core_nak_info_c::~eap_core_nak_info_c()
       
    36 {
       
    37 }
       
    38 
       
    39 //--------------------------------------------------
       
    40 
       
    41 //
       
    42 EAP_FUNC_EXPORT eap_core_nak_info_c::eap_core_nak_info_c(
       
    43 	abs_eap_am_tools_c * const tools,
       
    44 	const eap_am_network_id_c * const receive_network_id,
       
    45 	const eap_type_value_e proposed_eap_type,
       
    46 	const u8_t eap_identifier)
       
    47 		: eap_am_network_id_c(tools, receive_network_id)
       
    48 		, m_proposed_eap_type(proposed_eap_type)
       
    49 		, m_eap_identifier(eap_identifier)
       
    50 {
       
    51 }
       
    52 
       
    53 //--------------------------------------------------
       
    54 
       
    55 //
       
    56 EAP_FUNC_EXPORT eap_type_value_e eap_core_nak_info_c::get_proposed_eap_type() const
       
    57 {
       
    58 	return m_proposed_eap_type;
       
    59 }
       
    60 
       
    61 //--------------------------------------------------
       
    62 
       
    63 //
       
    64 EAP_FUNC_EXPORT u8_t eap_core_nak_info_c::get_eap_identifier() const
       
    65 {
       
    66 	return m_eap_identifier;
       
    67 }
       
    68 
       
    69 
       
    70 //--------------------------------------------------
       
    71 //--------------------------------------------------
       
    72 
       
    73 
       
    74 
       
    75 // End.