summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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