23 #define _EAP_AM_TYPE_RADIUS_H_ |
23 #define _EAP_AM_TYPE_RADIUS_H_ |
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_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_RADIUS_H) |
|
30 #define EAP_CLASS_VISIBILITY_EAP_AM_RADIUS_H EAP_NONSHARABLE |
|
31 #define EAP_FUNC_VISIBILITY_EAP_AM_RADIUS_H |
|
32 #define EAP_C_FUNC_VISIBILITY_EAP_AM_RADIUS_H |
|
33 #define EAP_FUNC_EXPORT_EAP_AM_RADIUS_H |
|
34 #define EAP_C_FUNC_EXPORT_EAP_AM_RADIUS_H |
|
35 #elif defined(EAP_EXPORT_EAP_AM_RADIUS_H) |
|
36 #define EAP_CLASS_VISIBILITY_EAP_AM_RADIUS_H EAP_EXPORT |
|
37 #define EAP_FUNC_VISIBILITY_EAP_AM_RADIUS_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_VISIBILITY_EAP_AM_RADIUS_H EAP_C_FUNC_EXPORT |
|
39 #define EAP_FUNC_EXPORT_EAP_AM_RADIUS_H EAP_FUNC_EXPORT |
|
40 #define EAP_C_FUNC_EXPORT_EAP_AM_RADIUS_H EAP_C_FUNC_EXPORT |
|
41 #else |
|
42 #define EAP_CLASS_VISIBILITY_EAP_AM_RADIUS_H EAP_IMPORT |
|
43 #define EAP_FUNC_VISIBILITY_EAP_AM_RADIUS_H EAP_FUNC_IMPORT |
|
44 #define EAP_C_FUNC_VISIBILITY_EAP_AM_RADIUS_H EAP_C_FUNC_IMPORT |
|
45 #define EAP_FUNC_EXPORT_EAP_AM_RADIUS_H |
|
46 #define EAP_C_FUNC_EXPORT_EAP_AM_RADIUS_H |
|
47 #endif |
|
48 // End: added by script change_export_macros.sh. |
28 #include "abs_eap_am_radius.h" |
49 #include "abs_eap_am_radius.h" |
29 #include "eap_sim_triplets.h" |
50 #include "eap_sim_triplets.h" |
30 #include "eap_am_network_id.h" |
51 #include "eap_am_network_id.h" |
31 #include "eap_radius_types.h" |
52 #include "eap_radius_types.h" |
32 |
53 |
33 |
54 |
34 /// This class is interface to adaptation module of RADIUS. |
55 /// This class is interface to adaptation module of RADIUS. |
35 class EAP_EXPORT eap_am_radius_c |
56 class EAP_CLASS_VISIBILITY_EAP_AM_RADIUS_H eap_am_radius_c |
36 { |
57 { |
37 private: |
58 private: |
38 //-------------------------------------------------- |
59 //-------------------------------------------------- |
39 |
60 |
40 abs_eap_am_radius_c *m_am_partner; |
61 abs_eap_am_radius_c *m_am_partner; |
329 /** |
350 /** |
330 * This function creates a new instance of adaptation module of RADIUS EAP-type. |
351 * This function creates a new instance of adaptation module of RADIUS EAP-type. |
331 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
352 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
332 * RADIUS EAP-type will callback caller using the partner pointer. |
353 * RADIUS EAP-type will callback caller using the partner pointer. |
333 */ |
354 */ |
334 EAP_C_FUNC_IMPORT eap_am_radius_c *new_eap_am_radius( |
355 EAP_C_FUNC_VISIBILITY_EAP_AM_RADIUS_H eap_am_radius_c *new_eap_am_radius( |
335 abs_eap_am_tools_c * const tools, |
356 abs_eap_am_tools_c * const tools, |
336 abs_eap_base_type_c * const partner, |
357 abs_eap_base_type_c * const partner, |
337 const bool is_client_when_true); |
358 const bool is_client_when_true); |
338 |
359 |
339 |
360 |