119 void (*f)(
void *),
void *ptr);
uint32_t clock_time_t
Definition: contiki-conf.h:31
void ctimer_init(void)
Initialize the callback timer library.
Definition: ctimer.c:95
void ctimer_stop(struct ctimer *c)
Stop a pending callback timer.
Definition: ctimer.c:151
void ctimer_set(struct ctimer *c, clock_time_t t, void(*f)(void *), void *ptr)
Set a callback timer.
Definition: ctimer.c:103
int ctimer_expired(struct ctimer *c)
Check if a callback timer has expired.
Definition: ctimer.c:163
void ctimer_reset(struct ctimer *c)
Reset a callback timer with the same interval as was previously set.
Definition: ctimer.c:125
void ctimer_restart(struct ctimer *c)
Restart a callback timer from the current point in time.
Definition: ctimer.c:138
void(* f)(void *)
Definition: ctimer.h:68
void * ptr
Definition: ctimer.h:69
struct ctimer * next
Definition: ctimer.h:65
struct process * p
Definition: ctimer.h:67
Definition: process.h:327