From be42afab1c325fae5c3c270876a3447220adcca5 Mon Sep 17 00:00:00 2001 From: james <> Date: Fri, 7 Mar 2008 13:16:02 +0000 Subject: *** empty log message *** --- src/ipc.h | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'src/ipc.h') diff --git a/src/ipc.h b/src/ipc.h index 46766a5..d36dcfd 100644 --- a/src/ipc.h +++ b/src/ipc.h @@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.10 2008/03/07 13:16:02 james + * *** empty log message *** + * * Revision 1.9 2008/03/07 12:37:04 james * *** empty log message *** * @@ -48,18 +51,19 @@ #define IPC_MSG_TYPE_NOOP 0 #define IPC_MSG_TYPE_DEBUG 1 -#define IPC_MSG_TYPE_VT102 2 -#define IPC_MSG_TYPE_HISTORY 3 -#define IPC_MSG_TYPE_KEY 4 -#define IPC_MSG_TYPE_TERM 5 -#define IPC_MSG_TYPE_STATUS 6 -#define IPC_MSG_TYPE_SETBAUD 7 -#define IPC_MSG_TYPE_SENDBREAK 8 -#define IPC_MSG_TYPE_SETFLOW 9 -#define IPC_MSG_TYPE_SETANSI 10 -#define IPC_MSG_TYPE_HANGUP 11 -#define IPC_MSG_TYPE_SETSIZE 12 -#define IPC_MSG_TYPE_RESET 13 +#define IPC_MSG_TYPE_INITIALIZE 2 +#define IPC_MSG_TYPE_VT102 3 +#define IPC_MSG_TYPE_HISTORY 4 +#define IPC_MSG_TYPE_KEY 5 +#define IPC_MSG_TYPE_TERM 6 +#define IPC_MSG_TYPE_STATUS 7 +#define IPC_MSG_TYPE_SETBAUD 8 +#define IPC_MSG_TYPE_SENDBREAK 9 +#define IPC_MSG_TYPE_SETFLOW 10 +#define IPC_MSG_TYPE_SETANSI 11 +#define IPC_MSG_TYPE_HANGUP 12 +#define IPC_MSG_TYPE_SETSIZE 13 +#define IPC_MSG_TYPE_RESET 14 typedef struct { @@ -83,6 +87,13 @@ typedef struct char msg[0]; } IPC_Msg_debug; +typedef struct +{ + int32_t size; + int32_t type; + char msg[0]; +} IPC_Msg_initialize; + typedef struct { int32_t size; @@ -181,6 +192,7 @@ typedef union IPC_Msg_hdr hdr; IPC_Msg_noop noop; IPC_Msg_debug debug; + IPC_Msg_initialize initialize; IPC_Msg_history history; IPC_Msg_VT102 vt102; IPC_Msg_key key; -- cgit v1.2.3