23 #define _EAP_AM_TYPE_AKA_H_ |
23 #define _EAP_AM_TYPE_AKA_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_TYPE_AKA_H) |
|
30 #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_NONSHARABLE |
|
31 #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H |
|
32 #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H |
|
33 #define EAP_FUNC_EXPORT_EAP_AM_TYPE_AKA_H |
|
34 #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_AKA_H |
|
35 #elif defined(EAP_EXPORT_EAP_AM_TYPE_AKA_H) |
|
36 #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_EXPORT |
|
37 #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_C_FUNC_EXPORT |
|
39 #define EAP_FUNC_EXPORT_EAP_AM_TYPE_AKA_H EAP_FUNC_EXPORT |
|
40 #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_AKA_H EAP_C_FUNC_EXPORT |
|
41 #else |
|
42 #define EAP_CLASS_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_IMPORT |
|
43 #define EAP_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_FUNC_IMPORT |
|
44 #define EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H EAP_C_FUNC_IMPORT |
|
45 #define EAP_FUNC_EXPORT_EAP_AM_TYPE_AKA_H |
|
46 #define EAP_C_FUNC_EXPORT_EAP_AM_TYPE_AKA_H |
|
47 #endif |
|
48 // End: added by script change_export_macros.sh. |
28 #include "abs_eap_am_type_aka.h" |
49 #include "abs_eap_am_type_aka.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 |
52 |
32 /// This class is interface to adaptation module of AKA. |
53 /// This class is interface to adaptation module of AKA. |
33 class EAP_EXPORT eap_am_type_aka_c |
54 class EAP_CLASS_VISIBILITY_EAP_AM_TYPE_AKA_H eap_am_type_aka_c |
34 { |
55 { |
35 private: |
56 private: |
36 //-------------------------------------------------- |
57 //-------------------------------------------------- |
37 |
58 |
38 abs_eap_am_type_aka_c *m_am_partner; |
59 abs_eap_am_type_aka_c *m_am_partner; |
326 /** |
347 /** |
327 * This function creates a new instance of adaptation module of AKA EAP-type. |
348 * This function creates a new instance of adaptation module of AKA EAP-type. |
328 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
349 * @param tools is pointer to the abs_eap_am_tools class created by the adaptation module. |
329 * AKA EAP-type will callback caller using the partner pointer. |
350 * AKA EAP-type will callback caller using the partner pointer. |
330 */ |
351 */ |
331 EAP_C_FUNC_IMPORT eap_am_type_aka_c *new_eap_am_type_aka( |
352 EAP_C_FUNC_VISIBILITY_EAP_AM_TYPE_AKA_H eap_am_type_aka_c *new_eap_am_type_aka( |
332 abs_eap_am_tools_c * const tools, |
353 abs_eap_am_tools_c * const tools, |
333 abs_eap_base_type_c * const partner, |
354 abs_eap_base_type_c * const partner, |
334 const bool is_client_when_true, |
355 const bool is_client_when_true, |
335 const eap_am_network_id_c * const receive_network_id); |
356 const eap_am_network_id_c * const receive_network_id); |
336 |
357 |