fixes for range locking
[unix-history] / usr / src / sys / netiso / tp_timer.h
CommitLineData
9ef81b30
KS
1/***********************************************************
2 Copyright IBM Corporation 1987
3
4 All Rights Reserved
5
6Permission to use, copy, modify, and distribute this software and its
7documentation for any purpose and without fee is hereby granted,
8provided that the above copyright notice appear in all copies and that
9both that copyright notice and this permission notice appear in
10supporting documentation, and that the name of IBM not be
11used in advertising or publicity pertaining to distribution of the
12software without specific, written prior permission.
13
14IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20SOFTWARE.
21
22******************************************************************/
23
24/*
25 * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
26 */
27/*
28 * ARGO TP
29 *
30 * $Header: tp_timer.h,v 5.1 88/10/12 12:21:41 root Exp $
31 * $Source: /usr/argo/sys/netiso/RCS/tp_timer.h,v $
44f52ea5 32 * @(#)tp_timer.h 7.3 (Berkeley) %G% *
9ef81b30
KS
33 *
34 * ARGO TP
35 * The callout structures used by the tp timers.
36 */
37
38#ifndef __TP_CALLOUT__
39#define __TP_CALLOUT__
40
41/* C timers - one per tpcb, generally cancelled */
42
43struct Ccallout {
44 int c_time; /* incremental time */
45 int c_active; /* this timer is active? */
46};
47
48/* E timers - generally expire or there must be > 1 active per tpcb */
49struct Ecallout {
50 int c_time; /* incremental time */
51 int c_func; /* function to call */
52 u_int c_arg1; /* argument to routine */
53 u_int c_arg2; /* argument to routine */
54 int c_arg3; /* argument to routine */
55 struct Ecallout *c_next;
56};
57
58#endif __TP_CALLOUT__