23 #define _TLS_RECORD_HEADER_H_ |
23 #define _TLS_RECORD_HEADER_H_ |
24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.h" |
26 #include "eap_header.h" |
26 #include "eap_header.h" |
27 #include "eap_general_header_base.h" |
27 #include "eap_general_header_base.h" |
|
28 #include "eap_am_export.h" |
|
29 // Start: added by script change_export_macros.sh. |
|
30 #if defined(EAP_NO_EXPORT_TLS_RECORD_HEADER_H) |
|
31 #define EAP_CLASS_VISIBILITY_TLS_RECORD_HEADER_H EAP_NONSHARABLE |
|
32 #define EAP_FUNC_VISIBILITY_TLS_RECORD_HEADER_H |
|
33 #define EAP_C_FUNC_VISIBILITY_TLS_RECORD_HEADER_H |
|
34 #define EAP_FUNC_EXPORT_TLS_RECORD_HEADER_H |
|
35 #define EAP_C_FUNC_EXPORT_TLS_RECORD_HEADER_H |
|
36 #elif defined(EAP_EXPORT_TLS_RECORD_HEADER_H) |
|
37 #define EAP_CLASS_VISIBILITY_TLS_RECORD_HEADER_H EAP_EXPORT |
|
38 #define EAP_FUNC_VISIBILITY_TLS_RECORD_HEADER_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_VISIBILITY_TLS_RECORD_HEADER_H EAP_C_FUNC_EXPORT |
|
40 #define EAP_FUNC_EXPORT_TLS_RECORD_HEADER_H EAP_FUNC_EXPORT |
|
41 #define EAP_C_FUNC_EXPORT_TLS_RECORD_HEADER_H EAP_C_FUNC_EXPORT |
|
42 #else |
|
43 #define EAP_CLASS_VISIBILITY_TLS_RECORD_HEADER_H EAP_IMPORT |
|
44 #define EAP_FUNC_VISIBILITY_TLS_RECORD_HEADER_H EAP_FUNC_IMPORT |
|
45 #define EAP_C_FUNC_VISIBILITY_TLS_RECORD_HEADER_H EAP_C_FUNC_IMPORT |
|
46 #define EAP_FUNC_EXPORT_TLS_RECORD_HEADER_H |
|
47 #define EAP_C_FUNC_EXPORT_TLS_RECORD_HEADER_H |
|
48 #endif |
|
49 // End: added by script change_export_macros.sh. |
|
50 |
28 |
51 |
29 /** @file */ |
52 /** @file */ |
30 |
53 |
31 |
54 |
32 /** |
55 /** |
79 * the following TLSPlaintext.fragment (TLS-record data). |
102 * the following TLSPlaintext.fragment (TLS-record data). |
80 * The length should not exceed 2^14. |
103 * The length should not exceed 2^14. |
81 * @endcode |
104 * @endcode |
82 * |
105 * |
83 */ |
106 */ |
84 class EAP_EXPORT tls_record_header_c |
107 class EAP_CLASS_VISIBILITY_TLS_RECORD_HEADER_H tls_record_header_c |
85 : public eap_general_header_base_c |
108 : public eap_general_header_base_c |
86 { |
109 { |
87 private: |
110 private: |
88 //-------------------------------------------------- |
111 //-------------------------------------------------- |
89 |
112 |