Annotation of 43BSDReno/sys/netiso/tp_timer.h, revision 1.1

1.1     ! root        1: /***********************************************************
        !             2:                Copyright IBM Corporation 1987
        !             3: 
        !             4:                       All Rights Reserved
        !             5: 
        !             6: Permission to use, copy, modify, and distribute this software and its 
        !             7: documentation for any purpose and without fee is hereby granted, 
        !             8: provided that the above copyright notice appear in all copies and that
        !             9: both that copyright notice and this permission notice appear in 
        !            10: supporting documentation, and that the name of IBM not be
        !            11: used in advertising or publicity pertaining to distribution of the
        !            12: software without specific, written prior permission.  
        !            13: 
        !            14: IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
        !            15: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
        !            16: IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
        !            17: ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
        !            18: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
        !            19: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
        !            20: SOFTWARE.
        !            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 $
        !            32:  *     @(#)tp_timer.h  7.3 (Berkeley) 8/29/89 *
        !            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: 
        !            43: struct 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 */
        !            49: struct 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__

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.