aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/net/socket.h')
-rw-r--r--src/lib/net/socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/net/socket.h b/src/lib/net/socket.h
index 0909619510..193ad91e4c 100644
--- a/src/lib/net/socket.h
+++ b/src/lib/net/socket.h
@@ -54,6 +54,7 @@ int tor_addr_from_getsockname(struct tor_addr_t *addr_out, tor_socket_t sock);
int set_socket_nonblocking(tor_socket_t socket);
int tor_socketpair(int family, int type, int protocol, tor_socket_t fd[2]);
int network_init(void);
+void check_network_configuration(bool server_mode);
int get_max_sockets(void);
void set_max_sockets(int);
@@ -115,4 +116,4 @@ const char *tor_socket_strerror(int e);
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747b
#endif
-#endif
+#endif /* !defined(TOR_SOCKET_H) */