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