eapol/eapol_framework/eapol_common/type/simple_config/eap/include/eap_type_simple_config_state_notification.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  EAP and WLAN authentication protocols.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #if !defined(_EAP_SIMPLE_CONFIG_STATE_NOTIFICATION_H_)
       
    22 #define _EAP_SIMPLE_CONFIG_STATE_NOTIFICATION_H_
       
    23 
       
    24 #include "eap_variable_data.h"
       
    25 #include "eap_am_export.h"
       
    26 #include "eap_protocol_layer.h"
       
    27 #include "eap_state_notification.h"
       
    28 
       
    29 
       
    30 /// A eap_type_simple_config_state_notification_c class.
       
    31 /// This is used for debugging and protocol testing.
       
    32 class EAP_EXPORT eap_type_simple_config_state_notification_c
       
    33 : public eap_state_notification_c
       
    34 {
       
    35 private:
       
    36 	//--------------------------------------------------
       
    37 
       
    38 	//--------------------------------------------------
       
    39 protected:
       
    40 	//--------------------------------------------------
       
    41 
       
    42 	//--------------------------------------------------
       
    43 public:
       
    44 	//--------------------------------------------------
       
    45 
       
    46 	/**
       
    47 	 * The destructor of the eap_type_simple_config_state_notification_c class does nothing special.
       
    48 	 */
       
    49 	EAP_FUNC_IMPORT virtual ~eap_type_simple_config_state_notification_c();
       
    50 
       
    51 	/**
       
    52 	 * The constructor of the eap_type_simple_config_state_notification_c class does nothing special.
       
    53 	 */
       
    54 	EAP_FUNC_IMPORT eap_type_simple_config_state_notification_c(
       
    55 		abs_eap_am_tools_c * const tools,
       
    56 		const eap_am_network_id_c * const send_network_id,
       
    57 		bool is_client,
       
    58 		eap_state_notification_generic_e,
       
    59 		eap_protocol_layer_e layer,
       
    60 		u32_t protocol,
       
    61 		u32_t previous_state,
       
    62 		u32_t current_state,
       
    63 		u8_t eap_identifier,
       
    64 		bool allow_send_eap_success);
       
    65 
       
    66 
       
    67 #if defined(USE_EAP_EXPANDED_TYPES)
       
    68 
       
    69 	EAP_FUNC_IMPORT eap_type_simple_config_state_notification_c(
       
    70 		abs_eap_am_tools_c * const tools,
       
    71 		const eap_am_network_id_c * const send_network_id,
       
    72 		bool is_client,
       
    73 		eap_state_notification_eap_e,
       
    74 		eap_protocol_layer_e layer,
       
    75 		eap_type_value_e eap_type,
       
    76 		u32_t previous_state,
       
    77 		u32_t current_state,
       
    78 		u8_t eap_identifier,
       
    79 		bool allow_send_eap_success);
       
    80 
       
    81 #endif //#if defined(USE_EAP_EXPANDED_TYPES)
       
    82 
       
    83 
       
    84 	EAP_FUNC_IMPORT eap_type_simple_config_state_notification_c(
       
    85 		abs_eap_am_tools_c * const tools,
       
    86 		const eap_am_network_id_c * const send_network_id,
       
    87 		bool is_client,
       
    88 		eap_state_notification_eap_e,
       
    89 		eap_protocol_layer_e layer,
       
    90 		eap_type_ietf_values_e eap_type,
       
    91 		u32_t previous_state,
       
    92 		u32_t current_state,
       
    93 		u8_t eap_identifier,
       
    94 		bool allow_send_eap_success);
       
    95 
       
    96 
       
    97 	//--------------------------------------------------
       
    98 }; // class eap_type_simple_config_state_notification_c
       
    99 
       
   100 #endif //#if !defined(_EAP_SIMPLE_CONFIG_STATE_NOTIFICATION_H_)
       
   101 
       
   102 //--------------------------------------------------
       
   103 
       
   104 
       
   105 
       
   106 // End.