diff options
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 7fcc73d..03c8e9e 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -53,6 +53,9 @@ static const ot_byte PEER_FLAG_STOPPED = 0x20; | |||
53 | #define OT_SETPORT( peer, port ) MEMMOVE(((ot_byte*)peer)+4,(port),2); | 53 | #define OT_SETPORT( peer, port ) MEMMOVE(((ot_byte*)peer)+4,(port),2); |
54 | #define OT_FLAG(peer) (((ot_byte*)(peer))[6]) | 54 | #define OT_FLAG(peer) (((ot_byte*)(peer))[6]) |
55 | 55 | ||
56 | #define OT_PEER_COMPARE_SIZE ((size_t)6) | ||
57 | #define OT_HASH_COMPARE_SIZE (sizeof(ot_hash)) | ||
58 | |||
56 | typedef struct { | 59 | typedef struct { |
57 | ot_time base; | 60 | ot_time base; |
58 | unsigned long seed_count[ OT_POOLS_COUNT ]; | 61 | unsigned long seed_count[ OT_POOLS_COUNT ]; |