summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/MainlineDHT/Symbols.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-10-31 15:28:59 -0400
committerjoe <joe@jerkface.net>2017-10-31 15:28:59 -0400
commit7fe3c9e04ecd7aec962bcc83bc4cf5139cf732f0 (patch)
treeb0bdfd844adced80317b622778be5921fa0f79e2 /src/Network/BitTorrent/MainlineDHT/Symbols.hs
parent3fdfec6b917016a2013be03bd3ec5682cc31893c (diff)
Added missing signatures for MainlineDHT.
Diffstat (limited to 'src/Network/BitTorrent/MainlineDHT/Symbols.hs')
-rw-r--r--src/Network/BitTorrent/MainlineDHT/Symbols.hs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/MainlineDHT/Symbols.hs b/src/Network/BitTorrent/MainlineDHT/Symbols.hs
new file mode 100644
index 00000000..05a64014
--- /dev/null
+++ b/src/Network/BitTorrent/MainlineDHT/Symbols.hs
@@ -0,0 +1,24 @@
1{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2module Network.BitTorrent.MainlineDHT.Symbols where
3
4import Data.BEncode.BDict
5
6peer_ip_key = "ip" :: BKey
7peer_id_key = "peer id" :: BKey
8peer_port_key = "port" :: BKey
9msg_type_key = "msg_type" :: BKey
10piece_key = "piece" :: BKey
11total_size_key = "total_size" :: BKey
12node_id_key = "id" :: BKey
13read_only_key = "ro" :: BKey
14want_key = "want" :: BKey
15target_key = "target" :: BKey
16nodes_key = "nodes" :: BKey
17nodes6_key = "nodes6" :: BKey
18info_hash_key = "info_hash" :: BKey
19peers_key = "values" :: BKey
20token_key = "token" :: BKey
21name_key = "name" :: BKey
22port_key = "port" :: BKey
23implied_port_key = "implied_port" :: BKey
24