chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
ipc.h
diff --git
a/src/ipc.h
b/src/ipc.h
index e8d224c1eb2badd0f8eb454f818b17fd2fceb4f1..1820511b70ce0a7afc7d03ba23217781ceb54a3e 100644
(file)
--- a/
src/ipc.h
+++ b/
src/ipc.h
@@
-12,6
+12,15
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.4 2008/02/22 17:07:00 james
+ * *** empty log message ***
+ *
+ * Revision 1.3 2008/02/15 23:52:12 james
+ * *** empty log message ***
+ *
+ * Revision 1.2 2008/02/15 03:32:07 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/02/14 12:17:42 james
* *** empty log message ***
*
* Revision 1.1 2008/02/14 12:17:42 james
* *** empty log message ***
*
@@
-24,11
+33,16
@@
#define IPC_MSG_TYPE_NOOP 0
#define IPC_MSG_TYPE_DEBUG 1
#define IPC_MSG_TYPE_NOOP 0
#define IPC_MSG_TYPE_DEBUG 1
-#define IPC_MSG_TYPE_
HISTORY
2
-#define IPC_MSG_TYPE_
VT102
3
+#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_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
typedef struct
{
typedef struct
{
@@
-91,6
+105,43
@@
typedef struct
char status[0];
} IPC_Msg_status;
char status[0];
} IPC_Msg_status;
+typedef struct
+{
+ int32_t size;
+ int32_t type;
+ int32_t baud;
+} IPC_Msg_setbaud;
+
+
+typedef struct
+{
+ int32_t size;
+ int32_t type;
+} IPC_Msg_sendbreak;
+
+
+typedef struct
+{
+ int32_t size;
+ int32_t type;
+ int32_t flow;
+} IPC_Msg_setflow;
+
+
+typedef struct
+{
+ int32_t size;
+ int32_t type;
+ int32_t ansi;
+} IPC_Msg_setansi;
+
+
+typedef struct
+{
+ int32_t size;
+ int32_t type;
+} IPC_Msg_hangup;
+
typedef union
typedef union
@@
-103,6
+154,11
@@
IPC_Msg_VT102 vt102;
IPC_Msg_key key;
IPC_Msg_term term;
IPC_Msg_status status;
IPC_Msg_key key;
IPC_Msg_term term;
IPC_Msg_status status;
+IPC_Msg_setbaud setbaud;
+IPC_Msg_sendbreak sendbreak;
+IPC_Msg_setflow setflow;
+IPC_Msg_setansi setansi;
+IPC_Msg_hangup hangup;
} IPC_Msg;
} IPC_Msg;