1 /* BEGIN INCLUDE FILE: ws_msg.h */
  2 
  3 /* HISTORY COMMENTS:
  4   1) change(86-06-01,Westcott), approve(87-07-13,MCR7580),
  5      audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072):
  6      Created.
  7   2) change(86-09-03,Flegel), approve(87-07-13,MCR7580),
  8      audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072):
  9      Installed a message structure which contains
 10      no data.
 11                                                    END HISTORY COMMENTS */
 12 
 13 /* FUNCTION:
 14 
 15 Defines formats for the mowse internal minor capabilities.  Equivalent include
 16 file wsmsg.mac
 17 */
 18 
 19 struct input_msg {
 20    char    system;         /* destination system id        */
 21    char    major;          /* destination major capability */
 22    char    minor;          /* destination minor capability */
 23    char    source_system;  /* source system id             */
 24    char    source_major;   /* source major capability      */
 25    char    msg_data[1];    /* placeholder for data string  */
 26 };
 27 
 28 struct more_msg {
 29    char    system;         /* destination system id        */
 30    char    major;          /* destination major capability */
 31    char    more_minor;     /* MORE_DATA minor capability   */
 32    char    source_system;  /* source system id             */
 33    char    source_major;   /* source major capability      */
 34    char    minor;          /* destination minor capability */
 35    char    msg_data[1];    /* placeholder for data string  */
 36 };
 37 
 38 struct execom_msg {        /* execute_command message      */
 39    char    system;         /* destination system id        */
 40    char    major;          /* destination major capability */
 41    char    minor;          /* destination minor capability */
 42    char    source_system;  /* source system id             */
 43    char    source_major;   /* source major capability      */
 44    int     cmd_id;         /* unique id for command        */
 45    char    command [1];    /* placeholder for data string  */
 46 };
 47 
 48 struct exerep_msg {        /* execute_command_reply        */
 49    char    system;         /* destination system id        */
 50    char    major;          /* destination major capability */
 51    char    minor;          /* destination minor capability */
 52    char    source_system;  /* source system id             */
 53    char    source_major;   /* source major capability      */
 54    int     cmd_id;         /* unique id for command        */
 55    char    status;         /* status of execute attempt    */
 56 };
 57 
 58 struct execap_msg {        /* execute capability message   */
 59    char    system;         /* destination system id        */
 60    char    major;          /* destination major capability */
 61    char    minor;          /* destination minor capability */
 62    char    source_system;  /* source system id             */
 63    char    source_major;   /* source major capability      */
 64    char    data_len;       /* length of data string        */
 65    char    data_buf[1];    /* placeholder for data string  */
 66 };
 67 
 68 struct alter_cat_msg {     /* Alter CAT entry              */
 69    char    system;         /* destination system id        */
 70    char    major;          /* destination major capability */
 71    char    minor;          /* destination minor capability */
 72    char    source_system;  /* source system id             */
 73    char    source_major;   /* source major capability      */
 74    char    rat_major;      /* major cap to be inserted     */
 75    char    major_name[2];  /* placeholder for data string  */
 76 };
 77 
 78 struct query_msg {         /* background query/info message*/
 79    char    minor;          /* destination minor capability */
 80    char    source_system;  /* source system id             */
 81    char    source_major;   /* source major capability      */
 82    char    msg_data[1];    /* placeholder for data string  */
 83 };
 84 
 85 struct packet_msg {
 86    char    system;         /* destination system id        */
 87    char    major;          /* destination major capability */
 88    char    minor;          /* destination minor capability */
 89    char    source_system;  /* source system id             */
 90                            /* = 0, if foreground is sender */
 91    char    source_major;   /* source major capability      */
 92                            /* = 0, if foreground is sender */
 93    char    msg_data[128];  /* data string                  */
 94 };
 95 
 96 struct null_msg {          /* Message with no data         */
 97    char    system;         /* destination system id        */
 98    char    major;          /* destination major capability */
 99    char    minor;          /* destination minor capability */
100    char    source_system;  /* source system id             */
101    char    source_major;   /* source major capability      */
102 };
103 
104 /* END INCLUDE FILE: ws_msg.h */
105 ^Z