38 #ifndef LWIP_HDR_TIMEOUTS_H 
   39 #define LWIP_HDR_TIMEOUTS_H 
   51 #ifndef LWIP_DEBUG_TIMERNAMES 
   53 #define LWIP_DEBUG_TIMERNAMES SYS_DEBUG 
   55 #define LWIP_DEBUG_TIMERNAMES 0 
   68 #if LWIP_DEBUG_TIMERNAMES 
   69   const char* handler_name;
 
   84 typedef void (* sys_timeout_handler)(
void *arg);
 
   87   struct sys_timeo *next;
 
   89   sys_timeout_handler h;
 
   91 #if LWIP_DEBUG_TIMERNAMES 
   92   const char* handler_name;
 
   96 void sys_timeouts_init(
void);
 
   98 #if LWIP_DEBUG_TIMERNAMES 
   99 void sys_timeout_debug(
u32_t msecs, sys_timeout_handler handler, 
void *arg, 
const char* handler_name);
 
  100 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) 
  102 void sys_timeout(
u32_t msecs, sys_timeout_handler handler, 
void *arg);
 
  105 void sys_untimeout(sys_timeout_handler handler, 
void *arg);
 
  106 void sys_restart_timeouts(
void);
 
  108 void sys_check_timeouts(
void);
 
  109 u32_t sys_timeouts_sleeptime(
void);
 
  111 void sys_timeouts_mbox_fetch(
sys_mbox_t *mbox, 
void **msg);