aboutsummaryrefslogtreecommitdiff
path: root/include/backend/session
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/session')
-rw-r--r--include/backend/session/direct-ipc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/backend/session/direct-ipc.h b/include/backend/session/direct-ipc.h
new file mode 100644
index 00000000..c660b58f
--- /dev/null
+++ b/include/backend/session/direct-ipc.h
@@ -0,0 +1,12 @@
+#ifndef BACKEND_SESSION_DIRECT_IPC_H
+#define BACKEND_SESSION_DIRECT_IPC_H
+
+#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_init(pid_t *pid_out);
+
+#endif