From 02a5bdc60c9ff8474a959027882048290571f806 Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 4 May 2020 00:40:59 +0100 Subject: Add logging to TCP and onion client. --- toxcore/TCP_connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toxcore/TCP_connection.h') diff --git a/toxcore/TCP_connection.h b/toxcore/TCP_connection.h index a8e522d3..1bd5b85a 100644 --- a/toxcore/TCP_connection.h +++ b/toxcore/TCP_connection.h @@ -206,7 +206,8 @@ uint32_t tcp_copy_connected_relays(TCP_Connections *tcp_c, Node_format *tcp_rela */ TCP_Connections *new_tcp_connections(Mono_Time *mono_time, const uint8_t *secret_key, TCP_Proxy_Info *proxy_info); -void do_tcp_connections(TCP_Connections *tcp_c, void *userdata); +void do_tcp_connections(const Logger *logger, TCP_Connections *tcp_c, void *userdata); + void kill_tcp_connections(TCP_Connections *tcp_c); #endif -- cgit v1.2.3