diff options
author | Tushar Pankaj <tushar.s.pankaj@gmail.com> | 2018-11-12 17:59:39 -0600 |
---|---|---|
committer | Tushar Pankaj <tushar.s.pankaj@gmail.com> | 2018-11-12 17:59:39 -0600 |
commit | ea6ab8ce09d4e84440185536f7b3e92346789233 (patch) | |
tree | 36a1b3ae7670b2e4db19ab1beaa512372e470532 /server.h | |
parent | Add IP addr structs to protocol (diff) | |
download | wg-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 'server.h')
-rw-r--r-- | server.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,10 @@ #ifndef SERVER_H #define SERVER_H -int setup_server(const char interface[]); +#include <stdbool.h> + +bool is_wg_up_on_iface(const char iface[]); +int setup_server(); +int handle_connections(int sock); #endif |