#pragma once #include #include "evt_core.h" typedef void (*timer_cb)(struct evt_core_ctx* ctx, void* user_data); void init_timer(struct evt_core_ctx* evts); int set_timeout(struct evt_core_ctx* evts, uint64_t milli_sec, void* ctx, timer_cb cb); void stop_timer(struct evt_core_ctx* evts);