diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-01 23:02:13 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-16 21:01:43 +0000 |
commit | d6d305feeb76735ee4b4e14c6bca737a5482bc19 (patch) | |
tree | 99005c635a452245006b3b5de44f1dd80da9f77f /toxcore/TCP_client.h | |
parent | 54066f338f185f2fbd6694d9a4877f42cbfa21c8 (diff) |
Use per-instance `Mono_Time` for Messenger and onion.
Diffstat (limited to 'toxcore/TCP_client.h')
-rw-r--r-- | toxcore/TCP_client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/TCP_client.h b/toxcore/TCP_client.h index 6d1cbb3b..38c6e01e 100644 --- a/toxcore/TCP_client.h +++ b/toxcore/TCP_client.h | |||
@@ -64,12 +64,12 @@ void tcp_con_set_custom_uint(TCP_Client_Connection *con, uint32_t value); | |||
64 | 64 | ||
65 | /* Create new TCP connection to ip_port/public_key | 65 | /* Create new TCP connection to ip_port/public_key |
66 | */ | 66 | */ |
67 | TCP_Client_Connection *new_TCP_connection(IP_Port ip_port, const uint8_t *public_key, const uint8_t *self_public_key, | 67 | TCP_Client_Connection *new_TCP_connection(const Mono_Time *mono_time, IP_Port ip_port, const uint8_t *public_key, |
68 | const uint8_t *self_secret_key, TCP_Proxy_Info *proxy_info); | 68 | const uint8_t *self_public_key, const uint8_t *self_secret_key, TCP_Proxy_Info *proxy_info); |
69 | 69 | ||
70 | /* Run the TCP connection | 70 | /* Run the TCP connection |
71 | */ | 71 | */ |
72 | void do_TCP_connection(TCP_Client_Connection *tcp_connection, void *userdata); | 72 | void do_TCP_connection(Mono_Time *mono_time, TCP_Client_Connection *tcp_connection, void *userdata); |
73 | 73 | ||
74 | /* Kill the TCP connection | 74 | /* Kill the TCP connection |
75 | */ | 75 | */ |