summaryrefslogtreecommitdiff
path: root/toxcore/DHT.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r--toxcore/DHT.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h
index b53801b5..d0afda35 100644
--- a/toxcore/DHT.h
+++ b/toxcore/DHT.h
@@ -55,6 +55,12 @@ typedef struct {
55 uint64_t ret_timestamp; 55 uint64_t ret_timestamp;
56} Client_data; 56} Client_data;
57 57
58/* Used in the comparison function for sorting lists of Client_data. */
59typedef struct {
60 Client_data c1;
61 Client_data c2;
62} ClientPair;
63
58/*----------------------------------------------------------------------------------*/ 64/*----------------------------------------------------------------------------------*/
59 65
60typedef struct { 66typedef struct {