diff options
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 36 |
1 files changed, 24 insertions, 12 deletions
@@ -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 { @@ -87,6 +91,13 @@ typedef struct { int32_t size; int32_t type; + char msg[0]; +} IPC_Msg_initialize; + +typedef struct +{ + int32_t size; + int32_t type; History_ent history; } IPC_Msg_history; @@ -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; |