wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/abs_wlan_eapol_callback.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Callback interface from WLM server to eapol_handler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef ABS_WLAN_EAPOL_CALLBACK_H
       
    20 #define ABS_WLAN_EAPOL_CALLBACK_H
       
    21 
       
    22 #include "am_platform_libraries.h"
       
    23 
       
    24 /**
       
    25  * Abstract adaptation layer interface for eapol callbacks.
       
    26  *
       
    27  * @since S60 v3.2
       
    28  */
       
    29 class abs_wlan_eapol_callback_c
       
    30     {
       
    31 public:
       
    32 
       
    33     /**
       
    34      * Destructor.
       
    35      */
       
    36     virtual ~abs_wlan_eapol_callback_c() {};
       
    37 
       
    38     /**
       
    39      * Callback interface to partner.
       
    40      *
       
    41      * @since S60 v3.2
       
    42      * @param data Pointer to the data to be sent.
       
    43      * @param length Length of the data to be sent.
       
    44      * @return Return value is specified in interface specification.
       
    45      */
       
    46     virtual u32_t send_data(
       
    47         const void * const data, 
       
    48         const u32_t length ) = 0;
       
    49 
       
    50     };
       
    51 
       
    52 #endif // ABS_WLAN_EAPOL_CALLBACK_H