From d5b52a1302ef4409424ec0633ccf9bd72359ea32 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 14 May 2016 22:03:43 -0400 Subject: refactor/rewrite the client/server protocol handling also pass the environment and current directory over as well --- src/socket.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/socket.h (limited to 'src/socket.h') 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 -- cgit v1.2.3-54-g00ecf