diff options
-rw-r--r-- | CryptoTransport.hs | 2 | ||||
-rw-r--r-- | DHTHandlers.hs | 2 | ||||
-rw-r--r-- | DHTTransport.hs | 2 | ||||
-rw-r--r-- | OnionTransport.hs | 2 | ||||
-rw-r--r-- | Tox.hs | 2 | ||||
-rw-r--r-- | ToxAddress.hs | 2 | ||||
-rw-r--r-- | ToxPacket.hs | 2 | ||||
-rw-r--r-- | ToxTransport.hs | 2 | ||||
-rw-r--r-- | src/Crypto/Tox.hs (renamed from ToxCrypto.hs) | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/CryptoTransport.hs b/CryptoTransport.hs index 37f91369..203d4d82 100644 --- a/CryptoTransport.hs +++ b/CryptoTransport.hs | |||
@@ -11,7 +11,7 @@ module CryptoTransport | |||
11 | , Handshake(..) | 11 | , Handshake(..) |
12 | ) where | 12 | ) where |
13 | 13 | ||
14 | import ToxCrypto | 14 | import Crypto.Tox |
15 | import DHTTransport (Cookie) | 15 | import DHTTransport (Cookie) |
16 | 16 | ||
17 | import Network.Socket | 17 | import Network.Socket |
diff --git a/DHTHandlers.hs b/DHTHandlers.hs index 1cc4cf83..b98a4d6e 100644 --- a/DHTHandlers.hs +++ b/DHTHandlers.hs | |||
@@ -6,7 +6,7 @@ module DHTHandlers where | |||
6 | import DHTTransport | 6 | import DHTTransport |
7 | import Network.QueryResponse as QR hiding (Client) | 7 | import Network.QueryResponse as QR hiding (Client) |
8 | import qualified Network.QueryResponse as QR (Client) | 8 | import qualified Network.QueryResponse as QR (Client) |
9 | import ToxCrypto | 9 | import Crypto.Tox |
10 | import Network.BitTorrent.DHT.Search | 10 | import Network.BitTorrent.DHT.Search |
11 | import qualified Data.Wrapper.PSQInt as Int | 11 | import qualified Data.Wrapper.PSQInt as Int |
12 | import Network.Kademlia | 12 | import Network.Kademlia |
diff --git a/DHTTransport.hs b/DHTTransport.hs index 49d3034d..75ad6e9d 100644 --- a/DHTTransport.hs +++ b/DHTTransport.hs | |||
@@ -27,7 +27,7 @@ module DHTTransport | |||
27 | ) where | 27 | ) where |
28 | 28 | ||
29 | import ToxAddress | 29 | import ToxAddress |
30 | import ToxCrypto hiding (encrypt,decrypt) | 30 | import Crypto.Tox hiding (encrypt,decrypt) |
31 | import qualified ToxCrypto | 31 | import qualified ToxCrypto |
32 | import Network.QueryResponse | 32 | import Network.QueryResponse |
33 | 33 | ||
diff --git a/OnionTransport.hs b/OnionTransport.hs index 96f9443f..da8dcdfd 100644 --- a/OnionTransport.hs +++ b/OnionTransport.hs | |||
@@ -38,7 +38,7 @@ module OnionTransport | |||
38 | 38 | ||
39 | import Network.Address (fromSockAddr,toSockAddr,setPort,either4or6,sockAddrPort) | 39 | import Network.Address (fromSockAddr,toSockAddr,setPort,either4or6,sockAddrPort) |
40 | import Network.QueryResponse | 40 | import Network.QueryResponse |
41 | import ToxCrypto hiding (encrypt,decrypt) | 41 | import Crypto.Tox hiding (encrypt,decrypt) |
42 | import ToxAddress | 42 | import ToxAddress |
43 | import qualified ToxCrypto | 43 | import qualified ToxCrypto |
44 | import DHTTransport (NodeInfo(..),NodeId(..),SendNodes,nodeInfo,DHTPublicKey) | 44 | import DHTTransport (NodeInfo(..),NodeId(..),SendNodes,nodeInfo,DHTPublicKey) |
@@ -83,7 +83,7 @@ import Control.TriadCommittee | |||
83 | import Network.BitTorrent.DHT.Token as Token | 83 | import Network.BitTorrent.DHT.Token as Token |
84 | import GHC.TypeLits | 84 | import GHC.TypeLits |
85 | 85 | ||
86 | import ToxCrypto hiding (Assym) | 86 | import Crypto.Tox hiding (Assym) |
87 | import ToxTransport | 87 | import ToxTransport |
88 | import ToxAddress | 88 | import ToxAddress |
89 | import qualified DHTTransport as DHT | 89 | import qualified DHTTransport as DHT |
diff --git a/ToxAddress.hs b/ToxAddress.hs index 6a724d0f..d7133462 100644 --- a/ToxAddress.hs +++ b/ToxAddress.hs | |||
@@ -54,7 +54,7 @@ import System.IO.Unsafe (unsafeDupablePerformIO) | |||
54 | import qualified Text.ParserCombinators.ReadP as RP | 54 | import qualified Text.ParserCombinators.ReadP as RP |
55 | import Text.Read | 55 | import Text.Read |
56 | import Data.Bits | 56 | import Data.Bits |
57 | import ToxCrypto | 57 | import Crypto.Tox |
58 | import Foreign.Ptr | 58 | import Foreign.Ptr |
59 | import Data.Function | 59 | import Data.Function |
60 | import System.Endian | 60 | import System.Endian |
diff --git a/ToxPacket.hs b/ToxPacket.hs index bc20f480..33ec9977 100644 --- a/ToxPacket.hs +++ b/ToxPacket.hs | |||
@@ -4,7 +4,7 @@ | |||
4 | {-# LANGUAGE TupleSections #-} | 4 | {-# LANGUAGE TupleSections #-} |
5 | module ToxPacket where | 5 | module ToxPacket where |
6 | 6 | ||
7 | import ToxCrypto | 7 | import Crypto.Tox |
8 | import Data.Serialize as S | 8 | import Data.Serialize as S |
9 | import Data.Aeson as JSON | 9 | import Data.Aeson as JSON |
10 | import Data.IP | 10 | import Data.IP |
diff --git a/ToxTransport.hs b/ToxTransport.hs index f77f863e..ea7f6492 100644 --- a/ToxTransport.hs +++ b/ToxTransport.hs | |||
@@ -9,7 +9,7 @@ | |||
9 | module ToxTransport (toxTransport) where | 9 | module ToxTransport (toxTransport) where |
10 | 10 | ||
11 | import Network.QueryResponse | 11 | import Network.QueryResponse |
12 | import ToxCrypto | 12 | import Crypto.Tox |
13 | import DHTTransport | 13 | import DHTTransport |
14 | import OnionTransport | 14 | import OnionTransport |
15 | import CryptoTransport | 15 | import CryptoTransport |
diff --git a/ToxCrypto.hs b/src/Crypto/Tox.hs index 9f39f1e1..c745270d 100644 --- a/ToxCrypto.hs +++ b/src/Crypto/Tox.hs | |||
@@ -6,7 +6,7 @@ | |||
6 | {-# LANGUAGE DeriveTraversable #-} | 6 | {-# LANGUAGE DeriveTraversable #-} |
7 | {-# LANGUAGE ExplicitNamespaces #-} | 7 | {-# LANGUAGE ExplicitNamespaces #-} |
8 | {-# LANGUAGE TypeOperators #-} | 8 | {-# LANGUAGE TypeOperators #-} |
9 | module ToxCrypto | 9 | module Crypto.Tox |
10 | ( PublicKey | 10 | ( PublicKey |
11 | , publicKey | 11 | , publicKey |
12 | , getPublicKey | 12 | , getPublicKey |