eapol/eapol_framework/eapol_common/include/eap_core_nak_info.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    22 #if !defined(_EAP_CORE_NAK_INFO_H_)
    22 #if !defined(_EAP_CORE_NAK_INFO_H_)
    23 #define _EAP_CORE_NAK_INFO_H_
    23 #define _EAP_CORE_NAK_INFO_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_CORE_NAK_INFO_H)
       
    29 	#define EAP_CLASS_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_NONSHARABLE 
       
    30 	#define EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H 
       
    31 	#define EAP_C_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H 
       
    32 	#define EAP_FUNC_EXPORT_EAP_CORE_NAK_INFO_H 
       
    33 	#define EAP_C_FUNC_EXPORT_EAP_CORE_NAK_INFO_H 
       
    34 #elif defined(EAP_EXPORT_EAP_CORE_NAK_INFO_H)
       
    35 	#define EAP_CLASS_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_EXPORT 
       
    36 	#define EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_FUNC_EXPORT 
       
    37 	#define EAP_C_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_C_FUNC_EXPORT 
       
    38 	#define EAP_FUNC_EXPORT_EAP_CORE_NAK_INFO_H EAP_FUNC_EXPORT 
       
    39 	#define EAP_C_FUNC_EXPORT_EAP_CORE_NAK_INFO_H EAP_C_FUNC_EXPORT 
       
    40 #else
       
    41 	#define EAP_CLASS_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_IMPORT 
       
    42 	#define EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_FUNC_IMPORT 
       
    43 	#define EAP_C_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H EAP_C_FUNC_IMPORT 
       
    44 	#define EAP_FUNC_EXPORT_EAP_CORE_NAK_INFO_H 
       
    45 	#define EAP_C_FUNC_EXPORT_EAP_CORE_NAK_INFO_H 
       
    46 #endif
       
    47 // End: added by script change_export_macros.sh.
    27 #include "abs_eap_core.h"
    48 #include "abs_eap_core.h"
    28 #include "eap_base_type.h"
    49 #include "eap_base_type.h"
    29 #include "abs_eap_base_type.h"
    50 #include "abs_eap_base_type.h"
    30 #include "eap_variable_data.h"
    51 #include "eap_variable_data.h"
    31 #include "eap_core_map.h"
    52 #include "eap_core_map.h"
    54 public:
    75 public:
    55 
    76 
    56 	/**
    77 	/**
    57 	 * The destructor of the eap_core_nak_info_c class does nothing special.
    78 	 * The destructor of the eap_core_nak_info_c class does nothing special.
    58 	 */
    79 	 */
    59 	EAP_FUNC_IMPORT virtual ~eap_core_nak_info_c();
    80 	EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H virtual ~eap_core_nak_info_c();
    60 
    81 
    61 	/**
    82 	/**
    62 	 * The constructor initializes member attributes using parameters passed to it.
    83 	 * The constructor initializes member attributes using parameters passed to it.
    63 	 * @param tools is pointer to the tools class. @see abs_eap_am_tools_c.
    84 	 * @param tools is pointer to the tools class. @see abs_eap_am_tools_c.
    64 	 * @param send_network_id is the network identity.
    85 	 * @param send_network_id is the network identity.
    65 	 * @param proposed_eap_type is the proposed EAP type.
    86 	 * @param proposed_eap_type is the proposed EAP type.
    66 	 */
    87 	 */
    67 	EAP_FUNC_IMPORT eap_core_nak_info_c(
    88 	EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H eap_core_nak_info_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 		const eap_type_value_e proposed_eap_type,
    91 		const eap_type_value_e proposed_eap_type,
    71 		const u8_t eap_identifier);
    92 		const u8_t eap_identifier);
    72 
    93 
    73 	EAP_FUNC_IMPORT eap_type_value_e get_proposed_eap_type() const;
    94 	EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H eap_type_value_e get_proposed_eap_type() const;
    74 
    95 
    75 	EAP_FUNC_IMPORT u8_t get_eap_identifier() const;
    96 	EAP_FUNC_VISIBILITY_EAP_CORE_NAK_INFO_H u8_t get_eap_identifier() const;
    76 };
    97 };
    77 
    98 
    78 
    99 
    79 #endif //#if !defined(_EAP_CORE_NAK_INFO_H_)
   100 #endif //#if !defined(_EAP_CORE_NAK_INFO_H_)
    80 
   101