diff options
Diffstat (limited to 'src/Network/BitTorrent.hs')
-rw-r--r-- | src/Network/BitTorrent.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs index 5d6034f6..5fbc5ff6 100644 --- a/src/Network/BitTorrent.hs +++ b/src/Network/BitTorrent.hs | |||
@@ -7,6 +7,7 @@ | |||
7 | -- | 7 | -- |
8 | module Network.BitTorrent | 8 | module Network.BitTorrent |
9 | ( module BT | 9 | ( module BT |
10 | , module Data.Torrent | ||
10 | 11 | ||
11 | -- * Tracker | 12 | -- * Tracker |
12 | 13 | ||
@@ -16,12 +17,12 @@ module Network.BitTorrent | |||
16 | , PeerSession | 17 | , PeerSession |
17 | ) where | 18 | ) where |
18 | 19 | ||
20 | import Data.Torrent | ||
19 | import Network.BitTorrent.Internal | 21 | import Network.BitTorrent.Internal |
20 | |||
21 | import Network.BitTorrent.Extension as BT | 22 | import Network.BitTorrent.Extension as BT |
22 | import Network.BitTorrent.Peer as BT | 23 | import Network.BitTorrent.Peer as BT |
23 | import Network.BitTorrent.Exchange as BT | 24 | import Network.BitTorrent.Exchange as BT |
24 | import Network.BitTorrent.Tracker as BT | 25 | import Network.BitTorrent.Tracker as BT |
25 | 26 | ||
26 | --discover :: SwarmSession -> (Chan PeerAddr -> IO a) -> IO a | 27 | --discover :: SwarmSession -> ([PeerAddr] -> IO a) -> IO a |
27 | --discover = undefined | 28 | --discover = withTracker |