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

Defined enum's

bdtconnectionstate defined in line 34; used 2 times
  • in line 44(2)
connectionstate defined in line 28; used 2 times
  • in line 43(2)

Defined macros

CourierConnectionHeader defined in line 26; used 1 times
  • in line 25

Usage of this include

Last modified: 1986-03-13
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 902
Valid CSS Valid XHTML 1.0 Strict