diff options
author | joe <joe@jerkface.net> | 2017-09-15 18:11:23 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-09-15 18:11:23 -0400 |
commit | 4eba2c53f7a2bb9c6694fdfacd057516e8710174 (patch) | |
tree | 70d5a8ea08fad1fde70d00d3e2d2ba68376227f2 /src/Network | |
parent | 65f9152b7be0dc86a09870114c9e33ff4642f918 (diff) |
Renamed Network.Tox.(Address -> NodeId).
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/Tox.hs | 2 | ||||
-rw-r--r-- | src/Network/Tox/DHT/Transport.hs | 4 | ||||
-rw-r--r-- | src/Network/Tox/NodeId.hs (renamed from src/Network/Tox/Address.hs) | 2 | ||||
-rw-r--r-- | src/Network/Tox/Onion/Transport.hs | 2 |
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 | ||
86 | import Crypto.Tox hiding (Assym) | 86 | import Crypto.Tox hiding (Assym) |
87 | import Network.Tox.Transport | 87 | import Network.Tox.Transport |
88 | import Network.Tox.Address | 88 | import Network.Tox.NodeId |
89 | import qualified Network.Tox.DHT.Transport as DHT | 89 | import qualified Network.Tox.DHT.Transport as DHT |
90 | import qualified Network.Tox.DHT.Handlers as DHT | 90 | import qualified Network.Tox.DHT.Handlers as DHT |
91 | import qualified Network.Tox.Onion.Transport as Onion | 91 | import 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 | ||
29 | import Network.Tox.Address | 29 | import Network.Tox.NodeId |
30 | import Crypto.Tox hiding (encrypt,decrypt) | 30 | import Crypto.Tox hiding (encrypt,decrypt) |
31 | import qualified Crypto.Tox as ToxCrypto | 31 | import qualified Crypto.Tox as ToxCrypto |
32 | import Network.QueryResponse | 32 | import 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 #-} |
17 | module Network.Tox.Address | 17 | module 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 | |||
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 Crypto.Tox hiding (encrypt,decrypt) | 41 | import Crypto.Tox hiding (encrypt,decrypt) |
42 | import Network.Tox.Address | 42 | import Network.Tox.NodeId |
43 | import qualified Crypto.Tox as ToxCrypto | 43 | import qualified Crypto.Tox as ToxCrypto |
44 | import Network.Tox.DHT.Transport (NodeInfo(..),NodeId(..),SendNodes,nodeInfo,DHTPublicKey) | 44 | import Network.Tox.DHT.Transport (NodeInfo(..),NodeId(..),SendNodes,nodeInfo,DHTPublicKey) |
45 | 45 | ||