summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2008-12-03 20:39:23 +0000
committererdgeist <>2008-12-03 20:39:23 +0000
commite2199cc5046fc3e7cf0775948520258e844f6d59 (patch)
tree0b2356a764f5876f9a092aeb1d7150b9cde2ff67
parent0523b429ae02ac6f48fb1680557d473211af0b25 (diff)
New peer flag to see, whether peer came from announce or sync
-rw-r--r--trackerlogic.h1
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 {
52static const uint8_t PEER_FLAG_SEEDING = 0x80; 52static const uint8_t PEER_FLAG_SEEDING = 0x80;
53static const uint8_t PEER_FLAG_COMPLETED = 0x40; 53static const uint8_t PEER_FLAG_COMPLETED = 0x40;
54static const uint8_t PEER_FLAG_STOPPED = 0x20; 54static const uint8_t PEER_FLAG_STOPPED = 0x20;
55static const uint8_t PEER_FLAG_FROM_SYNC = 0x10;
55static const uint8_t PEER_FLAG_LEECHING = 0x00; 56static 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);