summaryrefslogtreecommitdiff
path: root/toxcore/TCP_connection.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-04-10 19:50:47 -0400
committerirungentoo <irungentoo@gmail.com>2015-04-10 19:50:47 -0400
commit11b750c7450d8a31b03380b7865f6ce6159e0b6d (patch)
tree8d0f866360903f6bd8868d24f3e8f46433e04094 /toxcore/TCP_connection.h
parent4e1f49955a78dcee3fc34ddff814632ec79ddfea (diff)
More work on TCP connection.
Only a couple things left to add.
Diffstat (limited to 'toxcore/TCP_connection.h')
-rw-r--r--toxcore/TCP_connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/TCP_connection.h b/toxcore/TCP_connection.h
index 4156fd22..94213814 100644
--- a/toxcore/TCP_connection.h
+++ b/toxcore/TCP_connection.h
@@ -28,6 +28,7 @@
28 28
29#define TCP_CONN_NONE 0 29#define TCP_CONN_NONE 0
30#define TCP_CONN_VALID 1 30#define TCP_CONN_VALID 1
31#define TCP_CONN_CONNECTED 2
31 32
32#define TCP_CONNECTIONS_STATUS_NONE 0 33#define TCP_CONNECTIONS_STATUS_NONE 0
33#define TCP_CONNECTIONS_STATUS_REGISTERED 1 34#define TCP_CONNECTIONS_STATUS_REGISTERED 1
@@ -73,6 +74,8 @@ typedef struct {
73 74
74 int (*tcp_onion_callback)(void *object, const uint8_t *data, uint16_t length); 75 int (*tcp_onion_callback)(void *object, const uint8_t *data, uint16_t length);
75 void *tcp_onion_callback_object; 76 void *tcp_onion_callback_object;
77
78 TCP_Proxy_Info proxy_info;
76} TCP_Connections; 79} TCP_Connections;
77 80
78 81