summaryrefslogtreecommitdiffhomepage
path: root/src/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sock.h')
-rw-r--r--src/sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sock.h b/src/sock.h
index 170dc3c..b85142c 100644
--- a/src/sock.h
+++ b/src/sock.h
@@ -50,6 +50,9 @@ union sockaddr_union {
struct sockaddr_in6 v6;
};
+extern int init_sock(void);
+extern void destroy_dock(void);
+
extern int opensock (const char *host, int port, const char *bind_to, const char *bind_to_alt);
extern int listen_sock (const char *addr, uint16_t port, sblist* listen_fds);