eapol/eapol_framework/eapol_symbian/am/include/abs_eapol_am_core_symbian.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 
       
    22 #if !defined(_ABS_EAPOL_AM_CORE_SYMBIAN_H_)
       
    23 #define _ABS_EAPOL_AM_CORE_SYMBIAN_H_
       
    24 
       
    25 // DATA TYPES
       
    26 enum TEapIndication {
       
    27 	EAuthenticating,
       
    28 	ESuccess,
       
    29 	ECancelled,
       
    30 	EFailed,
       
    31 	ELogoff,
       
    32 	ENoResponse
       
    33 };
       
    34 
       
    35 // CLASS DECLARATION
       
    36 class abs_eapol_am_core_symbian_c
       
    37 {
       
    38 public:
       
    39 
       
    40 	virtual ~abs_eapol_am_core_symbian_c() {};
       
    41 	
       
    42 	virtual TInt EapPacketSend(
       
    43 		const TUint aBufferLength, 
       
    44 		const TUint8* const aBuffer) = 0;
       
    45 
       
    46 	virtual TInt EapIndication(const TEapIndication aIndication) = 0;
       
    47 
       
    48 	virtual TInt SetWepKey(
       
    49 		const TUint8* const aKeyData, 
       
    50 		const TUint aKeyLength, 
       
    51 		const TUint8 aKeyIndex) = 0;
       
    52 	
       
    53 }; 
       
    54 
       
    55 #endif //#if !defined(_ABS_EAPOL_AM_CORE_SYMBIAN_H_)
       
    56 
       
    57 //--------------------------------------------------
       
    58 
       
    59 
       
    60 
       
    61 // End.