Lines Matching defs:callout
1 /* $NetBSD: callout.h,v 1.22 2005/12/11 12:25:20 christos Exp $ */
74 struct callout;
78 struct callout *elem;
83 struct callout *elem;
92 struct callout {
96 int c_time; /* when callout fires */
100 #define CALLOUT_PENDING 0x0002 /* callout is on the queue */
101 #define CALLOUT_FIRED 0x0004 /* callout has fired */
102 #define CALLOUT_INVOKING 0x0008 /* callout function is being invoked */
111 void callout_init(struct callout *);
112 void callout_setfunc(struct callout *, void (*)(void *), void *);
113 void callout_reset(struct callout *, int, void (*)(void *), void *);
114 void callout_schedule(struct callout *, int);
115 void callout_stop(struct callout *);