chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / ipc.h
index 91589edd4ce0834359b1932df330807f834775fb..aed692e34197d8e26396a63d65b281a179baa695 100644 (file)
--- a/src/ipc.h
+++ b/src/ipc.h
@@ -12,6 +12,9 @@
 
 /*
  * $Log$
+ * Revision 1.6  2008/02/28 11:27:48  james
+ * *** empty log message ***
+ *
  * Revision 1.5  2008/02/23 11:48:37  james
  * *** empty log message ***
  *
@@ -46,6 +49,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
 
 typedef struct
 {
@@ -146,6 +151,21 @@ typedef struct
 } IPC_Msg_hangup;
 
 
+typedef struct
+{
+  int32_t size;
+  int32_t type;
+  CRT_Pos winsize;
+} IPC_Msg_setsize;
+
+
+typedef struct
+{
+  int32_t size;
+  int32_t type;
+} IPC_Msg_reset;
+
+
 
 typedef union
 {
@@ -162,6 +182,8 @@ typedef union
   IPC_Msg_setflow setflow;
   IPC_Msg_setansi setansi;
   IPC_Msg_hangup hangup;
+  IPC_Msg_setsize setsize;
+  IPC_Msg_reset reset;
 } IPC_Msg;