aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-07-11 19:03:09 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-06 13:25:26 +1200
commit2ae5cd6539253e03e065f3ecbf55179527bb5ea2 (patch)
tree94b319b116ce23890edfa375b233d10f67b9c165 /include/backend
parentae4478e17f56c1fb52a77d1f034387f154eddef5 (diff)
Moved session/ into backend/
Diffstat (limited to 'include/backend')
-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..96504f04
--- /dev/null
+++ b/include/backend/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