summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent.hs
blob: 5d6034f63af110a95f78e1d4338f6eb736c978af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- |
--   Copyright   :  (c) Sam T. 2013
--   License     :  MIT
--   Maintainer  :  pxqr.sta@gmail.com
--   Stability   :  experimental
--   Portability :  portable
--
module Network.BitTorrent
       ( module BT

         -- * Tracker

         -- * P2P
       , ClientSession, newClient
       , SwarmSession, newLeacher, newSeeder
       , PeerSession
       ) where

import Network.BitTorrent.Internal

import Network.BitTorrent.Extension as BT
import Network.BitTorrent.Peer as BT
import Network.BitTorrent.Exchange as BT
import Network.BitTorrent.Tracker as BT

--discover :: SwarmSession -> (Chan PeerAddr -> IO a) -> IO a
--discover = undefined