diff options
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/BitTorrent.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Protocol.hs | 5 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Protocol.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Sessions.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Sessions/Types.lhs | 1 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker/HTTP.hs | 1 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker/Protocol.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker/UDP.hs | 1 |
9 files changed, 8 insertions, 12 deletions
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs index 7ff85b39..e68d1597 100644 --- a/src/Network/BitTorrent.hs +++ b/src/Network/BitTorrent.hs | |||
@@ -7,7 +7,7 @@ | |||
7 | -- | 7 | -- |
8 | {-# LANGUAGE RecordWildCards #-} | 8 | {-# LANGUAGE RecordWildCards #-} |
9 | module Network.BitTorrent | 9 | module Network.BitTorrent |
10 | ( module Data.Torrent.Metainfo | 10 | ( module Data.Torrent |
11 | 11 | ||
12 | , TorrentLoc(..), TorrentMap, Progress(..) | 12 | , TorrentLoc(..), TorrentMap, Progress(..) |
13 | , ThreadCount, SessionCount | 13 | , ThreadCount, SessionCount |
@@ -49,7 +49,7 @@ import Text.PrettyPrint | |||
49 | import System.Directory | 49 | import System.Directory |
50 | import System.FilePath | 50 | import System.FilePath |
51 | 51 | ||
52 | import Data.Torrent.Metainfo | 52 | import Data.Torrent |
53 | import Network.BitTorrent.Sessions.Types | 53 | import Network.BitTorrent.Sessions.Types |
54 | import Network.BitTorrent.Sessions | 54 | import Network.BitTorrent.Sessions |
55 | import Network.BitTorrent.Extension | 55 | import Network.BitTorrent.Extension |
diff --git a/src/Network/BitTorrent/DHT/Protocol.hs b/src/Network/BitTorrent/DHT/Protocol.hs index 0ac814b7..8528f0e0 100644 --- a/src/Network/BitTorrent/DHT/Protocol.hs +++ b/src/Network/BitTorrent/DHT/Protocol.hs | |||
@@ -29,10 +29,9 @@ import Network | |||
29 | import Network.Socket | 29 | import Network.Socket |
30 | import System.Entropy | 30 | import System.Entropy |
31 | 31 | ||
32 | import Remote.KRPC | ||
33 | import Remote.KRPC.Protocol | ||
34 | import Data.BEncode | 32 | import Data.BEncode |
35 | import Data.Torrent.Metainfo | 33 | import Network.KRPC |
34 | import Network.KRPC.Protocol | ||
36 | import Network.BitTorrent.Peer | 35 | import Network.BitTorrent.Peer |
37 | import Network.BitTorrent.Exchange.Protocol () | 36 | import Network.BitTorrent.Exchange.Protocol () |
38 | 37 | ||
diff --git a/src/Network/BitTorrent/Exchange/Protocol.hs b/src/Network/BitTorrent/Exchange/Protocol.hs index 8286ae7d..b86683fa 100644 --- a/src/Network/BitTorrent/Exchange/Protocol.hs +++ b/src/Network/BitTorrent/Exchange/Protocol.hs | |||
@@ -80,7 +80,7 @@ import Network.Socket.ByteString | |||
80 | 80 | ||
81 | import Data.Torrent.Bitfield | 81 | import Data.Torrent.Bitfield |
82 | import Data.Torrent.Block | 82 | import Data.Torrent.Block |
83 | import Data.Torrent.Metainfo | 83 | import Data.Torrent |
84 | import Network.BitTorrent.Extension | 84 | import Network.BitTorrent.Extension |
85 | import Network.BitTorrent.Peer | 85 | import Network.BitTorrent.Peer |
86 | 86 | ||
diff --git a/src/Network/BitTorrent/Sessions.hs b/src/Network/BitTorrent/Sessions.hs index 0f0d7ecd..a591c648 100644 --- a/src/Network/BitTorrent/Sessions.hs +++ b/src/Network/BitTorrent/Sessions.hs | |||
@@ -75,7 +75,7 @@ import Network.BSD | |||
75 | import Network.Socket | 75 | import Network.Socket |
76 | 76 | ||
77 | import Data.Torrent.Bitfield as BF | 77 | import Data.Torrent.Bitfield as BF |
78 | import Data.Torrent.Metainfo | 78 | import Data.Torrent |
79 | import Network.BitTorrent.Extension | 79 | import Network.BitTorrent.Extension |
80 | import Network.BitTorrent.Peer | 80 | import Network.BitTorrent.Peer |
81 | import Network.BitTorrent.Sessions.Types | 81 | import Network.BitTorrent.Sessions.Types |
diff --git a/src/Network/BitTorrent/Sessions/Types.lhs b/src/Network/BitTorrent/Sessions/Types.lhs index 7ee7cbec..6957032f 100644 --- a/src/Network/BitTorrent/Sessions/Types.lhs +++ b/src/Network/BitTorrent/Sessions/Types.lhs | |||
@@ -56,7 +56,6 @@ | |||
56 | > import Network | 56 | > import Network |
57 | 57 | ||
58 | > import Data.Torrent.Bitfield as BF | 58 | > import Data.Torrent.Bitfield as BF |
59 | > import Data.Torrent.Metainfo | ||
60 | > import Network.BitTorrent.Extension | 59 | > import Network.BitTorrent.Extension |
61 | > import Network.BitTorrent.Peer | 60 | > import Network.BitTorrent.Peer |
62 | > import Network.BitTorrent.Exchange.Protocol as BT | 61 | > import Network.BitTorrent.Exchange.Protocol as BT |
diff --git a/src/Network/BitTorrent/Tracker.hs b/src/Network/BitTorrent/Tracker.hs index 147d1ea5..c1dfe44e 100644 --- a/src/Network/BitTorrent/Tracker.hs +++ b/src/Network/BitTorrent/Tracker.hs | |||
@@ -36,7 +36,7 @@ import Data.Text as T | |||
36 | import Network | 36 | import Network |
37 | import Network.URI | 37 | import Network.URI |
38 | 38 | ||
39 | import Data.Torrent.Metainfo | 39 | import Data.Torrent |
40 | import Network.BitTorrent.Peer | 40 | import Network.BitTorrent.Peer |
41 | import Network.BitTorrent.Tracker.Protocol as Tracker | 41 | import Network.BitTorrent.Tracker.Protocol as Tracker |
42 | import Network.BitTorrent.Tracker.HTTP | 42 | import Network.BitTorrent.Tracker.HTTP |
diff --git a/src/Network/BitTorrent/Tracker/HTTP.hs b/src/Network/BitTorrent/Tracker/HTTP.hs index ce517b34..797115ad 100644 --- a/src/Network/BitTorrent/Tracker/HTTP.hs +++ b/src/Network/BitTorrent/Tracker/HTTP.hs | |||
@@ -30,7 +30,6 @@ import Data.URLEncoded as URL | |||
30 | import Network.URI | 30 | import Network.URI |
31 | import Network.HTTP | 31 | import Network.HTTP |
32 | 32 | ||
33 | import Data.Torrent.Metainfo hiding (announce) | ||
34 | import Network.BitTorrent.Tracker.Protocol | 33 | import Network.BitTorrent.Tracker.Protocol |
35 | 34 | ||
36 | 35 | ||
diff --git a/src/Network/BitTorrent/Tracker/Protocol.hs b/src/Network/BitTorrent/Tracker/Protocol.hs index 965f3480..52835abb 100644 --- a/src/Network/BitTorrent/Tracker/Protocol.hs +++ b/src/Network/BitTorrent/Tracker/Protocol.hs | |||
@@ -58,7 +58,7 @@ import Data.Text (Text) | |||
58 | import Data.Text.Encoding | 58 | import Data.Text.Encoding |
59 | import Data.Serialize hiding (Result) | 59 | import Data.Serialize hiding (Result) |
60 | import Data.URLEncoded as URL | 60 | import Data.URLEncoded as URL |
61 | import Data.Torrent.Metainfo | 61 | import Data.Torrent |
62 | import Network | 62 | import Network |
63 | import Network.URI | 63 | import Network.URI |
64 | import Network.Socket | 64 | import Network.Socket |
diff --git a/src/Network/BitTorrent/Tracker/UDP.hs b/src/Network/BitTorrent/Tracker/UDP.hs index dc1b4897..f0bd3c56 100644 --- a/src/Network/BitTorrent/Tracker/UDP.hs +++ b/src/Network/BitTorrent/Tracker/UDP.hs | |||
@@ -42,7 +42,6 @@ import System.Entropy | |||
42 | import System.Timeout | 42 | import System.Timeout |
43 | import Numeric | 43 | import Numeric |
44 | 44 | ||
45 | import Data.Torrent.Metainfo () | ||
46 | import Network.BitTorrent.Tracker.Protocol | 45 | import Network.BitTorrent.Tracker.Protocol |
47 | 46 | ||
48 | {----------------------------------------------------------------------- | 47 | {----------------------------------------------------------------------- |