diff options
author | James Crayne <jim.crayne@gmail.com> | 2018-11-04 03:25:21 -0500 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2018-11-04 03:25:21 -0500 |
commit | 5f5aa818f8484570349e75a061d7b37cc9fe826a (patch) | |
tree | 9a574cc572d2caa4af9571a4776d207250e93add /src/Network/Tox/Onion | |
parent | df787ee7eea3d0d6e0defdc4a7cbe646ca062feb (diff) |
Preparation to move DPut to a separate project.
Diffstat (limited to 'src/Network/Tox/Onion')
-rw-r--r-- | src/Network/Tox/Onion/Handlers.hs | 1 | ||||
-rw-r--r-- | src/Network/Tox/Onion/Transport.hs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs index 80a6ae3a..0d8a9151 100644 --- a/src/Network/Tox/Onion/Handlers.hs +++ b/src/Network/Tox/Onion/Handlers.hs | |||
@@ -38,6 +38,7 @@ import Data.IP | |||
38 | import Data.Maybe | 38 | import Data.Maybe |
39 | import Data.Functor.Identity | 39 | import Data.Functor.Identity |
40 | import DPut | 40 | import DPut |
41 | import DebugTag | ||
41 | 42 | ||
42 | type Client r = QR.Client String PacketKind TransactionId (OnionDestination r) Message | 43 | type Client r = QR.Client String PacketKind TransactionId (OnionDestination r) Message |
43 | type Message = OnionMessage Identity | 44 | type Message = OnionMessage Identity |
diff --git a/src/Network/Tox/Onion/Transport.hs b/src/Network/Tox/Onion/Transport.hs index 7ed9702a..10bd5a44 100644 --- a/src/Network/Tox/Onion/Transport.hs +++ b/src/Network/Tox/Onion/Transport.hs | |||
@@ -82,6 +82,7 @@ import Network.Socket | |||
82 | import qualified Text.ParserCombinators.ReadP as RP | 82 | import qualified Text.ParserCombinators.ReadP as RP |
83 | import Data.Hashable | 83 | import Data.Hashable |
84 | import DPut | 84 | import DPut |
85 | import DebugTag | ||
85 | 86 | ||
86 | type HandleLo a = Maybe (Either String (ByteString, SockAddr)) -> IO a | 87 | type HandleLo a = Maybe (Either String (ByteString, SockAddr)) -> IO a |
87 | 88 | ||