eapol/eapol_framework/eapol_common/include/eap_type_all.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    23 #define _EAP_TYPE_ALL_H_
    23 #define _EAP_TYPE_ALL_H_
    24 
    24 
    25 //#include "eap_am_memory.h"
    25 //#include "eap_am_memory.h"
    26 #include "eap_tools.h"
    26 #include "eap_tools.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_TYPE_ALL_H)
       
    30 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_ALL_H EAP_NONSHARABLE 
       
    31 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_ALL_H 
       
    32 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_ALL_H 
       
    33 	#define EAP_FUNC_EXPORT_EAP_TYPE_ALL_H 
       
    34 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_ALL_H 
       
    35 #elif defined(EAP_EXPORT_EAP_TYPE_ALL_H)
       
    36 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_ALL_H EAP_EXPORT 
       
    37 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_ALL_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_ALL_H EAP_C_FUNC_EXPORT 
       
    39 	#define EAP_FUNC_EXPORT_EAP_TYPE_ALL_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_ALL_H EAP_C_FUNC_EXPORT 
       
    41 #else
       
    42 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_ALL_H EAP_IMPORT 
       
    43 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_ALL_H EAP_FUNC_IMPORT 
       
    44 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_ALL_H EAP_C_FUNC_IMPORT 
       
    45 	#define EAP_FUNC_EXPORT_EAP_TYPE_ALL_H 
       
    46 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_ALL_H 
       
    47 #endif
       
    48 // End: added by script change_export_macros.sh.
    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 
    52 
    32 class abs_eap_configuration_if_c;
    53 class abs_eap_configuration_if_c;
    42  * @param type is the EAP-type that will be created.
    63  * @param type is the EAP-type that will be created.
    43  *
    64  *
    44  * NOTE one module could include many EAP-types.
    65  * NOTE one module could include many EAP-types.
    45  * EAP-type will callback caller using the partner pointer.
    66  * EAP-type will callback caller using the partner pointer.
    46  */
    67  */
    47 EAP_C_FUNC_IMPORT eap_base_type_c * const new_eap_type(
    68 EAP_C_FUNC_VISIBILITY_EAP_TYPE_ALL_H eap_base_type_c * const new_eap_type(
    48 	abs_eap_am_tools_c * const tools,
    69 	abs_eap_am_tools_c * const tools,
    49 	abs_eap_base_type_c * const partner,
    70 	abs_eap_base_type_c * const partner,
    50 	const eap_type_value_e eap_type,
    71 	const eap_type_value_e eap_type,
    51 	const bool is_client_when_true,
    72 	const bool is_client_when_true,
    52 	const eap_am_network_id_c * const receive_network_id
    73 	const eap_am_network_id_c * const receive_network_id