eapol/eapol_framework/wapi_common/include/abs_wapi_message_wlan_authentication.h
changeset 17 8840d3e38314
equal deleted inserted replaced
2:1c7bc153c08e 17:8840d3e38314
       
     1 /*
       
     2 * ============================================================================
       
     3 *  Name        : ./accesssec/eapol/eapol_framework/wapi_common/include/abs_wapi_message_wlan_authentication.h
       
     4 *  Part of     : WAPI / WAPI       *** Info from the SWAD
       
     5 *  Description : WAPI authentication
       
     6 *  Version     : %version: 4 % << Don't touch! Updated by Synergy at check-out.
       
     7 *
       
     8 *  Copyright © 2001-2009 Nokia.  All rights reserved.
       
     9 *  This material, including documentation and any related computer
       
    10 *  programs, is protected by copyright controlled by Nokia.  All
       
    11 *  rights are reserved.  Copying, including reproducing, storing,
       
    12 *  adapting or translating, any or all of this material requires the
       
    13 *  prior written consent of Nokia.  This material also contains
       
    14 *  confidential information which may not be disclosed to others
       
    15 *  without the prior written consent of Nokia.
       
    16 * ============================================================================
       
    17 * Template version: 4.2
       
    18 */
       
    19 
       
    20 
       
    21 #if !defined(_ABS_WAPI_MESSAGE_WLAN_AUTHENTICATION_H_)
       
    22 #define _ABS_WAPI_MESSAGE_WLAN_AUTHENTICATION_H_
       
    23 
       
    24 //--------------------------------------------------
       
    25 
       
    26 #include "eap_am_export.h"
       
    27 #include "eap_am_types.h"
       
    28 #include "eap_status.h"
       
    29 #include "wlan_eap_if_send_status.h"
       
    30 
       
    31 /** @file */
       
    32 
       
    33 /// This class is abstract interface to send data messages through abstract interface.
       
    34 class EAP_EXPORT abs_wapi_message_wlan_authentication_c
       
    35 {
       
    36 
       
    37 private:
       
    38 	//--------------------------------------------------
       
    39 
       
    40 	//--------------------------------------------------
       
    41 
       
    42 	//--------------------------------------------------
       
    43 public:
       
    44 	//--------------------------------------------------
       
    45 
       
    46 	virtual ~abs_wapi_message_wlan_authentication_c()
       
    47 	{
       
    48 	}
       
    49 
       
    50 	/// Function sends the data message to lower layer.
       
    51 	/// Data is formatted to Attribute-Value Pairs.
       
    52 	/// Look at eap_tlv_header_c and eap_tlv_message_data_c.
       
    53 	virtual wlan_eap_if_send_status_e send_data(const void * const data, const u32_t length) = 0;
       
    54 
       
    55 }; // class abs_wapi_message_wlan_authentication_c
       
    56 
       
    57 
       
    58 #endif //#if !defined(_ABS_WAPI_MESSAGE_WLAN_AUTHENTICATION_H_)
       
    59 
       
    60 //--------------------------------------------------
       
    61 
       
    62 
       
    63 // End.