eapol/eapol_framework/eapol_common/type/mschapv2/include/eap_type_mschapv2_state.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: %
    19 * %version: 10.1.2 %
    20 */
    20 */
    21 
    21 
    22 #ifndef _MSCHAPV2_STATE_H_
    22 #ifndef _MSCHAPV2_STATE_H_
    23 #define _MSCHAPV2_STATE_H_
    23 #define _MSCHAPV2_STATE_H_
    24 
    24 
    69 public:
    69 public:
    70 	eap_type_mschapv2_state_c(abs_eap_am_tools_c * const tools, const bool client);
    70 	eap_type_mschapv2_state_c(abs_eap_am_tools_c * const tools, const bool client);
    71 
    71 
    72 	EAP_FUNC_IMPORT virtual ~eap_type_mschapv2_state_c();
    72 	EAP_FUNC_IMPORT virtual ~eap_type_mschapv2_state_c();
    73 
    73 
    74 	void reset();
       
    75 
       
    76 	eap_type_mschapv2_state_variable_e get_state() const;
    74 	eap_type_mschapv2_state_variable_e get_state() const;
    77 
    75 
    78 	void set_state(const eap_type_mschapv2_state_variable_e new_state);
    76 	void set_state(const eap_type_mschapv2_state_variable_e new_state);
    79 
    77 
    80 	void set_state(const eap_type_mschapv2_state_variable_e new_state, const eap_type_mschapv2_state_variable_e next_state);
    78 	void set_state(const eap_type_mschapv2_state_variable_e new_state, const eap_type_mschapv2_state_variable_e next_state);
    84 	void set_failure_message_received();
    82 	void set_failure_message_received();
    85 
    83 
    86 	void unset_failure_message_received();
    84 	void unset_failure_message_received();
    87 
    85 
    88 	void cancel_eap_failure_timer();
    86 	void cancel_eap_failure_timer();
    89 
       
    90 	static eap_const_string get_state_string(const eap_type_mschapv2_state_variable_e state);
       
    91 };
    87 };
    92 
    88 
    93 
    89 
    94 
    90 
    95 
    91