1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/lib/webfuse/impl/timer/timer.h
2020-06-28 19:43:08 +02:00

38 lines
587 B
C

#ifndef WF_IMPL_TIMER_TIMER_H
#define WF_IMPL_TIMER_TIMER_H
#include "webfuse/impl/timer/on_timer_fn.h"
#ifdef __cplusplus
extern "C"
{
#endif
struct wf_timer;
struct wf_timer_manager;
extern struct wf_timer *
wf_impl_timer_create(
struct wf_timer_manager * manager,
wf_timer_on_timer_fn * on_timer,
void * user_data);
extern void
wf_impl_timer_dispose(
struct wf_timer * timer);
extern void
wf_impl_timer_start(
struct wf_timer * timer,
int timeout_ms);
extern void
wf_impl_timer_cancel(
struct wf_timer * timer);
#ifdef __cplusplus
}
#endif
#endif