diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-14 22:03:43 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-14 22:03:43 -0400 |
commit | d5b52a1302ef4409424ec0633ccf9bd72359ea32 (patch) | |
tree | 76d90c6b51f8bf234cc19cce75147d6089a1b808 /src/socket.h | |
parent | bfe96a6aa5fa3ca9a05b658efbcaee9dc01b5235 (diff) | |
download | runes-d5b52a1302ef4409424ec0633ccf9bd72359ea32.tar.gz runes-d5b52a1302ef4409424ec0633ccf9bd72359ea32.zip |
refactor/rewrite the client/server protocol handling
also pass the environment and current directory over as well
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h new file mode 100644 index 0000000..85387c4 --- /dev/null +++ b/src/socket.h @@ -0,0 +1,10 @@ +#ifndef _RUNES_SOCKET_H +#define _RUNES_SOCKET_H + +int runes_socket_client_open(char *path); +int runes_socket_server_open(char *path); +int runes_socket_server_accept(int s); +void runes_socket_client_close(int s); +void runes_socket_server_close(int s, char *path); + +#endif |