summaryrefslogtreecommitdiff
path: root/toxcore/TCP_connection.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-05-04 00:40:59 +0100
committeriphydf <iphydf@users.noreply.github.com>2020-05-04 01:27:36 +0100
commit02a5bdc60c9ff8474a959027882048290571f806 (patch)
tree202664eeef476f77e73e63fefb59451ec5e008b7 /toxcore/TCP_connection.h
parent4efe541814ec2ddd073428d6928497b50c48397a (diff)
Add logging to TCP and onion client.
Diffstat (limited to 'toxcore/TCP_connection.h')
-rw-r--r--toxcore/TCP_connection.h3
1 files changed, 2 insertions, 1 deletions
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
206 */ 206 */
207TCP_Connections *new_tcp_connections(Mono_Time *mono_time, const uint8_t *secret_key, TCP_Proxy_Info *proxy_info); 207TCP_Connections *new_tcp_connections(Mono_Time *mono_time, const uint8_t *secret_key, TCP_Proxy_Info *proxy_info);
208 208
209void do_tcp_connections(TCP_Connections *tcp_c, void *userdata); 209void do_tcp_connections(const Logger *logger, TCP_Connections *tcp_c, void *userdata);
210
210void kill_tcp_connections(TCP_Connections *tcp_c); 211void kill_tcp_connections(TCP_Connections *tcp_c);
211 212
212#endif 213#endif