]> git.rkrishnan.org Git - functorrent.git/blobdiff - src/FuncTorrent.hs
refactoring to make Main simpler
[functorrent.git] / src / FuncTorrent.hs
index 2841c13d60adea1f3fa2b776e3e2b92780506595..59fe32f446dac27ed82807b209240408f118f294 100644 (file)
@@ -1,27 +1,19 @@
 module FuncTorrent
     (BVal(..),
-     Info,
-     InfoDict,
-     Metainfo,
+     Info(..),
+     Metainfo(..),
      Peer,
-     PeerResp(..),
-     announceList,
-     connect,
+     TrackerResponse(..),
+     getTrackerResponse,
      decode,
      encode,
-     handShakeMsg,
-     info,
-     infoHash,
+     handShake,
+     msgLoop,
      initLogger,
-     lengthInBytes,
      logMessage,
      logStop,
      mkInfo,
-     mkMetaInfo,
-     mkPeerResp,
-     name,
-     prepareRequest,
-     urlEncodeHash
+     mkMetaInfo
     ) where
 
 import FuncTorrent.Bencode