24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.h" |
26 #include "eap_variable_data.h" |
26 #include "eap_variable_data.h" |
27 #include "eap_header.h" |
27 #include "eap_header.h" |
28 #include "eap_am_export.h" |
28 #include "eap_am_export.h" |
|
29 // Start: added by script change_export_macros.sh. |
|
30 #if defined(EAP_NO_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H) |
|
31 #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_NONSHARABLE |
|
32 #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H |
|
33 #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H |
|
34 #define EAP_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H |
|
35 #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H |
|
36 #elif defined(EAP_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H) |
|
37 #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_EXPORT |
|
38 #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_C_FUNC_EXPORT |
|
40 #define EAP_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_FUNC_EXPORT |
|
41 #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_C_FUNC_EXPORT |
|
42 #else |
|
43 #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_IMPORT |
|
44 #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_FUNC_IMPORT |
|
45 #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H EAP_C_FUNC_IMPORT |
|
46 #define EAP_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H |
|
47 #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_SIMPLE_CONFIG_H |
|
48 #endif |
|
49 // End: added by script change_export_macros.sh. |
29 #include "abs_eap_am_type_simple_config.h" |
50 #include "abs_eap_am_type_simple_config.h" |
30 #include "eap_am_network_id.h" |
51 #include "eap_am_network_id.h" |
31 #include "simple_config_am_services.h" |
52 #include "simple_config_am_services.h" |
32 |
53 |
33 class abs_eap_base_type_c; |
54 class abs_eap_base_type_c; |
34 class eap_base_type_c; |
55 class eap_base_type_c; |
35 class abs_eap_am_type_simple_config_c; |
56 class abs_eap_am_type_simple_config_c; |
36 class abs_eap_configuration_if_c; |
57 class abs_eap_configuration_if_c; |
37 |
58 |
38 /// This class is interface to adaptation module of EAP/SIMPLE_CONFIG. |
59 /// This class is interface to adaptation module of EAP/SIMPLE_CONFIG. |
39 class EAP_EXPORT eap_am_type_simple_config_c |
60 class EAP_CLASS_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H eap_am_type_simple_config_c |
40 : public simple_config_am_services_c |
61 : public simple_config_am_services_c |
41 { |
62 { |
42 private: |
63 private: |
43 //-------------------------------------------------- |
64 //-------------------------------------------------- |
44 |
65 |
187 /** |
208 /** |
188 * This function creates a new instance of adaptation module of EAP-SIMPLE_CONFIG-type. |
209 * This function creates a new instance of adaptation module of EAP-SIMPLE_CONFIG-type. |
189 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
210 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
190 * EAP-SIMPLE_CONFIG-type will callback caller using the partner pointer. |
211 * EAP-SIMPLE_CONFIG-type will callback caller using the partner pointer. |
191 */ |
212 */ |
192 EAP_C_FUNC_IMPORT eap_am_type_simple_config_c *new_eap_am_type_simple_config( |
213 EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_SIMPLE_CONFIG_H eap_am_type_simple_config_c *new_eap_am_type_simple_config( |
193 abs_eap_am_tools_c * const tools, |
214 abs_eap_am_tools_c * const tools, |
194 abs_eap_base_type_c * const partner, |
215 abs_eap_base_type_c * const partner, |
195 const eap_type_value_e eap_type, |
216 const eap_type_value_e eap_type, |
196 const bool is_client_when_true, |
217 const bool is_client_when_true, |
197 const eap_am_network_id_c * const receive_network_id, |
218 const eap_am_network_id_c * const receive_network_id, |