eapol/eapol_framework/eapol_symbian/eap_server/include/AbsEapSendInterface.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     1 /*
       
     2 * Copyright (c) 2001-2010 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 * %version: 5 %
       
    20 */
       
    21 
       
    22 #ifndef ABSEAPSENDINTERFACE_H_
       
    23 #define ABSEAPSENDINTERFACE_H_
       
    24 
       
    25 #include "eap_am_tools.h"
       
    26 #include "eap_am_export.h"
       
    27 #include "EapServerClientDef.h"
       
    28 
       
    29 class EAP_EXPORT AbsEapSendInterface
       
    30     {
       
    31 
       
    32 private:
       
    33 
       
    34 public:
       
    35 
       
    36     virtual ~AbsEapSendInterface()
       
    37         {
       
    38         }
       
    39 
       
    40     /// Function sends the data message to lower layer.
       
    41     /// Data is formatted to Attribute-Value Pairs.
       
    42     /// Look at eap_tlv_header_c and eap_tlv_message_data_c.
       
    43     virtual eap_status_e SendData(const void * const data, const u32_t length, TEapRequests message) = 0;
       
    44 
       
    45     };
       
    46 #endif /* ABSEAPSENDINTERFACE_H_ */