callout.h (1817) | callout.h (2112) |
---|---|
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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)callout.h 8.2 (Berkeley) 1/21/94 | 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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)callout.h 8.2 (Berkeley) 1/21/94 |
39 * $Id$ | 39 * $Id: callout.h,v 1.2 1994/08/02 07:52:40 davidg Exp $ |
40 */ 41 42struct callout { 43 struct callout *c_next; /* next callout in queue */ 44 void *c_arg; /* function argument */ 45 void (*c_func) __P((void *)); /* function to call */ 46 int c_time; /* ticks to the event */ 47}; 48 49#ifdef KERNEL | 40 */ 41 42struct callout { 43 struct callout *c_next; /* next callout in queue */ 44 void *c_arg; /* function argument */ 45 void (*c_func) __P((void *)); /* function to call */ 46 int c_time; /* ticks to the event */ 47}; 48 49#ifdef KERNEL |
50struct callout *callfree, *callout, calltodo; 51int ncallout; | 50extern struct callout *callfree, *callout, calltodo; 51extern int ncallout; |
52#endif | 52#endif |