aboutsummaryrefslogtreecommitdiff
path: root/include/session
diff options
context:
space:
mode:
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..96504f04
--- /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, int fd);
+void direct_ipc_dropmaster(int sock, int fd);
+void direct_ipc_finish(int sock, pid_t pid);
+int direct_ipc_start(pid_t *pid_out);
+
+#endif