38 #include "eapol_wlan_database_reference.h" |
38 #include "eapol_wlan_database_reference.h" |
39 #include <EapTypePlugin.h> |
39 #include <EapTypePlugin.h> |
40 #include "eap_base_type.h" |
40 #include "eap_base_type.h" |
41 #include "abs_eap_configuration_if.h" |
41 #include "abs_eap_configuration_if.h" |
42 #include "eap_tlv_header.h" |
42 #include "eap_tlv_header.h" |
43 |
43 #include "eap_am_export.h" |
44 class EAP_EXPORT eap_am_stack_symbian_c |
44 // Start: added by script change_export_macros.sh. |
|
45 #if defined(EAP_NO_EXPORT_EAP_AM_STACK_SYMBIAN_H) |
|
46 #define EAP_CLASS_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_NONSHARABLE |
|
47 #define EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H |
|
48 #define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H |
|
49 #define EAP_FUNC_EXPORT_EAP_AM_STACK_SYMBIAN_H |
|
50 #define EAP_C_FUNC_EXPORT_EAP_AM_STACK_SYMBIAN_H |
|
51 #elif defined(EAP_EXPORT_EAP_AM_STACK_SYMBIAN_H) |
|
52 #define EAP_CLASS_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_EXPORT |
|
53 #define EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_FUNC_EXPORT |
|
54 #define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_C_FUNC_EXPORT |
|
55 #define EAP_FUNC_EXPORT_EAP_AM_STACK_SYMBIAN_H EAP_FUNC_EXPORT |
|
56 #define EAP_C_FUNC_EXPORT_EAP_AM_STACK_SYMBIAN_H EAP_C_FUNC_EXPORT |
|
57 #else |
|
58 #define EAP_CLASS_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_IMPORT |
|
59 #define EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_FUNC_IMPORT |
|
60 #define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H EAP_C_FUNC_IMPORT |
|
61 #define EAP_FUNC_EXPORT_EAP_AM_STACK_SYMBIAN_H |
|
62 #define EAP_C_FUNC_EXPORT_EAP_AM_STACK_SYMBIAN_H |
|
63 #endif |
|
64 // End: added by script change_export_macros.sh. |
|
65 |
|
66 |
|
67 class EAP_CLASS_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_am_stack_symbian_c |
45 : public CActive |
68 : public CActive |
46 , public eap_am_stack_c |
69 , public eap_am_stack_c |
47 , public abs_eap_configuration_if_c |
70 , public abs_eap_configuration_if_c |
48 { |
71 { |
49 public: |
72 public: |
50 |
73 |
51 EAP_FUNC_IMPORT eap_am_stack_symbian_c(class abs_eap_am_tools_c * tools, bool is_client_when_true); |
74 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_am_stack_symbian_c(class abs_eap_am_tools_c * tools, bool is_client_when_true); |
52 |
75 |
53 EAP_FUNC_IMPORT virtual ~eap_am_stack_symbian_c(); |
76 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H virtual ~eap_am_stack_symbian_c(); |
54 |
77 |
55 EAP_FUNC_IMPORT bool get_is_valid(); |
78 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H bool get_is_valid(); |
56 |
79 |
57 EAP_FUNC_IMPORT eap_status_e set_partner( |
80 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e set_partner( |
58 abs_eap_am_stack_c * const partner |
81 abs_eap_am_stack_c * const partner |
59 , abs_eap_configuration_if_c * const configuration_if |
82 , abs_eap_configuration_if_c * const configuration_if |
60 ); |
83 ); |
61 |
84 |
62 // This is documented in abs_eap_stack_interface_c::configure(). |
85 // This is documented in abs_eap_stack_interface_c::configure(). |
63 EAP_FUNC_IMPORT eap_status_e configure( |
86 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e configure( |
64 const eap_variable_data_c * const client_configuration); |
87 const eap_variable_data_c * const client_configuration); |
65 |
88 |
66 // This is documented in abs_eap_stack_interface_c::shutdown(). |
89 // This is documented in abs_eap_stack_interface_c::shutdown(). |
67 EAP_FUNC_IMPORT eap_status_e shutdown(); |
90 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e shutdown(); |
68 |
91 |
69 EAP_FUNC_IMPORT eap_status_e read_configure( |
92 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e read_configure( |
70 const eap_configuration_field_c * const field, |
93 const eap_configuration_field_c * const field, |
71 eap_variable_data_c * const data); |
94 eap_variable_data_c * const data); |
72 |
95 |
73 EAP_FUNC_IMPORT eap_status_e set_timer( |
96 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e set_timer( |
74 abs_eap_base_timer_c * const p_initializer, |
97 abs_eap_base_timer_c * const p_initializer, |
75 const u32_t p_id, |
98 const u32_t p_id, |
76 void * const p_data, |
99 void * const p_data, |
77 const u32_t p_time_ms); |
100 const u32_t p_time_ms); |
78 |
101 |
79 EAP_FUNC_IMPORT eap_status_e cancel_timer( |
102 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e cancel_timer( |
80 abs_eap_base_timer_c * const p_initializer, |
103 abs_eap_base_timer_c * const p_initializer, |
81 const u32_t p_id); |
104 const u32_t p_id); |
82 |
105 |
83 EAP_FUNC_IMPORT eap_status_e check_is_valid_eap_type( |
106 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e check_is_valid_eap_type( |
84 const eap_type_value_e eap_type); |
107 const eap_type_value_e eap_type); |
85 |
108 |
86 EAP_FUNC_IMPORT eap_status_e get_eap_type_list( |
109 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e get_eap_type_list( |
87 eap_array_c<eap_type_value_e> * const eap_type_list); |
110 eap_array_c<eap_type_value_e> * const eap_type_list); |
88 |
111 |
89 EAP_FUNC_IMPORT eap_status_e load_module( |
112 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e load_module( |
90 const eap_type_value_e type, |
113 const eap_type_value_e type, |
91 const eap_type_value_e tunneling_type, |
114 const eap_type_value_e tunneling_type, |
92 abs_eap_base_type_c * const partner, |
115 abs_eap_base_type_c * const partner, |
93 eap_base_type_c ** const eap_type, |
116 eap_base_type_c ** const eap_type, |
94 const bool is_client_when_true, |
117 const bool is_client_when_true, |
95 const eap_am_network_id_c * const receive_network_id); |
118 const eap_am_network_id_c * const receive_network_id); |
96 |
119 |
97 EAP_FUNC_IMPORT eap_status_e save_simple_config_session( |
120 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e save_simple_config_session( |
98 const simple_config_state_e state, |
121 const simple_config_state_e state, |
99 EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array, |
122 EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array, |
100 const eap_variable_data_c * const new_password, |
123 const eap_variable_data_c * const new_password, |
101 const simple_config_Device_Password_ID_e Device_Password_ID, |
124 const simple_config_Device_Password_ID_e Device_Password_ID, |
102 const simple_config_payloads_c * const other_configuration); |
125 const simple_config_payloads_c * const other_configuration); |
103 |
126 |
104 EAP_FUNC_IMPORT eap_status_e set_eap_database_reference_values( |
127 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e set_eap_database_reference_values( |
105 const eap_variable_data_c * const reference); |
128 const eap_variable_data_c * const reference); |
106 |
129 |
107 EAP_FUNC_IMPORT eap_status_e get_802_11_authentication_mode( |
130 EAP_FUNC_VISIBILITY_EAP_AM_STACK_SYMBIAN_H eap_status_e get_802_11_authentication_mode( |
108 const eap_am_network_id_c * const receive_network_id, |
131 const eap_am_network_id_c * const receive_network_id, |
109 const eapol_key_authentication_type_e authentication_type); |
132 const eapol_key_authentication_type_e authentication_type); |
110 |
133 |
111 private: |
134 private: |
112 |
135 |