diff options
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. |