summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-03-15 21:59:45 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-03-15 21:59:45 +0400
commite2fa5180aab8c8c30e5170e9de66330b923347aa (patch)
tree1c454c5858414d6ac792f367592813d0d2661f0f /src
parent74aa8dffa1d754a296c56c21f2084ce90e17f81d (diff)
Explicitly export items from Network.BitTorrent module
Diffstat (limited to 'src')
-rw-r--r--src/Network/BitTorrent.hs37
1 files changed, 36 insertions, 1 deletions
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs
index 0ccb9f5e..8764d91d 100644
--- a/src/Network/BitTorrent.hs
+++ b/src/Network/BitTorrent.hs
@@ -7,7 +7,42 @@
7-- 7--
8{-# LANGUAGE RecordWildCards #-} 8{-# LANGUAGE RecordWildCards #-}
9module Network.BitTorrent 9module Network.BitTorrent
10 ( module BT 10 ( -- * Client
11 Options (..)
12
13 -- ** Session
14 , Client
15 , clientPeerId
16 , clientListenerPort
17 , allowedExtensions
18
19 -- ** Initialization
20 , newClient
21 , closeClient
22 , withClient
23
24 -- ** Monadic
25 , MonadBitTorrent (..)
26 , BitTorrent
27 , runBitTorrent
28 , getClient
29 , simpleClient
30
31 -- * Torrent
32 -- ** Source
33 , InfoHash
34 , Magnet
35 , InfoDict
36 , Torrent
37
38 -- ** Handle
39 , TorrentSource(openHandle)
40 , closeHandle
41
42 -- ** Control
43 , start
44 , pause
45 , stop
11 ) where 46 ) where
12 47
13import Data.Torrent as BT 48import Data.Torrent as BT