1993-08-14 10:29:28 +04:00
|
|
|
/* 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 */
|
|
|
|
|
1993-11-10 04:33:51 +03:00
|
|
|
/* $Id: callout.h,v 1.2 1993/11/10 01:33:57 paulus Exp $ */
|
|
|
|
|
1993-08-14 10:29:28 +04:00
|
|
|
#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*/
|