/* Copyright 1984 by the Massachusetts Institute of Technology */

/* The timer structer definitions.
 */

#define	timer	struct timerstr

timer {
	timer	*t_link;	/* the next timer */
	unsl	t_time;		/* the time for this timer to fire */
	void	(*t_routine)();	/* the routine to run when the timer fires */
	word	t_data;		/* the data to pass the routine */
	unsl	t_length;	/* the length of time the timer was originally
				 * set for */
	unsb	t_priority;	/* the priority to run the task at */
	bitb	t_flags;	/* flags about the timer */
	unss	t_unused;	/* unused */
};

/* flag bits */
#define	INUSE	01			/* Set if this timer is being used */
#define	REPEAT	02			/* Set if this is a repeating timer */
