summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-09-15 18:11:23 -0400
committerjoe <joe@jerkface.net>2017-09-15 18:11:23 -0400
commit4eba2c53f7a2bb9c6694fdfacd057516e8710174 (patch)
tree70d5a8ea08fad1fde70d00d3e2d2ba68376227f2 /src
parent65f9152b7be0dc86a09870114c9e33ff4642f918 (diff)
Renamed Network.Tox.(Address -> NodeId).
Diffstat (limited to 'src')
-rw-r--r--src/Network/Tox.hs2
-rw-r--r--src/Network/Tox/DHT/Transport.hs4
-rw-r--r--src/Network/Tox/NodeId.hs (renamed from src/Network/Tox/Address.hs)2
-rw-r--r--src/Network/Tox/Onion/Transport.hs2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs
index c49cfe90..17585dfd 100644
--- a/src/Network/Tox.hs
+++ b/src/Network/Tox.hs
@@ -85,7 +85,7 @@ import GHC.TypeLits
85 85
86import Crypto.Tox hiding (Assym) 86import Crypto.Tox hiding (Assym)
87import Network.Tox.Transport 87import Network.Tox.Transport
88import Network.Tox.Address 88import Network.Tox.NodeId
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 Network.Tox.Onion.Transport as Onion 91import qualified Network.Tox.Onion.Transport as Onion
diff --git a/src/Network/Tox/DHT/Transport.hs b/src/Network/Tox/DHT/Transport.hs
index d7f8e0cd..5e20709b 100644
--- a/src/Network/Tox/DHT/Transport.hs
+++ b/src/Network/Tox/DHT/Transport.hs
@@ -10,7 +10,7 @@ module Network.Tox.DHT.Transport
10 ( parseDHTAddr 10 ( parseDHTAddr
11 , encodeDHTAddr 11 , encodeDHTAddr
12 , forwardDHTRequests 12 , forwardDHTRequests
13 , module Network.Tox.Address 13 , module Network.Tox.NodeId
14 , DHTMessage(..) 14 , DHTMessage(..)
15 , Ping(..) 15 , Ping(..)
16 , Pong(..) 16 , Pong(..)
@@ -26,7 +26,7 @@ module Network.Tox.DHT.Transport
26 , dhtMessageType 26 , dhtMessageType
27 ) where 27 ) where
28 28
29import Network.Tox.Address 29import Network.Tox.NodeId
30import Crypto.Tox hiding (encrypt,decrypt) 30import Crypto.Tox hiding (encrypt,decrypt)
31import qualified Crypto.Tox as ToxCrypto 31import qualified Crypto.Tox as ToxCrypto
32import Network.QueryResponse 32import Network.QueryResponse
diff --git a/src/Network/Tox/Address.hs b/src/Network/Tox/NodeId.hs
index 0d853bcb..d9d7cfbc 100644
--- a/src/Network/Tox/Address.hs
+++ b/src/Network/Tox/NodeId.hs
@@ -14,7 +14,7 @@
14{-# LANGUAGE ScopedTypeVariables #-} 14{-# LANGUAGE ScopedTypeVariables #-}
15{-# LANGUAGE TupleSections #-} 15{-# LANGUAGE TupleSections #-}
16{-# LANGUAGE TypeApplications #-} 16{-# LANGUAGE TypeApplications #-}
17module Network.Tox.Address 17module Network.Tox.NodeId
18 ( NodeInfo(..) 18 ( NodeInfo(..)
19 , NodeId 19 , NodeId
20 , nodeInfo 20 , nodeInfo
diff --git a/src/Network/Tox/Onion/Transport.hs b/src/Network/Tox/Onion/Transport.hs
index f10dcb43..f3727fad 100644
--- a/src/Network/Tox/Onion/Transport.hs
+++ b/src/Network/Tox/Onion/Transport.hs
@@ -39,7 +39,7 @@ module Network.Tox.Onion.Transport
39import Network.Address (fromSockAddr,toSockAddr,setPort,either4or6,sockAddrPort) 39import Network.Address (fromSockAddr,toSockAddr,setPort,either4or6,sockAddrPort)
40import Network.QueryResponse 40import Network.QueryResponse
41import Crypto.Tox hiding (encrypt,decrypt) 41import Crypto.Tox hiding (encrypt,decrypt)
42import Network.Tox.Address 42import Network.Tox.NodeId
43import qualified Crypto.Tox as ToxCrypto 43import qualified Crypto.Tox as ToxCrypto
44import Network.Tox.DHT.Transport (NodeInfo(..),NodeId(..),SendNodes,nodeInfo,DHTPublicKey) 44import Network.Tox.DHT.Transport (NodeInfo(..),NodeId(..),SendNodes,nodeInfo,DHTPublicKey)
45 45