xref: /original-bsd/sys/sys/callout.h (revision abb30312)
1 /*-
2  * Copyright (c) 1990 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)callout.h	7.2 (Berkeley) 02/15/91
8  */
9 
10 struct callout {
11 	struct callout *c_next;		/* next callout in queue */
12 	caddr_t c_arg;			/* function argument */
13 	int (*c_func)();		/* function to call */
14 	int c_time;			/* ticks to the event */
15 };
16 
17 #ifdef KERNEL
18 struct callout *callfree, *callout, calltodo;
19 int ncallout;
20 #endif
21