libeech

BitTorrent library
git clone git://z3bra.org/libeech.git
Log | Files | Refs | README | LICENSE

commit 802b7ec302e36a3e2bc57cae0d09114093181ecc
parent 84e77364f46895cec2614f767a013028611f9962
Author: z3bra <contactatz3bradotorg>
Date:   Sat Feb 10 13:51:55 +0100

Add two more states

Diffstat:
libeech.h | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/libeech.h b/libeech.h @@ -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 {