summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-09-15 04:17:23 -0400
committerjoe <joe@jerkface.net>2017-09-15 04:17:23 -0400
commit0a1417e6c6cc2e907a34987d026c168a8ab55b8a (patch)
tree2967db0e979b69c0fd217b44591deb533ac97853
parent672efcbc63ff04b7321aae61ddb66811fdde4068 (diff)
Moved OnionTransport to its hierarchical location.
-rw-r--r--OnionHandlers.hs2
-rw-r--r--Tox.hs2
-rw-r--r--ToxTransport.hs2
-rw-r--r--src/Network/Tox/Onion/Transport.hs (renamed from OnionTransport.hs)2
4 files changed, 4 insertions, 4 deletions
diff --git a/OnionHandlers.hs b/OnionHandlers.hs
index 936788b8..db3a7b6d 100644
--- a/OnionHandlers.hs
+++ b/OnionHandlers.hs
@@ -3,7 +3,7 @@ module OnionHandlers where
3 3
4import Network.Tox.DHT.Transport 4import Network.Tox.DHT.Transport
5import Network.Tox.DHT.Handlers hiding (Message,Client) 5import Network.Tox.DHT.Handlers hiding (Message,Client)
6import OnionTransport 6import Network.Tox.Onion.Transport
7import Network.QueryResponse as QR hiding (Client) 7import Network.QueryResponse as QR hiding (Client)
8import qualified Network.QueryResponse as QR (Client) 8import qualified Network.QueryResponse as QR (Client)
9import Crypto.Tox 9import Crypto.Tox
diff --git a/Tox.hs b/Tox.hs
index 09f62c5d..db7acea3 100644
--- a/Tox.hs
+++ b/Tox.hs
@@ -88,7 +88,7 @@ import ToxTransport
88import Network.Tox.Address 88import Network.Tox.Address
89import qualified Network.Tox.DHT.Transport as DHT 89import qualified Network.Tox.DHT.Transport as DHT
90import qualified Network.Tox.DHT.Handlers as DHT 90import qualified Network.Tox.DHT.Handlers as DHT
91import qualified OnionTransport as Onion 91import qualified Network.Tox.Onion.Transport as Onion
92import qualified OnionHandlers as Onion 92import qualified OnionHandlers as Onion
93import CryptoTransport (NetCrypto) 93import CryptoTransport (NetCrypto)
94import Text.XXD 94import Text.XXD
diff --git a/ToxTransport.hs b/ToxTransport.hs
index a401638a..434ca281 100644
--- a/ToxTransport.hs
+++ b/ToxTransport.hs
@@ -11,7 +11,7 @@ module ToxTransport (toxTransport) where
11import Network.QueryResponse 11import Network.QueryResponse
12import Crypto.Tox 12import Crypto.Tox
13import Network.Tox.DHT.Transport 13import Network.Tox.DHT.Transport
14import OnionTransport 14import Network.Tox.Onion.Transport
15import CryptoTransport 15import CryptoTransport
16 16
17import Network.Socket 17import Network.Socket
diff --git a/OnionTransport.hs b/src/Network/Tox/Onion/Transport.hs
index 26130a0c..f10dcb43 100644
--- a/OnionTransport.hs
+++ b/src/Network/Tox/Onion/Transport.hs
@@ -15,7 +15,7 @@
15{-# LANGUAGE TypeFamilyDependencies #-} 15{-# LANGUAGE TypeFamilyDependencies #-}
16{-# LANGUAGE TypeOperators #-} 16{-# LANGUAGE TypeOperators #-}
17{-# LANGUAGE UndecidableInstances #-} 17{-# LANGUAGE UndecidableInstances #-}
18module OnionTransport 18module Network.Tox.Onion.Transport
19 ( parseOnionAddr 19 ( parseOnionAddr
20 , encodeOnionAddr 20 , encodeOnionAddr
21 , forwardOnions 21 , forwardOnions