aboutsummaryrefslogtreecommitdiffstats
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h6
1 files changed, 5 insertions, 1 deletions
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 <stdbool.h>
+
+bool is_server_in_allowed_ips(const char interface[]);
+int connect_to_server();
+void close_connection(int sock);
#endif