diff options
author | erdgeist <> | 2008-12-03 20:39:23 +0000 |
---|---|---|
committer | erdgeist <> | 2008-12-03 20:39:23 +0000 |
commit | e2199cc5046fc3e7cf0775948520258e844f6d59 (patch) | |
tree | 0b2356a764f5876f9a092aeb1d7150b9cde2ff67 /trackerlogic.h | |
parent | 0523b429ae02ac6f48fb1680557d473211af0b25 (diff) |
New peer flag to see, whether peer came from announce or sync
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 0b73d5e..81bd97a 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -52,6 +52,7 @@ typedef struct { | |||
52 | static const uint8_t PEER_FLAG_SEEDING = 0x80; | 52 | static const uint8_t PEER_FLAG_SEEDING = 0x80; |
53 | static const uint8_t PEER_FLAG_COMPLETED = 0x40; | 53 | static const uint8_t PEER_FLAG_COMPLETED = 0x40; |
54 | static const uint8_t PEER_FLAG_STOPPED = 0x20; | 54 | static const uint8_t PEER_FLAG_STOPPED = 0x20; |
55 | static const uint8_t PEER_FLAG_FROM_SYNC = 0x10; | ||
55 | static const uint8_t PEER_FLAG_LEECHING = 0x00; | 56 | static const uint8_t PEER_FLAG_LEECHING = 0x00; |
56 | 57 | ||
57 | #define OT_SETIP( peer, ip ) memmove((peer),(ip),4); | 58 | #define OT_SETIP( peer, ip ) memmove((peer),(ip),4); |