From 64f825db92ce31102b29ac96fd382ac3643fb6ae Mon Sep 17 00:00:00 2001 From: Tushar Pankaj Date: Mon, 12 Nov 2018 17:06:07 -0600 Subject: Write client connect_to_server Signed-off-by: Tushar Pankaj --- client.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client.h') diff --git a/client.h b/client.h index 996cb58..8dd35db 100644 --- a/client.h +++ b/client.h @@ -6,6 +6,10 @@ #ifndef CLIENT_H #define CLIENT_H -int connect_to_server(const char interface[]); +#include + +bool is_server_in_allowed_ips(const char interface[]); +int connect_to_server(); +void close_connection(int sock); #endif -- cgit v1.2.3-59-g8ed1b