summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/callout.h
blob: 774d7f8edfa98ad77b9fd4a6d11d99e6e354c72e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Note:  This is a copy of /usr/include/sys/callout.h with the c_func */
/* member of struct callout changed from a pointer to a function of type int*/
/* to a pointer to a function of type void (generic pointer) as per */
/* ANSI C */

/* $FreeBSD$ */

#ifndef _ppp_callout_h
#define _ppp_callout_h

struct	callout {
	int	c_time;		/* incremental time */
	caddr_t	c_arg;		/* argument to routine */
	void	(*c_func)();	/* routine (changed to void (*)() */
	struct	callout *c_next;
};

#endif /*!_ppp_callout_h*/
OpenPOWER on IntegriCloud