24 #ifndef CORRELATION_TIMERWHEEL_H_INCLUDED
25 #define CORRELATION_TIMERWHEEL_H_INCLUDED
31 typedef void (*
TWCallbackFunc)(TimerWheel *tw, guint64
now, gpointer user_data, gpointer caller_context);
34 GDestroyNotify user_data_free);
Definition: timerwheel.c:28
Definition: timerwheel.c:128
GDestroyNotify assoc_data_free
Definition: timerwheel.c:135
gpointer assoc_data
Definition: timerwheel.c:134
guint64 now
Definition: timerwheel.c:131
TimerWheel * timer_wheel_new(void)
Definition: timerwheel.c:384
gpointer timer_wheel_get_associated_data(TimerWheel *self)
Definition: timerwheel.c:378
void timer_wheel_mod_timer(TimerWheel *self, TWEntry *entry, gint new_timeout)
Definition: timerwheel.c:208
void(* TWCallbackFunc)(TimerWheel *tw, guint64 now, gpointer user_data, gpointer caller_context)
Definition: timerwheel.h:31
void timer_wheel_del_timer(TimerWheel *self, TWEntry *entry)
Definition: timerwheel.c:200
void timer_wheel_set_time(TimerWheel *self, guint64 new_now, gpointer caller_context)
Definition: timerwheel.c:297
guint64 timer_wheel_get_timer_expiration(TimerWheel *self, TWEntry *entry)
Definition: timerwheel.c:221
void timer_wheel_set_associated_data(TimerWheel *self, gpointer assoc_data, GDestroyNotify assoc_data_free)
Definition: timerwheel.c:370
guint64 timer_wheel_get_time(TimerWheel *self)
Definition: timerwheel.c:346
void timer_wheel_free(TimerWheel *self)
Definition: timerwheel.c:402
TWEntry * timer_wheel_add_timer(TimerWheel *self, gint timeout, TWCallbackFunc cb, gpointer user_data, GDestroyNotify user_data_free)
Definition: timerwheel.c:182
void timer_wheel_expire_all(TimerWheel *self, gpointer caller_context)
Definition: timerwheel.c:352