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
62 #define SYS_TIMEOUTS_SLEEPTIME_INFINITE 0xFFFFFFFF
73 #if LWIP_DEBUG_TIMERNAMES
74 const char* handler_name;
91 typedef void (* sys_timeout_handler)(
void *arg);
94 struct sys_timeo *next;
96 sys_timeout_handler h;
98 #if LWIP_DEBUG_TIMERNAMES
99 const char* handler_name;
103 void sys_timeouts_init(
void);
105 #if LWIP_DEBUG_TIMERNAMES
106 void sys_timeout_debug(
u32_t msecs, sys_timeout_handler handler,
void *arg,
const char* handler_name);
107 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler)
109 void sys_timeout(
u32_t msecs, sys_timeout_handler handler,
void *arg);
112 void sys_untimeout(sys_timeout_handler handler,
void *arg);
113 void sys_restart_timeouts(
void);
114 void sys_check_timeouts(
void);
115 u32_t sys_timeouts_sleeptime(
void);
118 struct sys_timeo** sys_timeouts_get_next_timeout(
void);
time_t time(time_t *timer)
Definition: Compiler.c:73
uint32_t u32_t
Definition: arch.h:129
Definition: timeouts.h:70
lwip_cyclic_timer_handler handler
Definition: timeouts.h:72
u32_t interval_ms
Definition: timeouts.h:71
void set_sys_time(u32_t sys_time_new)
Definition: timeouts.c:470
void(* lwip_cyclic_timer_handler)(void)
Definition: timeouts.h:66
const int lwip_num_cyclic_timers
Definition: timeouts.c:120
const struct lwip_cyclic_timer lwip_cyclic_timers[]
Definition: timeouts.c:80