diff options
Diffstat (limited to 'toxcore/Lossless_UDP.h')
-rw-r--r-- | toxcore/Lossless_UDP.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/toxcore/Lossless_UDP.h b/toxcore/Lossless_UDP.h index 176e86ce..bd43cb67 100644 --- a/toxcore/Lossless_UDP.h +++ b/toxcore/Lossless_UDP.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #define LOSSLESS_UDP_H | 25 | #define LOSSLESS_UDP_H |
26 | 26 | ||
27 | #include "network.h" | 27 | #include "network.h" |
28 | #include "../testing/misc_tools.h" | ||
28 | 29 | ||
29 | #ifdef __cplusplus | 30 | #ifdef __cplusplus |
30 | extern "C" { | 31 | extern "C" { |
@@ -119,10 +120,12 @@ typedef struct { | |||
119 | 120 | ||
120 | typedef struct { | 121 | typedef struct { |
121 | Networking_Core *net; | 122 | Networking_Core *net; |
122 | Connection *connections; | ||
123 | 123 | ||
124 | uint32_t connections_length; /* Length of connections array */ | 124 | tox_array connections; |
125 | uint32_t connections_number; /* Number of connections in connections array */ | 125 | //kk Connection *connections; |
126 | |||
127 | //kk uint32_t connections_length; /* Length of connections array */ | ||
128 | //kk uint32_t connections_number; /* Number of connections in connections array */ | ||
126 | 129 | ||
127 | /* table of random numbers used in handshake_id. */ | 130 | /* table of random numbers used in handshake_id. */ |
128 | uint32_t randtable[6][256]; | 131 | uint32_t randtable[6][256]; |