summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Onion
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/Onion')
-rw-r--r--src/Network/Tox/Onion/Handlers.hs1
-rw-r--r--src/Network/Tox/Onion/Transport.hs1
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
38import Data.Maybe 38import Data.Maybe
39import Data.Functor.Identity 39import Data.Functor.Identity
40import DPut 40import DPut
41import DebugTag
41 42
42type Client r = QR.Client String PacketKind TransactionId (OnionDestination r) Message 43type Client r = QR.Client String PacketKind TransactionId (OnionDestination r) Message
43type Message = OnionMessage Identity 44type 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
82import qualified Text.ParserCombinators.ReadP as RP 82import qualified Text.ParserCombinators.ReadP as RP
83import Data.Hashable 83import Data.Hashable
84import DPut 84import DPut
85import DebugTag
85 86
86type HandleLo a = Maybe (Either String (ByteString, SockAddr)) -> IO a 87type HandleLo a = Maybe (Either String (ByteString, SockAddr)) -> IO a
87 88