aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc.c')
-rw-r--r--src/ipc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ipc.c b/src/ipc.c
index b30bef0..8809f36 100644
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $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 ***
*
@@ -193,6 +196,17 @@ ipc_msg_send_setflow (Socket * s, int flow)
}
int
+ipc_msg_send_setansi (Socket * s, int ansi)
+{
+ IPC_Msg_setansi m;
+
+ m.size = sizeof (m);
+ m.type = IPC_MSG_TYPE_SETANSI;
+ m.ansi = ansi;
+ return ipc_msg_send (s, (IPC_Msg *) & m);
+}
+
+int
ipc_msg_send_hangup (Socket * s)
{
IPC_Msg_hangup m;