aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipc.c
diff options
context:
space:
mode:
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);
+}