1 #ifndef ACL_TIMER_INCLUDE_H 2 #define ACL_TIMER_INCLUDE_H 4 #include "../stdlib/acl_define.h" 6 #include "../stdlib/acl_iterator.h" 7 #include "../stdlib/acl_ring.h"
ACL_API void acl_timer_walk(ACL_TIMER *timer, void(*action)(ACL_TIMER_INFO *, void *), void *arg)
ACL_API int acl_timer_size(ACL_TIMER *timer)
ACL_API acl_int64 acl_timer_cancel(ACL_TIMER *timer, void *obj)
ACL_API acl_int64 acl_timer_request(ACL_TIMER *timer, void *obj, acl_int64 delay)
acl_int64(* cancel)(ACL_TIMER *timer, void *obj)
ACL_API acl_int64 acl_timer_left(ACL_TIMER *timer)
ACL_API ACL_TIMER * acl_timer_new(void)
ACL_API void acl_timer_free(ACL_TIMER *timer, void(*free_fn)(void *))
ACL_API void * acl_timer_popup(ACL_TIMER *timer)
struct ACL_TIMER_INFO ACL_TIMER_INFO
acl_int64(* request)(ACL_TIMER *timer, void *obj, acl_int64 delay)