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 /src | |
parent | a30bb766e8f2bea19e5a8f1739354d5f7894df1d (diff) |
~ Rename Message to Protocol.
Diffstat (limited to 'src')
-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 |
2 files changed, 5 insertions, 4 deletions
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 | ||