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 * %version: % |
|
20 */ |
|
21 |
|
22 #if !defined(_ABS_EAP_AM_MESSAGE_IF_H_) |
|
23 #define _ABS_EAP_AM_MESSAGE_IF_H_ |
|
24 |
|
25 #include "eap_tools.h" |
|
26 #include "eap_am_export.h" |
|
27 |
|
28 //-------------------------------------------------- |
|
29 |
|
30 /** @file */ |
|
31 |
|
32 /// This class is abstract interface to send data messages through abstract interface. |
|
33 class EAP_EXPORT abs_eap_am_message_if_c |
|
34 { |
|
35 |
|
36 private: |
|
37 //-------------------------------------------------- |
|
38 |
|
39 //-------------------------------------------------- |
|
40 |
|
41 //-------------------------------------------------- |
|
42 public: |
|
43 //-------------------------------------------------- |
|
44 |
|
45 virtual ~abs_eap_am_message_if_c() |
|
46 { |
|
47 } |
|
48 |
|
49 /// Function sends the data message to lower layer. |
|
50 /// Data is formatted to Attribute-Value Pairs. |
|
51 /// Look at eap_tlv_header_c and eap_tlv_message_data_c. |
|
52 virtual eap_status_e send_data(const void * const data, const u32_t length) = 0; |
|
53 |
|
54 }; // class abs_eap_am_message_if_c |
|
55 |
|
56 |
|
57 #endif //#if !defined(_ABS_EAP_AM_MESSAGE_IF_H_) |
|
58 |
|
59 //-------------------------------------------------- |
|
60 |
|
61 |
|
62 // End. |
|