diff options
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 51 |
1 files changed, 35 insertions, 16 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.8 2008/03/03 06:04:42 james + * *** empty log message *** + * * Revision 1.7 2008/03/02 10:37:56 james * *** empty log message *** * @@ -55,32 +58,37 @@ #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; @@ -88,13 +96,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; @@ -102,60 +112,69 @@ 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; |