summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bittorrent.cabal6
-rw-r--r--src/Network/BitTorrent.hs2
-rw-r--r--src/Network/BitTorrent/Exchange.hs6
-rw-r--r--src/Network/BitTorrent/Exchange/Protocol.hs2
-rw-r--r--src/Network/BitTorrent/Exchange/Selection.hs4
-rw-r--r--src/Network/BitTorrent/Exchange/Status.hs2
6 files changed, 11 insertions, 11 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index ddad1a61..cdc332ab 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -44,9 +44,9 @@ library
44 , Network.BitTorrent.Tracker.Protocol 44 , Network.BitTorrent.Tracker.Protocol
45 , Network.BitTorrent.Tracker.Scrape 45 , Network.BitTorrent.Tracker.Scrape
46 46
47 , Network.BitTorrent.PeerWire 47 , Network.BitTorrent.Exchange
48 , Network.BitTorrent.PeerWire.Selection 48 , Network.BitTorrent.Exchange.Selection
49 , Network.BitTorrent.PeerWire.Protocol 49 , Network.BitTorrent.Exchange.Protocol
50 50
51 other-modules: 51 other-modules:
52 52
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs
index 3d2406a8..51ba6aac 100644
--- a/src/Network/BitTorrent.hs
+++ b/src/Network/BitTorrent.hs
@@ -9,5 +9,5 @@ module Network.BitTorrent (module BT) where
9 9
10import Network.BitTorrent.Extension as BT 10import Network.BitTorrent.Extension as BT
11import Network.BitTorrent.Peer as BT 11import Network.BitTorrent.Peer as BT
12import Network.BitTorrent.PeerWire as BT 12import Network.BitTorrent.Exchange as BT
13import Network.BitTorrent.Tracker as BT 13import Network.BitTorrent.Tracker as BT
diff --git a/src/Network/BitTorrent/Exchange.hs b/src/Network/BitTorrent/Exchange.hs
index 08e3f388..d75fdf96 100644
--- a/src/Network/BitTorrent/Exchange.hs
+++ b/src/Network/BitTorrent/Exchange.hs
@@ -6,10 +6,10 @@
6-- Portability : portable 6-- Portability : portable
7-- 7--
8{-# LANGUAGE DoAndIfThenElse #-} 8{-# LANGUAGE DoAndIfThenElse #-}
9module Network.BitTorrent.PeerWire (module PW) where 9module Network.BitTorrent.Exchange (module PW) where
10 10
11import Network.BitTorrent.PeerWire.Selection as PW 11import Network.BitTorrent.Exchange.Selection as PW
12import Network.BitTorrent.PeerWire.Protocol as PW 12import Network.BitTorrent.Exchange.Protocol as PW
13 13
14{- 14{-
15 15
diff --git a/src/Network/BitTorrent/Exchange/Protocol.hs b/src/Network/BitTorrent/Exchange/Protocol.hs
index cab54ef5..8cfcc79d 100644
--- a/src/Network/BitTorrent/Exchange/Protocol.hs
+++ b/src/Network/BitTorrent/Exchange/Protocol.hs
@@ -12,7 +12,7 @@
12-- 12--
13{-# LANGUAGE OverloadedStrings #-} 13{-# LANGUAGE OverloadedStrings #-}
14{-# LANGUAGE RecordWildCards #-} 14{-# LANGUAGE RecordWildCards #-}
15module Network.BitTorrent.PeerWire.Protocol 15module Network.BitTorrent.Exchange.Protocol
16 ( -- * Inital handshake 16 ( -- * Inital handshake
17 Handshake(..), ppHandshake 17 Handshake(..), ppHandshake
18 , handshake , handshakeCaps 18 , handshake , handshakeCaps
diff --git a/src/Network/BitTorrent/Exchange/Selection.hs b/src/Network/BitTorrent/Exchange/Selection.hs
index db9e04f4..ef47876a 100644
--- a/src/Network/BitTorrent/Exchange/Selection.hs
+++ b/src/Network/BitTorrent/Exchange/Selection.hs
@@ -21,7 +21,7 @@
21-- Note that BitTorrent applies the strict priority policy for 21-- Note that BitTorrent applies the strict priority policy for
22-- /subpiece/ or /blocks/ selection. 22-- /subpiece/ or /blocks/ selection.
23-- 23--
24module Network.BitTorrent.PeerWire.Selection 24module Network.BitTorrent.Exchange.Selection
25 ( Selector 25 ( Selector
26 26
27 -- * Construction 27 -- * Construction
@@ -34,7 +34,7 @@ module Network.BitTorrent.PeerWire.Selection
34 34
35import Data.Bitfield 35import Data.Bitfield
36import Data.Ratio 36import Data.Ratio
37import Network.BitTorrent.PeerWire.Protocol 37import Network.BitTorrent.Exchange.Protocol
38 38
39 39
40type Selector = Bitfield -- ^ Indices of client /have/ pieces. 40type Selector = Bitfield -- ^ Indices of client /have/ pieces.
diff --git a/src/Network/BitTorrent/Exchange/Status.hs b/src/Network/BitTorrent/Exchange/Status.hs
index 806ba77d..353ef14d 100644
--- a/src/Network/BitTorrent/Exchange/Status.hs
+++ b/src/Network/BitTorrent/Exchange/Status.hs
@@ -5,7 +5,7 @@
5-- Stability : experimental 5-- Stability : experimental
6-- Portability : portable 6-- Portability : portable
7-- 7--
8module Network.BitTorrent.Peer.Status 8module Network.BitTorrent.Exchange.Status
9 ( PeerStatus(..) 9 ( PeerStatus(..)
10 , setChoking, setInterested 10 , setChoking, setInterested
11 , initPeerStatus 11 , initPeerStatus