eapol/eapol_framework/eapol_common/type/mschapv2/include/eap_type_mschapv2_state.h
changeset 26 9abfd4f00d37
parent 2 1c7bc153c08e
child 46 c74b3d9f6b9e
child 49 43351a4f2da3
equal deleted inserted replaced
25:e03a3db4489e 26:9abfd4f00d37
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 10.1.2 %
    19 * %version: %
    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 
    74 	eap_type_mschapv2_state_variable_e get_state() const;
    76 	eap_type_mschapv2_state_variable_e get_state() const;
    75 
    77 
    76 	void set_state(const eap_type_mschapv2_state_variable_e new_state);
    78 	void set_state(const eap_type_mschapv2_state_variable_e new_state);
    77 
    79 
    78 	void set_state(const eap_type_mschapv2_state_variable_e new_state, const eap_type_mschapv2_state_variable_e next_state);
    80 	void set_state(const eap_type_mschapv2_state_variable_e new_state, const eap_type_mschapv2_state_variable_e next_state);
    82 	void set_failure_message_received();
    84 	void set_failure_message_received();
    83 
    85 
    84 	void unset_failure_message_received();
    86 	void unset_failure_message_received();
    85 
    87 
    86 	void cancel_eap_failure_timer();
    88 	void cancel_eap_failure_timer();
       
    89 
       
    90 	static eap_const_string get_state_string(const eap_type_mschapv2_state_variable_e state);
    87 };
    91 };
    88 
    92 
    89 
    93 
    90 
    94 
    91 
    95