summaryrefslogtreecommitdiff
path: root/src/Network/Tox
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/Network/Tox
parent65f9152b7be0dc86a09870114c9e33ff4642f918 (diff)
Renamed Network.Tox.(Address -> NodeId).
Diffstat (limited to 'src/Network/Tox')
-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
3 files changed, 4 insertions, 4 deletions
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