29 #ifndef LELY_IO2_USER_TIMER_H_
30 #define LELY_IO2_USER_TIMER_H_
47 void *io_user_timer_alloc(
void);
48 void io_user_timer_free(
void *ptr);
const struct ev_exec_vtbl *const ev_exec_t
An abstract task executor.
This header file is part of the I/O library; it contains the abstract timer interface.
const struct io_timer_vtbl *const io_timer_t
An abstract timer.
void io_user_timer_destroy(io_timer_t *timer)
Destroys a user-defined timer.
void io_user_timer_setnext_t(const struct timespec *tp, void *arg)
The type of function invoked by a user-defined timer when the expiration time is updated with io_time...
io_timer_t * io_user_timer_create(io_ctx_t *ctx, ev_exec_t *exec, io_user_timer_setnext_t *func, void *arg)
Creates a new user-defined timer.