aboutsummaryrefslogtreecommitdiff
path: root/include/session
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-07-09 22:12:50 +1200
committerScott Anderson <ascent12@hotmail.com>2017-07-09 22:12:50 +1200
commit2f2c8205d841a98649e9697ad5ba8cfe430ffaa7 (patch)
tree36c01c2855524da4e01ceb49fa9c68cff0b2cf50 /include/session
parentbd5bca52830e78364ab48efb0f6e4d0f1d9773db (diff)
Moved IPC to its own file.
Diffstat (limited to 'include/session')
-rw-r--r--include/session/direct-ipc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/session/direct-ipc.h b/include/session/direct-ipc.h
new file mode 100644
index 00000000..a8d9469d
--- /dev/null
+++ b/include/session/direct-ipc.h
@@ -0,0 +1,12 @@
+#ifndef SESSION_DIRECT_IPC
+#define SESSION_DIRECT_IPC
+
+#include <sys/types.h>
+
+int direct_ipc_open(int sock, const char *path);
+void direct_ipc_setmaster(int sock);
+void direct_ipc_dropmaster(int sock);
+void direct_ipc_finish(int sock, pid_t pid);
+int direct_ipc_start(pid_t *pid_out);
+
+#endif