BSD 4_3_Net_1 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 5 Jan 1987 02:14:43 +0000 (18:14 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 5 Jan 1987 02:14:43 +0000 (18:14 -0800)
Work on file xns/xnslib/realcourierconnection.h

Synthesized-from: CSRG/cd2/net.1

xns/xnslib/realcourierconnection.h [new file with mode: 0644]

diff --git a/xns/xnslib/realcourierconnection.h b/xns/xnslib/realcourierconnection.h
new file mode 100644 (file)
index 0000000..a66bfe3
--- /dev/null
@@ -0,0 +1,51 @@
+/* $Header: realcourierconnection.h,v 2.0 85/11/21 07:22:17 jqj Exp $ */
+/*
+ $Log: realcourierconnection.h,v $
+ * Revision 2.0  85/11/21  07:22:17  jqj
+ * 4.3BSD standard release
+ * 
+ * Revision 1.3  85/03/11  16:37:04  jqj
+ * *** empty log message ***
+ * 
+ * Revision 1.3  85/03/11  16:37:04  jqj
+ * Public alpha-test version, released 11 March 1985
+ * 
+ * Revision 1.2  85/01/27  07:37:24  jqj
+ * finished but undebugged version
+ * 
+ */
+
+/*
+ * entries in the database of active Courier connections
+ * This file replaces the definition of ``#define CourierConnection int''
+ * in courier.h
+ */
+
+
+#ifndef CourierConnectionHeader
+#define CourierConnectionHeader
+
+enum connectionstate {
+       closed,                 /* no SPP connection */
+       wantversion,            /* need to receive Courier version */
+       inprogress,             /* got version, but no RETURN yet */
+       calldone                /* transaction completed.  Waiting for call */
+       };
+enum bdtconnectionstate {
+       wantdata,               /* call, but no reply on BDT connection */
+       established,            /* in middle of BDT transfer */
+       bdteomseen              /* BDT data done */
+       };
+
+typedef struct {
+       int fd;
+       int abortseen;
+       enum connectionstate state;
+       enum bdtconnectionstate bdtstate;
+       struct sockaddr_ns host;
+       struct sphdr sphdrOpts;
+} CourierConnection;
+
+extern CourierConnection *CourierOpen();
+
+#endif