eapol/eapol_framework/eapol_common/include/abs_eap_core.h
branchRCL_3
changeset 19 c74b3d9f6b9e
parent 18 bad0cc58d154
equal deleted inserted replaced
18:bad0cc58d154 19: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: 2.1.2 %
    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 	/**
   212 	 * This function queries the validity of EAP-type.
   223 	 * This function queries the validity of EAP-type.
   213 	 * Lower layer should return eap_status_ok if this EAP-type is supported.
   224 	 * Lower layer should return eap_status_ok if this EAP-type is supported.
   214 	 * @param eap_type is the requested EAP-type.
   225 	 * @param eap_type is the requested EAP-type.
   215 	 */
   226 	 */
   216 	virtual eap_status_e check_is_valid_eap_type(const eap_type_value_e eap_type) = 0;
   227 	virtual eap_status_e check_is_valid_eap_type(const eap_type_value_e eap_type) = 0;