diff options
Diffstat (limited to 'toxcore/TCP_connection.h')
-rw-r--r-- | toxcore/TCP_connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/TCP_connection.h b/toxcore/TCP_connection.h index 2c86304f..10c7198e 100644 --- a/toxcore/TCP_connection.h +++ b/toxcore/TCP_connection.h | |||
@@ -36,6 +36,8 @@ | |||
36 | 36 | ||
37 | #define MAX_FRIEND_TCP_CONNECTIONS 4 | 37 | #define MAX_FRIEND_TCP_CONNECTIONS 4 |
38 | 38 | ||
39 | /* Time until connection to friend gets killed (if it doesn't get locked withing that time) */ | ||
40 | #define TCP_CONNECTION_ANNOUNCE_TIMEOUT (TCP_CONNECTION_TIMEOUT) | ||
39 | 41 | ||
40 | typedef struct { | 42 | typedef struct { |
41 | uint8_t status; | 43 | uint8_t status; |
@@ -53,6 +55,7 @@ typedef struct { | |||
53 | typedef struct { | 55 | typedef struct { |
54 | uint8_t status; | 56 | uint8_t status; |
55 | TCP_Client_Connection *connection; | 57 | TCP_Client_Connection *connection; |
58 | uint64_t connected_time; | ||
56 | uint32_t lock_count; | 59 | uint32_t lock_count; |
57 | } TCP_con; | 60 | } TCP_con; |
58 | 61 | ||