22 #if !defined(_EAP_AM_MESSAGE_IF_H_) |
22 #if !defined(_EAP_AM_MESSAGE_IF_H_) |
23 #define _EAP_AM_MESSAGE_IF_H_ |
23 #define _EAP_AM_MESSAGE_IF_H_ |
24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.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_AM_MESSAGE_IF_H) |
|
29 #define EAP_CLASS_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_NONSHARABLE |
|
30 #define EAP_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H |
|
31 #define EAP_C_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H |
|
32 #define EAP_FUNC_EXPORT_EAP_AM_MESSAGE_IF_H |
|
33 #define EAP_C_FUNC_EXPORT_EAP_AM_MESSAGE_IF_H |
|
34 #elif defined(EAP_EXPORT_EAP_AM_MESSAGE_IF_H) |
|
35 #define EAP_CLASS_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_EXPORT |
|
36 #define EAP_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_FUNC_EXPORT |
|
37 #define EAP_C_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_C_FUNC_EXPORT |
|
38 #define EAP_FUNC_EXPORT_EAP_AM_MESSAGE_IF_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_EXPORT_EAP_AM_MESSAGE_IF_H EAP_C_FUNC_EXPORT |
|
40 #else |
|
41 #define EAP_CLASS_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_IMPORT |
|
42 #define EAP_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_FUNC_IMPORT |
|
43 #define EAP_C_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H EAP_C_FUNC_IMPORT |
|
44 #define EAP_FUNC_EXPORT_EAP_AM_MESSAGE_IF_H |
|
45 #define EAP_C_FUNC_EXPORT_EAP_AM_MESSAGE_IF_H |
|
46 #endif |
|
47 // End: added by script change_export_macros.sh. |
27 |
48 |
28 class abs_eap_general_settings_message_c; |
49 class abs_eap_general_settings_message_c; |
29 |
50 |
30 /** @file */ |
51 /** @file */ |
31 |
52 |
32 /// This class is the common part of EAP message interface. |
53 /// This class is the common part of EAP message interface. |
33 /// This class is interface to the message creation and parsing function. |
54 /// This class is interface to the message creation and parsing function. |
34 class EAP_EXPORT eap_am_message_if_c |
55 class EAP_CLASS_VISIBILITY_EAP_AM_MESSAGE_IF_H eap_am_message_if_c |
35 { |
56 { |
36 |
57 |
37 private: |
58 private: |
38 |
59 |
39 // ---------------------------------------------------------------------- |
60 // ---------------------------------------------------------------------- |
78 abs_eap_am_tools_c * const tools); |
99 abs_eap_am_tools_c * const tools); |
79 |
100 |
80 // ---------------------------------------------------------------------- |
101 // ---------------------------------------------------------------------- |
81 }; |
102 }; |
82 |
103 |
83 EAP_FUNC_IMPORT eap_am_message_if_c * new_eap_am_client_message_if_c( |
104 EAP_FUNC_VISIBILITY_EAP_AM_MESSAGE_IF_H eap_am_message_if_c * new_eap_am_client_message_if_c( |
84 abs_eap_am_tools_c * const tools, |
105 abs_eap_am_tools_c * const tools, |
85 const bool is_client_when_true, |
106 const bool is_client_when_true, |
86 const u32_t MTU); |
107 const u32_t MTU); |
87 |
108 |
88 |
109 |