eapol/eapol_framework/eapol_common/am/include/eap_am_stack.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    23 #define _EAP_AM_STACK_H_
    23 #define _EAP_AM_STACK_H_
    24 
    24 
    25 #include "eap_tools.h"
    25 #include "eap_tools.h"
    26 #include "eap_status.h"
    26 #include "eap_status.h"
    27 #include "eap_am_export.h"
    27 #include "eap_am_export.h"
       
    28 // Start: added by script change_export_macros.sh.
       
    29 #if defined(EAP_NO_EXPORT_EAP_AM_STACK_H)
       
    30 	#define EAP_CLASS_VISIBILITY_EAP_AM_STACK_H EAP_NONSHARABLE 
       
    31 	#define EAP_FUNC_VISIBILITY_EAP_AM_STACK_H 
       
    32 	#define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_H 
       
    33 	#define EAP_FUNC_EXPORT_EAP_AM_STACK_H 
       
    34 	#define EAP_C_FUNC_EXPORT_EAP_AM_STACK_H 
       
    35 #elif defined(EAP_EXPORT_EAP_AM_STACK_H)
       
    36 	#define EAP_CLASS_VISIBILITY_EAP_AM_STACK_H EAP_EXPORT 
       
    37 	#define EAP_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_C_FUNC_EXPORT 
       
    39 	#define EAP_FUNC_EXPORT_EAP_AM_STACK_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_EXPORT_EAP_AM_STACK_H EAP_C_FUNC_EXPORT 
       
    41 #else
       
    42 	#define EAP_CLASS_VISIBILITY_EAP_AM_STACK_H EAP_IMPORT 
       
    43 	#define EAP_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_FUNC_IMPORT 
       
    44 	#define EAP_C_FUNC_VISIBILITY_EAP_AM_STACK_H EAP_C_FUNC_IMPORT 
       
    45 	#define EAP_FUNC_EXPORT_EAP_AM_STACK_H 
       
    46 	#define EAP_C_FUNC_EXPORT_EAP_AM_STACK_H 
       
    47 #endif
       
    48 // End: added by script change_export_macros.sh.
    28 #include "eap_expanded_type.h"
    49 #include "eap_expanded_type.h"
    29 #include "eap_array.h"
    50 #include "eap_array.h"
    30 #include "eap_database_reference_if.h"
    51 #include "eap_database_reference_if.h"
    31 #include "eapol_key_types.h"
    52 #include "eapol_key_types.h"
    32 
    53 
    42 
    63 
    43 /** @file */
    64 /** @file */
    44 
    65 
    45 /// This class is the common part of EAP message interface.
    66 /// This class is the common part of EAP message interface.
    46 /// This class is interface to the message creation and parsing function.
    67 /// This class is interface to the message creation and parsing function.
    47 class EAP_EXPORT eap_am_stack_c
    68 class EAP_CLASS_VISIBILITY_EAP_AM_STACK_H eap_am_stack_c
    48 : public eap_database_reference_if_c 
    69 : public eap_database_reference_if_c 
    49 {
    70 {
    50 
    71 
    51 private:
    72 private:
    52 
    73 
   107 		const eapol_key_authentication_type_e authentication_type) = 0;
   128 		const eapol_key_authentication_type_e authentication_type) = 0;
   108 
   129 
   109 	// ----------------------------------------------------------------------
   130 	// ----------------------------------------------------------------------
   110 };
   131 };
   111 
   132 
   112 EAP_FUNC_IMPORT eap_am_stack_c * new_eap_am_stack_c(
   133 EAP_FUNC_VISIBILITY_EAP_AM_STACK_H eap_am_stack_c * new_eap_am_stack_c(
   113 	abs_eap_am_tools_c * const tools,
   134 	abs_eap_am_tools_c * const tools,
   114 	const bool is_client_when_true);
   135 	const bool is_client_when_true);
   115 
   136 
   116 #endif //#if !defined(_EAP_AM_STACK_H_)
   137 #endif //#if !defined(_EAP_AM_STACK_H_)
   117 
   138