eapol/eapol_framework/eapol_common/include/abs_eap_base_type.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_BASE_TYPE_H_)
    22 #if !defined(_ABS_EAP_BASE_TYPE_H_)
    23 #define _ABS_EAP_BASE_TYPE_H_
    23 #define _ABS_EAP_BASE_TYPE_H_
    24 
    24 
   256 	virtual eap_status_e cancel_timer(
   256 	virtual eap_status_e cancel_timer(
   257 		abs_eap_base_timer_c * const initializer, 
   257 		abs_eap_base_timer_c * const initializer, 
   258 		const u32_t id) = 0;
   258 		const u32_t id) = 0;
   259 
   259 
   260 	/**
   260 	/**
   261 	 * The cancel_all_timers() function cancels all timers.
       
   262 	 * User should use this in termination of the stack before
       
   263 	 * the adaptation module of tools is deleted.
       
   264 	 * Preferred mode is to cancel each timer directly
       
   265 	 * using cancel_timer() function.
       
   266 	 *
       
   267 	 * Adaptation module internally implements the timer.
       
   268 	 */
       
   269 	virtual eap_status_e cancel_all_timers() = 0;
       
   270 
       
   271 	/**
       
   272 	 * This is needed by PEAP type.
   261 	 * This is needed by PEAP type.
   273 	 * The load_module() function function indicates the lower level to
   262 	 * The load_module() function function indicates the lower level to
   274 	 * load new module of EAP-type.
   263 	 * load new module of EAP-type.
   275 	 * @param type is the requested EAP-type.
   264 	 * @param type is the requested EAP-type.
   276 	 * @param partner is pointer to the caller object.
   265 	 * @param partner is pointer to the caller object.