14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: % |
19 * %version: 9 % |
20 */ |
20 */ |
21 |
21 |
22 #if !defined(_EAP_AM_PAC_STORE_H_) |
22 #if !defined(_EAP_AM_PAC_STORE_H_) |
23 #define _EAP_AM_PAC_STORE_H_ |
23 #define _EAP_AM_PAC_STORE_H_ |
24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.h" |
26 #include "eap_status.h" |
26 #include "eap_status.h" |
27 #include "eap_am_export.h" |
27 #include "eap_am_export.h" |
|
28 // Start: added by script change_export_macros.sh. |
|
29 #if defined(EAP_NO_EXPORT_EAP_AM_PAC_STORE_H) |
|
30 #define EAP_CLASS_VISIBILITY_EAP_AM_PAC_STORE_H EAP_NONSHARABLE |
|
31 #define EAP_FUNC_VISIBILITY_EAP_AM_PAC_STORE_H |
|
32 #define EAP_C_FUNC_VISIBILITY_EAP_AM_PAC_STORE_H |
|
33 #define EAP_FUNC_EXPORT_EAP_AM_PAC_STORE_H |
|
34 #define EAP_C_FUNC_EXPORT_EAP_AM_PAC_STORE_H |
|
35 #elif defined(EAP_EXPORT_EAP_AM_PAC_STORE_H) |
|
36 #define EAP_CLASS_VISIBILITY_EAP_AM_PAC_STORE_H EAP_EXPORT |
|
37 #define EAP_FUNC_VISIBILITY_EAP_AM_PAC_STORE_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_VISIBILITY_EAP_AM_PAC_STORE_H EAP_C_FUNC_EXPORT |
|
39 #define EAP_FUNC_EXPORT_EAP_AM_PAC_STORE_H EAP_FUNC_EXPORT |
|
40 #define EAP_C_FUNC_EXPORT_EAP_AM_PAC_STORE_H EAP_C_FUNC_EXPORT |
|
41 #else |
|
42 #define EAP_CLASS_VISIBILITY_EAP_AM_PAC_STORE_H EAP_IMPORT |
|
43 #define EAP_FUNC_VISIBILITY_EAP_AM_PAC_STORE_H EAP_FUNC_IMPORT |
|
44 #define EAP_C_FUNC_VISIBILITY_EAP_AM_PAC_STORE_H EAP_C_FUNC_IMPORT |
|
45 #define EAP_FUNC_EXPORT_EAP_AM_PAC_STORE_H |
|
46 #define EAP_C_FUNC_EXPORT_EAP_AM_PAC_STORE_H |
|
47 #endif |
|
48 // End: added by script change_export_macros.sh. |
28 #include "eap_expanded_type.h" |
49 #include "eap_expanded_type.h" |
29 #include "eap_array.h" |
50 #include "eap_array.h" |
30 #include "eap_database_reference_if.h" |
51 #include "eap_database_reference_if.h" |
31 |
52 |
32 class eap_method_settings_c; |
53 class eap_method_settings_c; |
54 // This is documented in abs_eap_stack_interface_c::configure(). |
75 // This is documented in abs_eap_stack_interface_c::configure(). |
55 virtual eap_status_e configure() = 0; |
76 virtual eap_status_e configure() = 0; |
56 |
77 |
57 // This is documented in abs_eap_stack_interface_c::shutdown(). |
78 // This is documented in abs_eap_stack_interface_c::shutdown(). |
58 virtual eap_status_e shutdown() = 0; |
79 virtual eap_status_e shutdown() = 0; |
59 |
|
60 virtual eap_status_e open_pac_store() = 0; |
|
61 |
|
62 virtual eap_status_e create_device_seed() = 0; |
|
63 |
80 |
64 virtual eap_status_e is_master_key_present() = 0; |
81 virtual eap_status_e is_master_key_present() = 0; |
65 |
82 |
66 virtual eap_status_e is_master_key_and_password_matching( |
83 virtual eap_status_e is_master_key_and_password_matching( |
67 const eap_variable_data_c * const pac_store_password) = 0; |
84 const eap_variable_data_c * const pac_store_password) = 0; |