23 #define _TLS_BASE_APPLICATION_H_ |
23 #define _TLS_BASE_APPLICATION_H_ |
24 |
24 |
25 #include "tls_peap_types.h" |
25 #include "tls_peap_types.h" |
26 #include "eap_header.h" |
26 #include "eap_header.h" |
27 #include "eap_protocol_layer.h" |
27 #include "eap_protocol_layer.h" |
|
28 #include "eap_am_export.h" |
|
29 // Start: added by script change_export_macros.sh. |
|
30 #if defined(EAP_NO_EXPORT_TLS_BASE_APPLICATION_H) |
|
31 #define EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H EAP_NONSHARABLE |
|
32 #define EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H |
|
33 #define EAP_C_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H |
|
34 #define EAP_FUNC_EXPORT_TLS_BASE_APPLICATION_H |
|
35 #define EAP_C_FUNC_EXPORT_TLS_BASE_APPLICATION_H |
|
36 #elif defined(EAP_EXPORT_TLS_BASE_APPLICATION_H) |
|
37 #define EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H EAP_EXPORT |
|
38 #define EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_C_FUNC_EXPORT |
|
40 #define EAP_FUNC_EXPORT_TLS_BASE_APPLICATION_H EAP_FUNC_EXPORT |
|
41 #define EAP_C_FUNC_EXPORT_TLS_BASE_APPLICATION_H EAP_C_FUNC_EXPORT |
|
42 #else |
|
43 #define EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H EAP_IMPORT |
|
44 #define EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_FUNC_IMPORT |
|
45 #define EAP_C_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_C_FUNC_IMPORT |
|
46 #define EAP_FUNC_EXPORT_TLS_BASE_APPLICATION_H |
|
47 #define EAP_C_FUNC_EXPORT_TLS_BASE_APPLICATION_H |
|
48 #endif |
|
49 // End: added by script change_export_macros.sh. |
|
50 |
28 |
51 |
29 class abs_tls_base_application_c; |
52 class abs_tls_base_application_c; |
30 class abs_eap_am_tools_c; |
53 class abs_eap_am_tools_c; |
31 class eap_am_network_id_c; |
54 class eap_am_network_id_c; |
32 class tls_record_header_c; |
55 class tls_record_header_c; |
35 class eap_fast_variable_data_c; |
58 class eap_fast_variable_data_c; |
36 |
59 |
37 |
60 |
38 /// The tls_base_application_c class declares pure virtual functions |
61 /// The tls_base_application_c class declares pure virtual functions |
39 /// a user class of TLS-application class could call. |
62 /// a user class of TLS-application class could call. |
40 class EAP_EXPORT tls_base_application_c |
63 class EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H tls_base_application_c |
41 { |
64 { |
42 private: |
65 private: |
43 //-------------------------------------------------- |
66 //-------------------------------------------------- |
44 |
67 |
45 /** |
68 /** |
57 //-------------------------------------------------- |
80 //-------------------------------------------------- |
58 |
81 |
59 /** |
82 /** |
60 * Destructor does nothing special. |
83 * Destructor does nothing special. |
61 */ |
84 */ |
62 EAP_FUNC_IMPORT virtual ~tls_base_application_c(); |
85 EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H virtual ~tls_base_application_c(); |
63 |
86 |
64 /** |
87 /** |
65 * Application partner is object below the tls_base_application_c object. |
88 * Application partner is object below the tls_base_application_c object. |
66 * @return The get_application_partner() function returns the pointer to the partner class. |
89 * @return The get_application_partner() function returns the pointer to the partner class. |
67 */ |
90 */ |