From 0a4c67a874e7bce9e358c82489782c9e402a58a4 Mon Sep 17 00:00:00 2001 From: james <> Date: Mon, 10 Mar 2008 11:49:33 +0000 Subject: *** empty log message *** --- src/ipc.h | 57 +++++++++++++++++++++------------------------------------ 1 file changed, 21 insertions(+), 36 deletions(-) (limited to 'src/ipc.h') diff --git a/src/ipc.h b/src/ipc.h index 9b2f438..212d3cf 100644 --- a/src/ipc.h +++ b/src/ipc.h @@ -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; -- cgit v1.2.3