]> git.rkrishnan.org Git - functorrent.git/blobdiff - src/FuncTorrent/Config.hs
new experimental Config module to hold input data
[functorrent.git] / src / FuncTorrent / Config.hs
diff --git a/src/FuncTorrent/Config.hs b/src/FuncTorrent/Config.hs
new file mode 100644 (file)
index 0000000..5709ba3
--- /dev/null
@@ -0,0 +1,8 @@
+-- | Configuration/Environment read from either the .torrent file or
+-- | from Magnet URI.
+
+module FuncTorrent.Config where
+
+data Config = Metainfo
+            | Magnetinfo
+            deriving (Eq, Show)