exposed upload_only in peer_info

This commit is contained in:
Arvid Norberg
2008-07-19 07:57:43 +00:00
parent 49e76f510f
commit 7607034ab6
6 changed files with 26 additions and 3 deletions

View File

@@ -57,7 +57,8 @@ namespace libtorrent
on_parole = 0x200,
seed = 0x400,
optimistic_unchoke = 0x800,
snubbed = 0x1000
snubbed = 0x1000,
upload_only = 0x2000
#ifndef TORRENT_DISABLE_ENCRYPTION
, rc4_encrypted = 0x100000,
plaintext_encrypted = 0x200000