Annotation of 43BSD/contrib/xns/xnslib/realcourierconnection.h, revision 1.1

1.1     ! root        1: /* $Header: realcourierconnection.h,v 2.0 85/11/21 07:22:17 jqj Exp $ */
        !             2: /*
        !             3:  $Log: realcourierconnection.h,v $
        !             4:  * Revision 2.0  85/11/21  07:22:17  jqj
        !             5:  * 4.3BSD standard release
        !             6:  * 
        !             7:  * Revision 1.3  85/03/11  16:37:04  jqj
        !             8:  * *** empty log message ***
        !             9:  * 
        !            10:  * Revision 1.3  85/03/11  16:37:04  jqj
        !            11:  * Public alpha-test version, released 11 March 1985
        !            12:  * 
        !            13:  * Revision 1.2  85/01/27  07:37:24  jqj
        !            14:  * finished but undebugged version
        !            15:  * 
        !            16:  */
        !            17: 
        !            18: /*
        !            19:  * entries in the database of active Courier connections
        !            20:  * This file replaces the definition of ``#define CourierConnection int''
        !            21:  * in courier.h
        !            22:  */
        !            23: 
        !            24: 
        !            25: #ifndef CourierConnectionHeader
        !            26: #define CourierConnectionHeader
        !            27: 
        !            28: enum connectionstate {
        !            29:        closed,                 /* no SPP connection */
        !            30:        wantversion,            /* need to receive Courier version */
        !            31:        inprogress,             /* got version, but no RETURN yet */
        !            32:        calldone                /* transaction completed.  Waiting for call */
        !            33:        };
        !            34: enum bdtconnectionstate {
        !            35:        wantdata,               /* call, but no reply on BDT connection */
        !            36:        established,            /* in middle of BDT transfer */
        !            37:        bdteomseen              /* BDT data done */
        !            38:        };
        !            39: 
        !            40: typedef struct {
        !            41:        int fd;
        !            42:        int abortseen;
        !            43:        enum connectionstate state;
        !            44:        enum bdtconnectionstate bdtstate;
        !            45:        struct sockaddr_ns host;
        !            46:        struct sphdr sphdrOpts;
        !            47: } CourierConnection;
        !            48: 
        !            49: extern CourierConnection *CourierOpen();
        !            50: 
        !            51: #endif

unix.superglobalmegacorp.com

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