1 /*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. 9 * 10 * %sccs.include.redist.c% 11 * 12 * @(#)callout.h 8.2 (Berkeley) 01/21/94 13 */ 14 15 struct callout { 16 struct callout *c_next; /* next callout in queue */ 17 void *c_arg; /* function argument */ 18 void (*c_func) __P((void *)); /* function to call */ 19 int c_time; /* ticks to the event */ 20 }; 21 22 #ifdef KERNEL 23 struct callout *callfree, *callout, calltodo; 24 int ncallout; 25 #endif 26