|
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 #if !defined(_WLAN_EAP_IF_SEND_STATUS_H_) |
|
21 #define _WLAN_EAP_IF_SEND_STATUS_H_ |
|
22 |
|
23 //-------------------------------------------------- |
|
24 |
|
25 #include "eap_am_export.h" |
|
26 #include "eap_am_types.h" |
|
27 #include "eap_status.h" |
|
28 |
|
29 /** @file */ |
|
30 |
|
31 /** |
|
32 * This enumeration defines the return values of abs_eapol_message_wlan_authentication_c::send_data() function. |
|
33 */ |
|
34 enum wlan_eap_if_send_status_e |
|
35 { |
|
36 wlan_eap_if_send_status_ok, |
|
37 wlan_eap_if_send_status_pending_request, |
|
38 wlan_eap_if_send_status_allocation_error, |
|
39 wlan_eap_if_send_status_illegal_parameter, |
|
40 wlan_eap_if_send_status_process_general_error, |
|
41 wlan_eap_if_send_status_not_found, |
|
42 wlan_eap_if_send_status_success, |
|
43 wlan_eap_if_send_status_drop_packet_quietly, |
|
44 }; |
|
45 |
|
46 |
|
47 /// This class is converts the status values between wlan_eap_if_send_status_e and eap_status_e. |
|
48 class EAP_EXPORT_INTERFACE wlan_eap_if_send_status_conversion_c |
|
49 { |
|
50 |
|
51 public: |
|
52 |
|
53 EAP_FUNC_IMPORT_INTERFACE static wlan_eap_if_send_status_e convert(const eap_status_e status); |
|
54 |
|
55 EAP_FUNC_IMPORT_INTERFACE static eap_status_e convert(const wlan_eap_if_send_status_e status); |
|
56 |
|
57 }; // class abs_eapol_message_wlan_authentication_c |
|
58 |
|
59 |
|
60 #endif //#if !defined(_WLAN_EAP_IF_SEND_STATUS_H_) |
|
61 |
|
62 //-------------------------------------------------- |
|
63 |
|
64 |
|
65 // End. |