xref: /original-bsd/sys/sys/callout.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)callout.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 struct callout {
11 	struct	callout *c_next;		/* next callout in queue */
12 	void	*c_arg;				/* function argument */
13 	void	(*c_func) __P((void *));	/* 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