Release 4.1
[unix-history] / usr / src / usr.bin / tn3270 / api / api_exch.h
index 84781ba..c3d3e40 100644 (file)
@@ -1,9 +1,26 @@
+/*
+ * Copyright (c) 1988 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)api_exch.h  4.1 (Berkeley) %G%
+ */
+
 /*
  * This file describes the structures passed back and forth
  * between the API client and API server on a Unix-based
  * tn3270 implementation.
 /*
  * This file describes the structures passed back and forth
  * between the API client and API server on a Unix-based
  * tn3270 implementation.
- *
- * @(#)api_exch.h      1.6 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -41,8 +58,9 @@
 #define        EXCH_EXCH_TYPE          3       /* The following is a type */
 
 struct exch_exch {
 #define        EXCH_EXCH_TYPE          3       /* The following is a type */
 
 struct exch_exch {
+    char
+       opcode;                 /* COMMAND, TURNAROUND, or TYPE */
     unsigned char
     unsigned char
-       opcode,                 /* COMMAND, TURNAROUND, or TYPE */
        my_sequence,            /* 0-ff, initially zero */
        your_sequence,          /* 0-ff, initially zero */
        command_or_type;        /* Application level command or type */
        my_sequence,            /* 0-ff, initially zero */
        your_sequence,          /* 0-ff, initially zero */
        command_or_type;        /* Application level command or type */