2 * Copyright (C) 2009 Diego Hernan Borghetti.
9 typedef struct _E_Timer
{
10 struct _E_Timer
*next
;
11 struct _E_Timer
*prev
;
16 /* time in seconds. */
22 /* and the callback function. */
23 void (*exec
)(int, void *);
29 int e_timer_list(void);
30 void e_timer_exec(void);
31 void e_timer_add(int id
, double time
, void (*fn
)(int, void *), void *data
);
32 void e_timer_rem(int id
);
34 #endif /* _ECO_TIMER_H */