22 #if !defined(_EAP_AKA_STATE_NOTIFICATION_H_) |
22 #if !defined(_EAP_AKA_STATE_NOTIFICATION_H_) |
23 #define _EAP_AKA_STATE_NOTIFICATION_H_ |
23 #define _EAP_AKA_STATE_NOTIFICATION_H_ |
24 |
24 |
25 #include "eap_variable_data.h" |
25 #include "eap_variable_data.h" |
26 #include "eap_am_export.h" |
26 #include "eap_am_export.h" |
|
27 // Start: added by script change_export_macros.sh. |
|
28 #if defined(EAP_NO_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H) |
|
29 #define EAP_CLASS_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_NONSHARABLE |
|
30 #define EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H |
|
31 #define EAP_C_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H |
|
32 #define EAP_FUNC_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H |
|
33 #define EAP_C_FUNC_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H |
|
34 #elif defined(EAP_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H) |
|
35 #define EAP_CLASS_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_EXPORT |
|
36 #define EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_FUNC_EXPORT |
|
37 #define EAP_C_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT |
|
38 #define EAP_FUNC_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT |
|
40 #else |
|
41 #define EAP_CLASS_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_IMPORT |
|
42 #define EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_FUNC_IMPORT |
|
43 #define EAP_C_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H EAP_C_FUNC_IMPORT |
|
44 #define EAP_FUNC_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H |
|
45 #define EAP_C_FUNC_EXPORT_EAP_TYPE_AKA_STATE_NOTIFICATION_H |
|
46 #endif |
|
47 // End: added by script change_export_macros.sh. |
27 #include "eap_protocol_layer.h" |
48 #include "eap_protocol_layer.h" |
28 #include "eap_state_notification.h" |
49 #include "eap_state_notification.h" |
29 |
50 |
30 |
51 |
31 /// A eap_type_aka_state_notification_c class. |
52 /// A eap_type_aka_state_notification_c class. |
32 /// This is used for debugging and protocol testing. |
53 /// This is used for debugging and protocol testing. |
33 class EAP_EXPORT eap_type_aka_state_notification_c |
54 class EAP_CLASS_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H eap_type_aka_state_notification_c |
34 : public eap_state_notification_c |
55 : public eap_state_notification_c |
35 { |
56 { |
36 private: |
57 private: |
37 //-------------------------------------------------- |
58 //-------------------------------------------------- |
38 |
59 |
45 //-------------------------------------------------- |
66 //-------------------------------------------------- |
46 |
67 |
47 /** |
68 /** |
48 * The destructor of the eap_type_aka_state_notification_c class does nothing special. |
69 * The destructor of the eap_type_aka_state_notification_c class does nothing special. |
49 */ |
70 */ |
50 EAP_FUNC_IMPORT virtual ~eap_type_aka_state_notification_c(); |
71 EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H virtual ~eap_type_aka_state_notification_c(); |
51 |
72 |
52 /** |
73 /** |
53 * The constructor of the eap_type_aka_state_notification_c class does nothing special. |
74 * The constructor of the eap_type_aka_state_notification_c class does nothing special. |
54 */ |
75 */ |
55 EAP_FUNC_IMPORT eap_type_aka_state_notification_c( |
76 EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H eap_type_aka_state_notification_c( |
56 abs_eap_am_tools_c * const tools, |
77 abs_eap_am_tools_c * const tools, |
57 const eap_am_network_id_c * const send_network_id, |
78 const eap_am_network_id_c * const send_network_id, |
58 bool is_client, |
79 bool is_client, |
59 eap_state_notification_generic_e, |
80 eap_state_notification_generic_e, |
60 eap_protocol_layer_e layer, |
81 eap_protocol_layer_e layer, |
62 u32_t previous_state, |
83 u32_t previous_state, |
63 u32_t current_state, |
84 u32_t current_state, |
64 u8_t eap_identifier, |
85 u8_t eap_identifier, |
65 bool allow_send_eap_success); |
86 bool allow_send_eap_success); |
66 |
87 |
67 EAP_FUNC_IMPORT eap_type_aka_state_notification_c( |
88 EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H eap_type_aka_state_notification_c( |
68 abs_eap_am_tools_c * const tools, |
89 abs_eap_am_tools_c * const tools, |
69 const eap_am_network_id_c * const send_network_id, |
90 const eap_am_network_id_c * const send_network_id, |
70 bool is_client, |
91 bool is_client, |
71 eap_state_notification_eap_e, |
92 eap_state_notification_eap_e, |
72 eap_protocol_layer_e layer, |
93 eap_protocol_layer_e layer, |
74 u32_t previous_state, |
95 u32_t previous_state, |
75 u32_t current_state, |
96 u32_t current_state, |
76 u8_t eap_identifier, |
97 u8_t eap_identifier, |
77 bool allow_send_eap_success); |
98 bool allow_send_eap_success); |
78 |
99 |
79 EAP_FUNC_IMPORT eap_type_aka_state_notification_c( |
100 EAP_FUNC_VISIBILITY_EAP_TYPE_AKA_STATE_NOTIFICATION_H eap_type_aka_state_notification_c( |
80 abs_eap_am_tools_c * const tools, |
101 abs_eap_am_tools_c * const tools, |
81 const eap_am_network_id_c * const send_network_id, |
102 const eap_am_network_id_c * const send_network_id, |
82 bool is_client, |
103 bool is_client, |
83 eap_state_notification_eap_e, |
104 eap_state_notification_eap_e, |
84 eap_protocol_layer_e layer, |
105 eap_protocol_layer_e layer, |