eapol/eapol_framework/eapol_common/am/include/eapol_am_wlan_authentication.h
changeset 49 43351a4f2da3
parent 34 ad1f037f1ac2
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    21 
    21 
    22 #if !defined(_EAPOL_AM_WLAN_AUTHENTICATION_H_)
    22 #if !defined(_EAPOL_AM_WLAN_AUTHENTICATION_H_)
    23 #define _EAPOL_AM_WLAN_AUTHENTICATION_H_
    23 #define _EAPOL_AM_WLAN_AUTHENTICATION_H_
    24 
    24 
    25 #include "eap_am_export.h"
    25 #include "eap_am_export.h"
       
    26 // Start: added by script change_export_macros.sh.
       
    27 #if defined(EAP_NO_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H)
       
    28 	#define EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_NONSHARABLE 
       
    29 	#define EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H 
       
    30 	#define EAP_C_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H 
       
    31 	#define EAP_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H 
       
    32 	#define EAP_C_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H 
       
    33 #elif defined(EAP_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H)
       
    34 	#define EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_EXPORT 
       
    35 	#define EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_FUNC_EXPORT 
       
    36 	#define EAP_C_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_C_FUNC_EXPORT 
       
    37 	#define EAP_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_C_FUNC_EXPORT 
       
    39 #else
       
    40 	#define EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_IMPORT 
       
    41 	#define EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_FUNC_IMPORT 
       
    42 	#define EAP_C_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H EAP_C_FUNC_IMPORT 
       
    43 	#define EAP_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H 
       
    44 	#define EAP_C_FUNC_EXPORT_EAPOL_AM_WLAN_AUTHENTICATION_H 
       
    45 #endif
       
    46 // End: added by script change_export_macros.sh.
    26 #include "eap_status.h"
    47 #include "eap_status.h"
    27 #include "eap_header.h"
    48 #include "eap_header.h"
    28 #include "eap_array.h"
    49 #include "eap_array.h"
    29 #include "eapol_key_types.h"
    50 #include "eapol_key_types.h"
    30 
    51 
    41 class abs_eap_configuration_if_c;
    62 class abs_eap_configuration_if_c;
    42 #endif // #if defined(USE_EAP_SIMPLE_CONFIG)
    63 #endif // #if defined(USE_EAP_SIMPLE_CONFIG)
    43 
    64 
    44 
    65 
    45 /// This is interface to adaptation module of class eapol_wlan_authentication_c.
    66 /// This is interface to adaptation module of class eapol_wlan_authentication_c.
    46 class EAP_EXPORT eapol_am_wlan_authentication_c
    67 class EAP_CLASS_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H eapol_am_wlan_authentication_c
    47 : public eap_database_reference_if_c
    68 : public eap_database_reference_if_c
    48 {
    69 {
    49 private:
    70 private:
    50 	//--------------------------------------------------
    71 	//--------------------------------------------------
    51 
    72 
    56 	//--------------------------------------------------
    77 	//--------------------------------------------------
    57 public:
    78 public:
    58 	//--------------------------------------------------
    79 	//--------------------------------------------------
    59 
    80 
    60 	// 
    81 	// 
    61 	EAP_FUNC_IMPORT virtual ~eapol_am_wlan_authentication_c();
    82 	EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H virtual ~eapol_am_wlan_authentication_c();
    62 
    83 
    63 	/// @param tools: Constructor takes parameter tools that is pointer to adaptation of the platform.
    84 	/// @param tools: Constructor takes parameter tools that is pointer to adaptation of the platform.
    64 	/// @param is_client_when_true: Second parameter is true when object is client and false when object is server.
    85 	/// @param is_client_when_true: Second parameter is true when object is client and false when object is server.
    65 	/// @param wlan_database_reference: third parameter is pointer to interface to read the current database reference.
    86 	/// @param wlan_database_reference: third parameter is pointer to interface to read the current database reference.
    66 	EAP_FUNC_IMPORT static eapol_am_wlan_authentication_c * new_eapol_am_wlan_authentication(
    87 	EAP_FUNC_VISIBILITY_EAPOL_AM_WLAN_AUTHENTICATION_H static eapol_am_wlan_authentication_c * new_eapol_am_wlan_authentication(
    67 		abs_eap_am_tools_c * const tools,
    88 		abs_eap_am_tools_c * const tools,
    68 		const bool is_client_when_true
    89 		const bool is_client_when_true
    69 		);
    90 		);
    70 
    91 
    71 	/// This is documented in abs_eap_stack_interface_c::get_is_valid().
    92 	/// This is documented in abs_eap_stack_interface_c::get_is_valid().