aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipc.c
diff options
context:
space:
mode:
authorjames <>2008-02-15 23:52:12 +0000
committerjames <>2008-02-15 23:52:12 +0000
commit85a601f7fcaaa64d58567779236a4f3568c219ad (patch)
tree8f759603b660edb1ff7419cd10d4787f3a2fd33b /src/ipc.c
parent15e84568cdefdddc2191d15156ab5e35d57b47be (diff)
downloadsympathy-85a601f7fcaaa64d58567779236a4f3568c219ad.tar.gz
sympathy-85a601f7fcaaa64d58567779236a4f3568c219ad.tar.bz2
sympathy-85a601f7fcaaa64d58567779236a4f3568c219ad.zip
*** empty log message ***
Diffstat (limited to 'src/ipc.c')
-rw-r--r--src/ipc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ipc.c b/src/ipc.c
index 2a3ad7c..b30bef0 100644
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * 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 ***
*
@@ -188,3 +191,13 @@ ipc_msg_send_setflow (Socket * s, int flow)
m.flow = flow;
return ipc_msg_send (s, (IPC_Msg *) & m);
}
+
+int
+ipc_msg_send_hangup (Socket * s)
+{
+ IPC_Msg_hangup m;
+
+ m.size = sizeof (m);
+ m.type = IPC_MSG_TYPE_HANGUP;
+ return ipc_msg_send (s, (IPC_Msg *) & m);
+}