diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Network/BitTorrent/DHT/Message.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Query.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Session.hs | 4 | ||||
-rw-r--r-- | src/Network/DatagramServer.hs (renamed from src/Network/KRPC.hs) | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/Network/BitTorrent/DHT/Message.hs b/src/Network/BitTorrent/DHT/Message.hs index c99c72bb..706d181a 100644 --- a/src/Network/BitTorrent/DHT/Message.hs +++ b/src/Network/BitTorrent/DHT/Message.hs | |||
@@ -107,14 +107,14 @@ import Data.Monoid | |||
107 | import Data.Serialize as S | 107 | import Data.Serialize as S |
108 | import Data.Typeable | 108 | import Data.Typeable |
109 | import Network | 109 | import Network |
110 | import Network.KRPC | 110 | import Network.DatagramServer |
111 | import Network.KRPC.Message (KMessageOf) | 111 | import Network.KRPC.Message (KMessageOf) |
112 | import Data.Maybe | 112 | import Data.Maybe |
113 | 113 | ||
114 | import Data.Torrent (InfoHash) | 114 | import Data.Torrent (InfoHash) |
115 | import Network.BitTorrent.DHT.Token | 115 | import Network.BitTorrent.DHT.Token |
116 | #ifdef VERSION_bencoding | 116 | #ifdef VERSION_bencoding |
117 | import Network.KRPC () | 117 | import Network.DatagramServer () |
118 | import Network.DHT.Mainline () | 118 | import Network.DHT.Mainline () |
119 | #endif | 119 | #endif |
120 | import Network.RPC hiding (Query,Response) | 120 | import Network.RPC hiding (Query,Response) |
diff --git a/src/Network/BitTorrent/DHT/Query.hs b/src/Network/BitTorrent/DHT/Query.hs index a872fc72..0219adfa 100644 --- a/src/Network/BitTorrent/DHT/Query.hs +++ b/src/Network/BitTorrent/DHT/Query.hs | |||
@@ -81,9 +81,9 @@ import Text.PrettyPrint.HughesPJClass hiding ((<>),($$)) | |||
81 | import Data.Time | 81 | import Data.Time |
82 | import Data.Time.Clock.POSIX | 82 | import Data.Time.Clock.POSIX |
83 | 83 | ||
84 | import Network.KRPC as KRPC hiding (Options, def) | 84 | import Network.DatagramServer as KRPC hiding (Options, def) |
85 | import Network.KRPC.Message (ReflectedIP(..)) | 85 | import Network.KRPC.Message (ReflectedIP(..)) |
86 | import Network.KRPC (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 |
89 | import Network.BitTorrent.DHT.Routing as R | 89 | import Network.BitTorrent.DHT.Routing as R |
diff --git a/src/Network/BitTorrent/DHT/Session.hs b/src/Network/BitTorrent/DHT/Session.hs index bec2dabc..0800f147 100644 --- a/src/Network/BitTorrent/DHT/Session.hs +++ b/src/Network/BitTorrent/DHT/Session.hs | |||
@@ -104,8 +104,8 @@ import Data.Serialize as S | |||
104 | 104 | ||
105 | 105 | ||
106 | import Data.Torrent as Torrent | 106 | import Data.Torrent as Torrent |
107 | import Network.KRPC as KRPC hiding (Options, def) | 107 | import Network.DatagramServer as KRPC hiding (Options, def) |
108 | import qualified Network.KRPC 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.KRPC.Message (KMessageOf) |
diff --git a/src/Network/KRPC.hs b/src/Network/DatagramServer.hs index 22ab81f2..c083928d 100644 --- a/src/Network/KRPC.hs +++ b/src/Network/DatagramServer.hs | |||
@@ -60,7 +60,7 @@ | |||
60 | {-# LANGUAGE FunctionalDependencies #-} | 60 | {-# LANGUAGE FunctionalDependencies #-} |
61 | {-# LANGUAGE DeriveDataTypeable #-} | 61 | {-# LANGUAGE DeriveDataTypeable #-} |
62 | {-# LANGUAGE TemplateHaskell #-} | 62 | {-# LANGUAGE TemplateHaskell #-} |
63 | module Network.KRPC | 63 | module Network.DatagramServer |
64 | ( -- * Methods | 64 | ( -- * Methods |
65 | Method | 65 | Method |
66 | , KRPC (..) | 66 | , KRPC (..) |