diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-06-07 23:42:34 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-06-07 23:42:34 +0400 |
commit | 757ce3b4fa3de2d6e84307f79184a44b48ec0a29 (patch) | |
tree | 82e93efc5920c5e7a18adf6c126f9e8eec002ae3 | |
parent | a30bb766e8f2bea19e5a8f1739354d5f7894df1d (diff) |
~ Rename Message to Protocol.
-rw-r--r-- | bittorrent.cabal | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/PeerWire.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/PeerWire/Protocol.hs (renamed from src/Network/BitTorrent/PeerWire/Message.hs) | 7 |
3 files changed, 6 insertions, 5 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal index 1a28c880..526f703a 100644 --- a/bittorrent.cabal +++ b/bittorrent.cabal | |||
@@ -47,8 +47,8 @@ library | |||
47 | , Network.BitTorrent.PeerWire | 47 | , Network.BitTorrent.PeerWire |
48 | , Network.BitTorrent.PeerWire.Block | 48 | , Network.BitTorrent.PeerWire.Block |
49 | , Network.BitTorrent.PeerWire.Selection | 49 | , Network.BitTorrent.PeerWire.Selection |
50 | , Network.BitTorrent.PeerWire.Message | ||
51 | , Network.BitTorrent.PeerWire.Handshake | 50 | , Network.BitTorrent.PeerWire.Handshake |
51 | , Network.BitTorrent.PeerWire.Protocol | ||
52 | 52 | ||
53 | other-modules: | 53 | other-modules: |
54 | 54 | ||
diff --git a/src/Network/BitTorrent/PeerWire.hs b/src/Network/BitTorrent/PeerWire.hs index d0583bff..5ac4c7f3 100644 --- a/src/Network/BitTorrent/PeerWire.hs +++ b/src/Network/BitTorrent/PeerWire.hs | |||
@@ -10,5 +10,5 @@ module Network.BitTorrent.PeerWire (module PW) where | |||
10 | 10 | ||
11 | import Network.BitTorrent.PeerWire.Block as PW | 11 | import Network.BitTorrent.PeerWire.Block as PW |
12 | import Network.BitTorrent.PeerWire.Selection as PW | 12 | import Network.BitTorrent.PeerWire.Selection as PW |
13 | import Network.BitTorrent.PeerWire.Message as PW | 13 | import Network.BitTorrent.PeerWire.Protocol as PW |
14 | import Network.BitTorrent.PeerWire.Handshake as PW | 14 | import Network.BitTorrent.PeerWire.Handshake as PW |
diff --git a/src/Network/BitTorrent/PeerWire/Message.hs b/src/Network/BitTorrent/PeerWire/Protocol.hs index 3895ed5f..a4d987e6 100644 --- a/src/Network/BitTorrent/PeerWire/Message.hs +++ b/src/Network/BitTorrent/PeerWire/Protocol.hs | |||
@@ -1,7 +1,8 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | 1 | {-# LANGUAGE OverloadedStrings #-} |
2 | module Network.BitTorrent.PeerWire.Message | 2 | module Network.BitTorrent.PeerWire.Protocol |
3 | ( Message(..) | 3 | ( |
4 | , Bitfield | 4 | -- * Messages |
5 | Message(..) | ||
5 | , ppMessage | 6 | , ppMessage |
6 | ) where | 7 | ) where |
7 | 8 | ||