tAdd two more states - libeech - bittorrent library
HTML git clone git://z3bra.org/libeech.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 802b7ec302e36a3e2bc57cae0d09114093181ecc
DIR parent 84e77364f46895cec2614f767a013028611f9962
HTML Author: z3bra <contactatz3bradotorg>
Date: Sat, 10 Feb 2018 13:51:55 +0100
Add two more states
Diffstat:
M libeech.h | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
DIR diff --git a/libeech.h b/libeech.h
t@@ -11,10 +11,12 @@ enum {
CONNECTED = 1 << 0,
HANDSHAKESENT = 1 << 1,
HANDSHAKERCVD = 1 << 2,
- AMCHOKING = 1 << 3,
- AMINTERESTED = 1 << 4,
- ISCHOKING = 1 << 5,
- ISINTERESTED = 1 << 6,
+ SEEDING = 1 << 3,
+ LEECHING = 1 << 4,
+ AMCHOKING = 1 << 5,
+ AMINTERESTED = 1 << 6,
+ ISCHOKING = 1 << 7,
+ ISINTERESTED = 1 << 8,
};
struct peer {