diff options
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 51 |
1 files changed, 19 insertions, 32 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.7 2008/03/02 10:37:56 james + * *** empty log message *** + * * Revision 1.6 2008/02/28 11:27:48 james * *** empty log message *** * @@ -52,37 +55,32 @@ #define IPC_MSG_TYPE_SETSIZE 12 #define IPC_MSG_TYPE_RESET 13 -typedef struct -{ +typedef struct { int32_t size; int32_t type; uint8_t payload[0]; } IPC_Msg_hdr; -typedef struct -{ +typedef struct { int32_t size; int32_t type; } IPC_Msg_noop; -typedef struct -{ +typedef struct { int32_t size; int32_t type; char msg[0]; } IPC_Msg_debug; -typedef struct -{ +typedef struct { int32_t size; int32_t type; History_ent history; } IPC_Msg_history; -typedef struct -{ +typedef struct { int32_t size; int32_t type; int32_t len; @@ -90,15 +88,13 @@ typedef struct } IPC_Msg_VT102; -typedef struct -{ +typedef struct { int32_t size; int32_t type; int32_t key; } IPC_Msg_key; -typedef struct -{ +typedef struct { int32_t size; int32_t type; int32_t len; @@ -106,69 +102,60 @@ typedef struct } IPC_Msg_term; -typedef struct -{ +typedef struct { int32_t size; int32_t type; char status[0]; } IPC_Msg_status; -typedef struct -{ +typedef struct { int32_t size; int32_t type; int32_t baud; } IPC_Msg_setbaud; -typedef struct -{ +typedef struct { int32_t size; int32_t type; } IPC_Msg_sendbreak; -typedef struct -{ +typedef struct { int32_t size; int32_t type; int32_t flow; } IPC_Msg_setflow; -typedef struct -{ +typedef struct { int32_t size; int32_t type; int32_t ansi; } IPC_Msg_setansi; -typedef struct -{ +typedef struct { int32_t size; int32_t type; } IPC_Msg_hangup; -typedef struct -{ +typedef struct { int32_t size; int32_t type; CRT_Pos winsize; } IPC_Msg_setsize; -typedef struct -{ +typedef struct { int32_t size; int32_t type; } IPC_Msg_reset; -typedef union -{ +typedef union { IPC_Msg_hdr hdr; IPC_Msg_noop noop; IPC_Msg_debug debug; |