diff options
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 57 |
1 files changed, 21 insertions, 36 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.12 2008/03/10 11:49:33 james + * *** empty log message *** + * * Revision 1.11 2008/03/07 14:13:40 james * *** empty log message *** * @@ -69,44 +72,38 @@ #define IPC_MSG_TYPE_RESET 14 #define IPC_MSG_TYPE_KILLME 15 -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; char msg[0]; } IPC_Msg_initialize; -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; @@ -114,15 +111,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; @@ -130,76 +125,66 @@ 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 struct -{ +typedef struct { int32_t size; int32_t type; } IPC_Msg_killme; -typedef union -{ +typedef union { IPC_Msg_hdr hdr; IPC_Msg_noop noop; IPC_Msg_debug debug; |