eapol/eapol_framework/eapol_common/include/abs_eap_core.h
branchRCL_3
changeset 18 bad0cc58d154
parent 2 1c7bc153c08e
child 19 c74b3d9f6b9e
equal deleted inserted replaced
17:30e048a7b597 18:bad0cc58d154
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 2.1.2 %
    19 * %version: %
    20 */
    20 */
    21 
    21 
    22 #if !defined(_ABS_EAP_CORE_H_)
    22 #if !defined(_ABS_EAP_CORE_H_)
    23 #define _ABS_EAP_CORE_H_
    23 #define _ABS_EAP_CORE_H_
    24 
    24 
   207 	virtual eap_status_e cancel_timer(
   207 	virtual eap_status_e cancel_timer(
   208 		abs_eap_base_timer_c * const initializer, 
   208 		abs_eap_base_timer_c * const initializer, 
   209 		const u32_t id) = 0;
   209 		const u32_t id) = 0;
   210 
   210 
   211 	/**
   211 	/**
   212 	 * The cancel_all_timers() function cancels all timers.
       
   213 	 * User should use this in termination of the stack before
       
   214 	 * the adaptation module of tools is deleted.
       
   215 	 * Preferred mode is to cancel each timer directly
       
   216 	 * using cancel_timer() function.
       
   217 	 *
       
   218 	 * Adaptation module internally implements the timer.
       
   219 	 */
       
   220 	virtual eap_status_e cancel_all_timers() = 0;
       
   221 
       
   222 	/**
       
   223 	 * This function queries the validity of EAP-type.
   212 	 * This function queries the validity of EAP-type.
   224 	 * Lower layer should return eap_status_ok if this EAP-type is supported.
   213 	 * Lower layer should return eap_status_ok if this EAP-type is supported.
   225 	 * @param eap_type is the requested EAP-type.
   214 	 * @param eap_type is the requested EAP-type.
   226 	 */
   215 	 */
   227 	virtual eap_status_e check_is_valid_eap_type(const eap_type_value_e eap_type) = 0;
   216 	virtual eap_status_e check_is_valid_eap_type(const eap_type_value_e eap_type) = 0;