Moved IPC to its own file.

This commit is contained in:
Scott Anderson 2017-07-09 22:12:50 +12:00
parent bd5bca5283
commit 2f2c8205d8
4 changed files with 303 additions and 225 deletions

View file

@ -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