summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-02-16 21:19:45 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-02-16 21:19:45 +0400
commitbdf086bea98bd29c5437a77df5c19563ea29a9c1 (patch)
tree4f334771f551173f0f511c40a62254aed800f88e
parent4f34289c4c652d312667cd0cc3bf1660b907f707 (diff)
Expose DHT options in DHT.hs module
-rw-r--r--src/Network/BitTorrent/Client.hs2
-rw-r--r--src/Network/BitTorrent/DHT.hs9
2 files changed, 7 insertions, 4 deletions
diff --git a/src/Network/BitTorrent/Client.hs b/src/Network/BitTorrent/Client.hs
index 5218c299..e1a84939 100644
--- a/src/Network/BitTorrent/Client.hs
+++ b/src/Network/BitTorrent/Client.hs
@@ -53,7 +53,7 @@ import Data.Torrent.Magnet
53import Network.BitTorrent.Client.Types 53import Network.BitTorrent.Client.Types
54import Network.BitTorrent.Client.Handle 54import Network.BitTorrent.Client.Handle
55import Network.BitTorrent.Core 55import Network.BitTorrent.Core
56import Network.BitTorrent.DHT 56import Network.BitTorrent.DHT as DHT hiding (Options)
57import Network.BitTorrent.Tracker as Tracker hiding (Options) 57import Network.BitTorrent.Tracker as Tracker hiding (Options)
58import Network.BitTorrent.Exchange as Exchange hiding (Options) 58import Network.BitTorrent.Exchange as Exchange hiding (Options)
59import qualified Network.BitTorrent.Exchange as Exchange (Options(..)) 59import qualified Network.BitTorrent.Exchange as Exchange (Options(..))
diff --git a/src/Network/BitTorrent/DHT.hs b/src/Network/BitTorrent/DHT.hs
index 3b852c52..6b57e451 100644
--- a/src/Network/BitTorrent/DHT.hs
+++ b/src/Network/BitTorrent/DHT.hs
@@ -20,7 +20,7 @@
20module Network.BitTorrent.DHT 20module Network.BitTorrent.DHT
21 ( -- * Distributed Hash Table 21 ( -- * Distributed Hash Table
22 DHT 22 DHT
23 , MonadDHT (..) 23 , Options (..)
24 , dht 24 , dht
25 25
26 -- * Bootstrapping 26 -- * Bootstrapping
@@ -39,12 +39,15 @@ module Network.BitTorrent.DHT
39 , Network.BitTorrent.DHT.insert 39 , Network.BitTorrent.DHT.insert
40 , Network.BitTorrent.DHT.delete 40 , Network.BitTorrent.DHT.delete
41 41
42 -- * Internal 42 -- * Embedding
43 -- | Can be used to implement instance of 'MonadDHT'. 43 -- ** Session
44 , LogFun 44 , LogFun
45 , Node 45 , Node
46 , handlers 46 , handlers
47 , startNode 47 , startNode
48
49 -- ** Monad
50 , MonadDHT (..)
48 , runDHT 51 , runDHT
49 ) where 52 ) where
50 53