26
|
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_STACK_H_)
|
|
23 |
#define _ABS_EAP_AM_STACK_H_
|
|
24 |
|
|
25 |
#include "eap_tools.h"
|
|
26 |
#include "eap_status.h"
|
|
27 |
#include "eap_am_export.h"
|
49
|
28 |
// Start: added by script change_export_macros.sh.
|
|
29 |
#if defined(EAP_NO_EXPORT_ABS_EAP_AM_STACK_H)
|
|
30 |
#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_STACK_H EAP_NONSHARABLE
|
|
31 |
#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_STACK_H
|
|
32 |
#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_STACK_H
|
|
33 |
#define EAP_FUNC_EXPORT_ABS_EAP_AM_STACK_H
|
|
34 |
#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_STACK_H
|
|
35 |
#elif defined(EAP_EXPORT_ABS_EAP_AM_STACK_H)
|
|
36 |
#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_STACK_H EAP_EXPORT
|
|
37 |
#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_STACK_H EAP_FUNC_EXPORT
|
|
38 |
#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_STACK_H EAP_C_FUNC_EXPORT
|
|
39 |
#define EAP_FUNC_EXPORT_ABS_EAP_AM_STACK_H EAP_FUNC_EXPORT
|
|
40 |
#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_STACK_H EAP_C_FUNC_EXPORT
|
|
41 |
#else
|
|
42 |
#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_STACK_H EAP_IMPORT
|
|
43 |
#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_STACK_H EAP_FUNC_IMPORT
|
|
44 |
#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_STACK_H EAP_C_FUNC_IMPORT
|
|
45 |
#define EAP_FUNC_EXPORT_ABS_EAP_AM_STACK_H
|
|
46 |
#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_STACK_H
|
|
47 |
#endif
|
|
48 |
// End: added by script change_export_macros.sh.
|
26
|
49 |
#include "eap_expanded_type.h"
|
|
50 |
#include "eap_array.h"
|
|
51 |
|
|
52 |
class abs_eap_am_message_if_c;
|
|
53 |
class eap_configuration_field_c;
|
|
54 |
class eap_variable_data_c;
|
|
55 |
class abs_eap_am_tools_c;
|
|
56 |
class abs_eap_base_type_c;
|
|
57 |
class eap_base_type_c;
|
|
58 |
class eap_am_network_id_c;
|
|
59 |
|
|
60 |
/** @file */
|
|
61 |
|
|
62 |
/// This class is the common part of EAP message interface.
|
|
63 |
/// This class is interface to the message creation and parsing function.
|
49
|
64 |
class EAP_CLASS_VISIBILITY_ABS_EAP_AM_STACK_H abs_eap_am_stack_c
|
26
|
65 |
{
|
|
66 |
|
|
67 |
private:
|
|
68 |
|
|
69 |
// ----------------------------------------------------------------------
|
|
70 |
|
|
71 |
public:
|
|
72 |
|
|
73 |
virtual ~abs_eap_am_stack_c()
|
|
74 |
{
|
|
75 |
}
|
|
76 |
|
|
77 |
virtual eap_status_e complete_get_802_11_authentication_mode(
|
|
78 |
const eap_status_e completion_status,
|
|
79 |
const eap_am_network_id_c * const receive_network_id,
|
|
80 |
const eapol_key_802_11_authentication_mode_e mode) = 0;
|
|
81 |
|
|
82 |
// ----------------------------------------------------------------------
|
|
83 |
};
|
|
84 |
|
|
85 |
#endif //#if !defined(_ABS_EAP_AM_STACK_H_)
|
|
86 |
|
|
87 |
|
|
88 |
//--------------------------------------------------
|
|
89 |
// End
|