summaryrefslogtreecommitdiff
path: root/src/lib/net/socket.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-01 11:36:03 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-01 11:36:03 -0500
commit701eaef980de4f7dbb5c31c4fee9b7e1e266d7a1 (patch)
treec4809e245ee2b797593ba83bdd0659ace8765d79 /src/lib/net/socket.h
parentd4d4a4b2dd95ce0cb8db6fc0074f0ac66d659469 (diff)
downloadtor-701eaef980de4f7dbb5c31c4fee9b7e1e266d7a1.tar.gz
tor-701eaef980de4f7dbb5c31c4fee9b7e1e266d7a1.zip
Move net.inet.ip.random_id code to lib/net/
Diffstat (limited to 'src/lib/net/socket.h')
-rw-r--r--src/lib/net/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/net/socket.h b/src/lib/net/socket.h
index 2b87441fc6..822b9975e6 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);