summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Tor.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utility/Tor.hs b/Utility/Tor.hs
index eedee8c6b..0900fb87e 100644
--- a/Utility/Tor.hs
+++ b/Utility/Tor.hs
@@ -17,8 +17,12 @@ import qualified Data.ByteString.UTF8 as BU8
import qualified System.Random as R
type OnionPort = Int
+
newtype OnionAddress = OnionAddress String
+ deriving (Show)
+
type OnionSocket = FilePath
+
type UniqueIdent = String
connectHiddenService :: OnionAddress -> OnionPort -> IO Socket