diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-03-05 00:35:47 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-03-05 00:35:47 +0400 |
commit | 3c7f12c10caca196a970c0cc8b6c46945c9dee58 (patch) | |
tree | e5a4f8d2d29828ecee64c18881322a3cb7602b93 /src/Network/BitTorrent/Exchange.hs | |
parent | 6794c6843e625a3b61fec48e54167a13f5fd093b (diff) |
Minor refactoring
Diffstat (limited to 'src/Network/BitTorrent/Exchange.hs')
-rw-r--r-- | src/Network/BitTorrent/Exchange.hs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/Network/BitTorrent/Exchange.hs b/src/Network/BitTorrent/Exchange.hs index 86e13d58..8dac3c84 100644 --- a/src/Network/BitTorrent/Exchange.hs +++ b/src/Network/BitTorrent/Exchange.hs | |||
@@ -6,25 +6,23 @@ | |||
6 | -- Portability : portable | 6 | -- Portability : portable |
7 | -- | 7 | -- |
8 | module Network.BitTorrent.Exchange | 8 | module Network.BitTorrent.Exchange |
9 | ( -- * Options | 9 | ( -- * Manager |
10 | Options (..) | 10 | Options (..) |
11 | , Caps | ||
12 | , Extension | ||
13 | , toCaps | ||
14 | |||
15 | -- * Manager | ||
16 | , Manager | 11 | , Manager |
17 | , Handler | 12 | , Handler |
18 | , newManager | 13 | , newManager |
19 | , closeManager | 14 | , closeManager |
20 | 15 | ||
21 | -- * Session | 16 | -- * Session |
17 | , Caps | ||
18 | , Extension | ||
19 | , toCaps | ||
22 | , Session | 20 | , Session |
23 | , newSession | 21 | , newSession |
24 | , closeSession | 22 | , closeSession |
25 | 23 | ||
26 | -- * Session control | 24 | -- * Connections |
27 | , insert | 25 | , connect |
28 | ) where | 26 | ) where |
29 | 27 | ||
30 | import Network.BitTorrent.Exchange.Manager | 28 | import Network.BitTorrent.Exchange.Manager |