summaryrefslogtreecommitdiff
path: root/tunnel.h
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2019-10-18 20:46:58 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2019-10-18 21:14:24 +0300
commit8142854950bc510b8c21a210538d14a301dbcf63 (patch)
treedb4ecc964090218f50f1e9c4a8797544f9d45879 /tunnel.h
parent3b00c7be0e8834402ed93eb42b3a93302076c5ff (diff)
skel update
Diffstat (limited to 'tunnel.h')
-rw-r--r--tunnel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tunnel.h b/tunnel.h
index d04bde5..a62f1b8 100644
--- a/tunnel.h
+++ b/tunnel.h
@@ -1,9 +1,14 @@
#ifndef __TUNNEL_H__
#define __TUNNEL_H__
+#include <stdbool.h>
+
#define TUNNEL_SOCK_PATH "/tmp/tunnel.sock"
+bool tunnel_alive(bool *alive);
+
int tunnel_client(void);
-int tunnel_daemon(int sock);
+
+bool tunnel_daemon(int sock);
#endif