/*	Convergent Technologies - System V - May 1983	*/
/*	"@(#)callo.h	1.3"	*/

#ifndef callout_h
#define callout_h

#include <sys/types.h>

/*
 * The callout structure is for a routine arranging
 * to be called by the clock interrupt
 * (clock.c) with a specified argument,
 * in a specified amount of time.
 * Used, for example, to time tab delays on typewriters.
 */

struct	callo
{
	int	c_time;		/* incremental time */
	caddr_t	c_arg;		/* argument to routine */
	int	(*c_func)();	/* routine */
};

/* addition for fcallout to allow for canceling */
struct	fcallo
{
	int	c_time;		/* incremental time */
	caddr_t	c_arg;		/* argument to routine */
	int	(*c_func)();	/* routine */
	short	c_can;		/* if 1 then has been canceled */
};
#ifdef KERNEL
extern struct callo callout[];
#endif
#endif callout_h
