home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Header: /ax/networking:include/sys/callout.h:networking 1.1 $
- * $Source: /ax/networking:include/sys/callout.h: $
- *
- * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
- *
- * $Log: callout.h,v $
- * Revision 1.1 95/01/11 10:18:58 kwelton
- * Initial revision
- *
- * Revision 1.3 88/06/17 20:18:23 beta
- * Acorn Unix initial beta version
- *
- */
- /* @(#)callout.h 1.2 87/05/15 3.2/4.3NFSSRC */
- /*
- * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @(#)callout.h 7.1 (Berkeley) 6/4/86
- */
-
- /*
- * 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 callout {
- int c_time; /* incremental time */
- caddr_t c_arg; /* argument to routine */
- int (*c_func)(); /* routine */
- struct callout *c_next;
- };
- #ifdef KERNEL
- #ifdef DYNALLOC
- struct callout *callfree, *callout, calltodo;
- #else DYNALLOC
- struct callout *callfree, stat_callout[NCALLOUT], *callout, calltodo;
- #endif DYNALLOC
- int ncallout;
- #endif
-
- /* EOF callout.h */
-