23#ifndef DPL_DPL_CALLOUT_H
24#define DPL_DPL_CALLOUT_H
26#include "os/os_callout.h"
79 os_callout_stop(&c->
co);
static void dpl_callout_stop(struct dpl_callout *c)
Stops the callout from firing.
static void dpl_callout_init(struct dpl_callout *c, struct dpl_eventq *q, dpl_event_fn *e_cb, void *e_arg)
Initialize a callout.
static dpl_error_t dpl_callout_reset(struct dpl_callout *c, dpl_time_t ticks)
Reset the callout to fire off in 'ticks' ticks.
os_error_t dpl_error_t
dpl error type
void dpl_event_fn(struct dpl_event *ev)
dpl event callback function
os_time_t dpl_time_t
dpl time type
void os_event_fn(struct os_event *ev)
Event callback function.
struct os_callout co
the callout
struct os_eventq evq
the event queue