diff options
author | joe <joe@jerkface.net> | 2017-06-08 13:50:36 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-06-08 13:50:36 -0400 |
commit | 71427b224f25f01c0ce4ddfb1870378e7cc38822 (patch) | |
tree | d1ab4015913435f3ced947d9c70a35aa98474ee6 /src/Network/BitTorrent/DHT | |
parent | ce4ff7cfdc77629b347d325fca62250d5e59794e (diff) |
Renamed Network.KRPC.Message -> Network.DatagramServer.Mainline
Diffstat (limited to 'src/Network/BitTorrent/DHT')
-rw-r--r-- | src/Network/BitTorrent/DHT/Message.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Query.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Routing.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Search.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Session.hs | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/Network/BitTorrent/DHT/Message.hs b/src/Network/BitTorrent/DHT/Message.hs index 2a2cee35..cfe24fc5 100644 --- a/src/Network/BitTorrent/DHT/Message.hs +++ b/src/Network/BitTorrent/DHT/Message.hs | |||
@@ -108,7 +108,7 @@ import Data.Serialize as S | |||
108 | import Data.Typeable | 108 | import Data.Typeable |
109 | import Network | 109 | import Network |
110 | import Network.DatagramServer | 110 | import Network.DatagramServer |
111 | import Network.KRPC.Message (KMessageOf) | 111 | import Network.DatagramServer.Mainline (KMessageOf) |
112 | import Data.Maybe | 112 | import Data.Maybe |
113 | 113 | ||
114 | import Data.Torrent (InfoHash) | 114 | import Data.Torrent (InfoHash) |
diff --git a/src/Network/BitTorrent/DHT/Query.hs b/src/Network/BitTorrent/DHT/Query.hs index 90cdcbee..1c4df267 100644 --- a/src/Network/BitTorrent/DHT/Query.hs +++ b/src/Network/BitTorrent/DHT/Query.hs | |||
@@ -82,7 +82,7 @@ import Data.Time | |||
82 | import Data.Time.Clock.POSIX | 82 | import Data.Time.Clock.POSIX |
83 | 83 | ||
84 | import Network.DatagramServer as KRPC hiding (Options, def) | 84 | import Network.DatagramServer as KRPC hiding (Options, def) |
85 | import Network.KRPC.Message (ReflectedIP(..)) | 85 | import Network.DatagramServer.Mainline (ReflectedIP(..)) |
86 | import Network.DatagramServer (QueryFailure(..)) | 86 | import Network.DatagramServer (QueryFailure(..)) |
87 | import Data.Torrent | 87 | import Data.Torrent |
88 | import Network.BitTorrent.DHT.Message | 88 | import Network.BitTorrent.DHT.Message |
@@ -93,7 +93,7 @@ import qualified Network.BitTorrent.DHT.Search as Search | |||
93 | #ifdef VERSION_bencoding | 93 | #ifdef VERSION_bencoding |
94 | import Data.BEncode (BValue) | 94 | import Data.BEncode (BValue) |
95 | import Network.DHT.Mainline hiding (NodeId) | 95 | import Network.DHT.Mainline hiding (NodeId) |
96 | import Network.KRPC.Message (KMessageOf) | 96 | import Network.DatagramServer.Mainline (KMessageOf) |
97 | #else | 97 | #else |
98 | import Data.ByteString (ByteString) | 98 | import Data.ByteString (ByteString) |
99 | import Data.Tox | 99 | import Data.Tox |
diff --git a/src/Network/BitTorrent/DHT/Routing.hs b/src/Network/BitTorrent/DHT/Routing.hs index c64678e0..d147bb94 100644 --- a/src/Network/BitTorrent/DHT/Routing.hs +++ b/src/Network/BitTorrent/DHT/Routing.hs | |||
@@ -87,7 +87,7 @@ import Data.Torrent | |||
87 | import Network.BitTorrent.Address | 87 | import Network.BitTorrent.Address |
88 | #ifdef VERSION_bencoding | 88 | #ifdef VERSION_bencoding |
89 | import Network.DHT.Mainline () | 89 | import Network.DHT.Mainline () |
90 | import Network.KRPC.Message (KMessageOf) | 90 | import Network.DatagramServer.Mainline (KMessageOf) |
91 | #else | 91 | #else |
92 | import Data.Tox as Tox | 92 | import Data.Tox as Tox |
93 | type KMessageOf = Tox.Message | 93 | type KMessageOf = Tox.Message |
diff --git a/src/Network/BitTorrent/DHT/Search.hs b/src/Network/BitTorrent/DHT/Search.hs index c60ae48f..7a587644 100644 --- a/src/Network/BitTorrent/DHT/Search.hs +++ b/src/Network/BitTorrent/DHT/Search.hs | |||
@@ -27,7 +27,7 @@ import Network.BitTorrent.Address hiding (NodeId) | |||
27 | import Network.DatagramServer.Types | 27 | import Network.DatagramServer.Types |
28 | #ifdef VERSION_bencoding | 28 | #ifdef VERSION_bencoding |
29 | import Network.DHT.Mainline () | 29 | import Network.DHT.Mainline () |
30 | import Network.KRPC.Message (KMessageOf) | 30 | import Network.DatagramServer.Mainline (KMessageOf) |
31 | type Ann = () | 31 | type Ann = () |
32 | #else | 32 | #else |
33 | import Data.Tox as Tox | 33 | import Data.Tox as Tox |
diff --git a/src/Network/BitTorrent/DHT/Session.hs b/src/Network/BitTorrent/DHT/Session.hs index 0800f147..ead4a723 100644 --- a/src/Network/BitTorrent/DHT/Session.hs +++ b/src/Network/BitTorrent/DHT/Session.hs | |||
@@ -108,7 +108,7 @@ import Network.DatagramServer as KRPC hiding (Options, def) | |||
108 | import qualified Network.DatagramServer as KRPC (def) | 108 | import qualified Network.DatagramServer as KRPC (def) |
109 | #ifdef VERSION_bencoding | 109 | #ifdef VERSION_bencoding |
110 | import Data.BEncode (BValue) | 110 | import Data.BEncode (BValue) |
111 | import Network.KRPC.Message (KMessageOf) | 111 | import Network.DatagramServer.Mainline (KMessageOf) |
112 | #else | 112 | #else |
113 | import Data.Tox as Tox | 113 | import Data.Tox as Tox |
114 | #endif | 114 | #endif |