summaryrefslogtreecommitdiff
path: root/toxcore/TCP_client.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-01 23:02:13 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-16 21:01:43 +0000
commitd6d305feeb76735ee4b4e14c6bca737a5482bc19 (patch)
tree99005c635a452245006b3b5de44f1dd80da9f77f /toxcore/TCP_client.h
parent54066f338f185f2fbd6694d9a4877f42cbfa21c8 (diff)
Use per-instance `Mono_Time` for Messenger and onion.
Diffstat (limited to 'toxcore/TCP_client.h')
-rw-r--r--toxcore/TCP_client.h6
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 */
67TCP_Client_Connection *new_TCP_connection(IP_Port ip_port, const uint8_t *public_key, const uint8_t *self_public_key, 67TCP_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 */
72void do_TCP_connection(TCP_Client_Connection *tcp_connection, void *userdata); 72void 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 */