diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-07-09 22:28:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-09 22:28:19 -0400 |
commit | be064df25ee7c03543bb86d27addaa297682fba7 (patch) | |
tree | 8b70817fe1ca341cb9868f49f4127e4e987da68a /include/session | |
parent | 8920b5d607c6b3b5d04894fc1837ac4f2d9558ae (diff) | |
parent | ceef12cb5a2a9347a1494332d320742c92fbd539 (diff) | |
download | wlroots-be064df25ee7c03543bb86d27addaa297682fba7.tar.xz |
Merge pull request #25 from ascent12/forking
Forking session backend
Diffstat (limited to 'include/session')
-rw-r--r-- | include/session/direct-ipc.h | 12 |
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 |