aboutsummaryrefslogtreecommitdiffstats
path: root/client.h
diff options
context:
space:
mode:
authorTushar Pankaj <tushar.s.pankaj@gmail.com>2018-11-12 17:59:39 -0600
committerTushar Pankaj <tushar.s.pankaj@gmail.com>2018-11-12 17:59:39 -0600
commitea6ab8ce09d4e84440185536f7b3e92346789233 (patch)
tree36a1b3ae7670b2e4db19ab1beaa512372e470532 /client.h
parentAdd IP addr structs to protocol (diff)
downloadwg-dynamic-ea6ab8ce09d4e84440185536f7b3e92346789233.tar.xz
wg-dynamic-ea6ab8ce09d4e84440185536f7b3e92346789233.zip
Working client and server comms
Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
Diffstat (limited to 'client.h')
-rw-r--r--client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.h b/client.h
index 8dd35db..5a4b460 100644
--- a/client.h
+++ b/client.h
@@ -8,8 +8,8 @@
#include <stdbool.h>
-bool is_server_in_allowed_ips(const char interface[]);
+bool is_server_in_allowed_ips(const char iface[]);
int connect_to_server();
-void close_connection(int sock);
+int close_connection(int sock);
#endif