diff options
author | Ansa89 <ansalonistefano@gmail.com> | 2016-12-16 11:56:51 +0100 |
---|---|---|
committer | Ansa89 <ansalonistefano@gmail.com> | 2017-04-01 17:47:34 +0200 |
commit | 5ff099763b1f56414572e1c12eb2f003117db5a0 (patch) | |
tree | 300a850c82970ec9462fa43d346a3e7f799de186 /toxcore/TCP_connection.h | |
parent | 200ee1cace2f17537e6982ac447ea65d7c7a00b3 (diff) |
Implement tox_loop
Diffstat (limited to 'toxcore/TCP_connection.h')
-rw-r--r-- | toxcore/TCP_connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/TCP_connection.h b/toxcore/TCP_connection.h index f023b1ab..276303e7 100644 --- a/toxcore/TCP_connection.h +++ b/toxcore/TCP_connection.h | |||
@@ -82,6 +82,10 @@ typedef struct TCP_Connections TCP_Connections; | |||
82 | 82 | ||
83 | const uint8_t *tcp_connections_public_key(const TCP_Connections *tcp_c); | 83 | const uint8_t *tcp_connections_public_key(const TCP_Connections *tcp_c); |
84 | 84 | ||
85 | uint32_t tcp_connections_length(const TCP_Connections *tcp_c); | ||
86 | |||
87 | const TCP_con *tcp_connections_connection_at(const TCP_Connections *tcp_c, uint32_t idx); | ||
88 | |||
85 | /* Send a packet to the TCP connection. | 89 | /* Send a packet to the TCP connection. |
86 | * | 90 | * |
87 | * return -1 on failure. | 91 | * return -1 on failure. |