summaryrefslogtreecommitdiff
path: root/dht
diff options
context:
space:
mode:
Diffstat (limited to 'dht')
-rw-r--r--dht/dht-client.cabal2
-rw-r--r--dht/examples/dhtd.hs2
-rw-r--r--dht/src/Network/Tox.hs2
-rw-r--r--dht/src/Network/Tox/Onion/Routes.hs (renamed from dht/OnionRouter.hs)2
-rw-r--r--dht/src/Network/Tox/Transport.hs2
-rw-r--r--dht/todo.txt1
6 files changed, 5 insertions, 6 deletions
diff --git a/dht/dht-client.cabal b/dht/dht-client.cabal
index feaf2ed4..4155e7e7 100644
--- a/dht/dht-client.cabal
+++ b/dht/dht-client.cabal
@@ -86,7 +86,7 @@ library
86 System.Global6 86 System.Global6
87 Data.PacketQueue 87 Data.PacketQueue
88 Data.PacketBuffer 88 Data.PacketBuffer
89 OnionRouter 89 Network.Tox.Onion.Routes
90 TCPProber 90 TCPProber
91 Data.Tox.Onion 91 Data.Tox.Onion
92 Network.Tox 92 Network.Tox
diff --git a/dht/examples/dhtd.hs b/dht/examples/dhtd.hs
index d028a308..e24bb5df 100644
--- a/dht/examples/dhtd.hs
+++ b/dht/examples/dhtd.hs
@@ -99,7 +99,7 @@ import qualified Network.Tox.TCP as TCP
99import qualified TCPProber as TCP 99import qualified TCPProber as TCP
100import Data.Typeable 100import Data.Typeable
101import Network.Tox.ContactInfo as Tox 101import Network.Tox.ContactInfo as Tox
102import OnionRouter 102import Network.Tox.Onion.Routes
103import qualified Data.Word64Map as W64 103import qualified Data.Word64Map as W64
104import Network.Tox.AggregateSession 104import Network.Tox.AggregateSession
105import qualified Network.Tox.Session as Tox (Session) 105import qualified Network.Tox.Session as Tox (Session)
diff --git a/dht/src/Network/Tox.hs b/dht/src/Network/Tox.hs
index 746d8667..c233492d 100644
--- a/dht/src/Network/Tox.hs
+++ b/dht/src/Network/Tox.hs
@@ -67,7 +67,7 @@ import qualified Network.Tox.Onion.Handlers as Onion
67import qualified Network.Tox.Onion.Transport as Onion 67import qualified Network.Tox.Onion.Transport as Onion
68import Network.Tox.Transport 68import Network.Tox.Transport
69import Network.Tox.TCP (tcpClient) 69import Network.Tox.TCP (tcpClient)
70import OnionRouter 70import Network.Tox.Onion.Routes
71import Network.Tox.ContactInfo 71import Network.Tox.ContactInfo
72import Text.XXD 72import Text.XXD
73import DPut 73import DPut
diff --git a/dht/OnionRouter.hs b/dht/src/Network/Tox/Onion/Routes.hs
index e6f647b5..c054b99e 100644
--- a/dht/OnionRouter.hs
+++ b/dht/src/Network/Tox/Onion/Routes.hs
@@ -1,7 +1,7 @@
1{-# LANGUAGE LambdaCase #-} 1{-# LANGUAGE LambdaCase #-}
2{-# LANGUAGE NondecreasingIndentation #-} 2{-# LANGUAGE NondecreasingIndentation #-}
3{-# LANGUAGE RankNTypes #-} 3{-# LANGUAGE RankNTypes #-}
4module OnionRouter where 4module Network.Tox.Onion.Routes where
5 5
6import Control.Concurrent.ThreadUtil 6import Control.Concurrent.ThreadUtil
7import Crypto.Tox 7import Crypto.Tox
diff --git a/dht/src/Network/Tox/Transport.hs b/dht/src/Network/Tox/Transport.hs
index 4f97bfbf..fef8e8bb 100644
--- a/dht/src/Network/Tox/Transport.hs
+++ b/dht/src/Network/Tox/Transport.hs
@@ -14,7 +14,7 @@ import Data.Tox.Relay as TCP
14import Network.Tox.DHT.Transport as UDP 14import Network.Tox.DHT.Transport as UDP
15import Network.Tox.Onion.Transport 15import Network.Tox.Onion.Transport
16import Network.Tox.Crypto.Transport 16import Network.Tox.Crypto.Transport
17import OnionRouter 17import Network.Tox.Onion.Routes
18 18
19import Network.Socket 19import Network.Socket
20 20
diff --git a/dht/todo.txt b/dht/todo.txt
index 12227a71..aaf1c6bd 100644
--- a/dht/todo.txt
+++ b/dht/todo.txt
@@ -57,7 +57,6 @@ maint: Newtype for internet (ipv4,ipv6) sockaddr.
57 57
58maint: Rename files. 58maint: Rename files.
59 59
60 OnionRouter -> Network.Tox.Onion.Routes
61 Announcer -> Network.Kademlia.Announce 60 Announcer -> Network.Kademlia.Announce
62 InterruptibleDelay -> Control.Concurrent.Delay 61 InterruptibleDelay -> Control.Concurrent.Delay
63 Roster -> Network.Tox.ContactInfo 62 Roster -> Network.Tox.ContactInfo