aboutsummaryrefslogtreecommitdiff
path: root/include/session/direct-ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/session/direct-ipc.h')
-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