From c945112e89222e697c3733c69eab685f606a5be5 Mon Sep 17 00:00:00 2001 From: james <> Date: Fri, 22 Jun 2012 10:22:25 +0000 Subject: *** empty log message *** --- src/ipc.h | 57 +++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 18 deletions(-) (limited to 'src/ipc.h') diff --git a/src/ipc.h b/src/ipc.h index 212d3cf..7454122 100644 --- a/src/ipc.h +++ b/src/ipc.h @@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.13 2012/06/22 10:22:24 james + * *** empty log message *** + * * Revision 1.12 2008/03/10 11:49:33 james * *** empty log message *** * @@ -72,38 +75,44 @@ #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; @@ -111,13 +120,15 @@ 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; @@ -125,66 +136,76 @@ 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