eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/tls_handshake_header.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    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 "tls_peap_types.h"
    28 #include "tls_peap_types.h"
       
    29 #include "eap_am_export.h"
       
    30 // Start: added by script change_export_macros.sh.
       
    31 #if defined(EAP_NO_EXPORT_TLS_HANDSHAKE_HEADER_H)
       
    32 	#define EAP_CLASS_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_NONSHARABLE 
       
    33 	#define EAP_FUNC_VISIBILITY_TLS_HANDSHAKE_HEADER_H 
       
    34 	#define EAP_C_FUNC_VISIBILITY_TLS_HANDSHAKE_HEADER_H 
       
    35 	#define EAP_FUNC_EXPORT_TLS_HANDSHAKE_HEADER_H 
       
    36 	#define EAP_C_FUNC_EXPORT_TLS_HANDSHAKE_HEADER_H 
       
    37 #elif defined(EAP_EXPORT_TLS_HANDSHAKE_HEADER_H)
       
    38 	#define EAP_CLASS_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_EXPORT 
       
    39 	#define EAP_FUNC_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_C_FUNC_EXPORT 
       
    41 	#define EAP_FUNC_EXPORT_TLS_HANDSHAKE_HEADER_H EAP_FUNC_EXPORT 
       
    42 	#define EAP_C_FUNC_EXPORT_TLS_HANDSHAKE_HEADER_H EAP_C_FUNC_EXPORT 
       
    43 #else
       
    44 	#define EAP_CLASS_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_IMPORT 
       
    45 	#define EAP_FUNC_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_FUNC_IMPORT 
       
    46 	#define EAP_C_FUNC_VISIBILITY_TLS_HANDSHAKE_HEADER_H EAP_C_FUNC_IMPORT 
       
    47 	#define EAP_FUNC_EXPORT_TLS_HANDSHAKE_HEADER_H 
       
    48 	#define EAP_C_FUNC_EXPORT_TLS_HANDSHAKE_HEADER_H 
       
    49 #endif
       
    50 // End: added by script change_export_macros.sh.
       
    51 
    29 
    52 
    30 
    53 
    31 /** @file */
    54 /** @file */
    32 
    55 
    33 /**
    56 /**
    76  *                            m_handshake_type, m_length_high, m_length_middle and m_length_low
    99  *                            m_handshake_type, m_length_high, m_length_middle and m_length_low
    77  *                            fields, only the length of the following handshake message.
   100  *                            fields, only the length of the following handshake message.
    78  * @endcode
   101  * @endcode
    79  * 
   102  * 
    80  */
   103  */
    81 class EAP_EXPORT tls_handshake_header_c
   104 class EAP_CLASS_VISIBILITY_TLS_HANDSHAKE_HEADER_H tls_handshake_header_c
    82 : public eap_general_header_base_c
   105 : public eap_general_header_base_c
    83 {
   106 {
    84 private:
   107 private:
    85 	//--------------------------------------------------
   108 	//--------------------------------------------------
    86 
   109