diff options
author | joe <joe@jerkface.net> | 2017-10-31 15:28:59 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-10-31 15:28:59 -0400 |
commit | 7fe3c9e04ecd7aec962bcc83bc4cf5139cf732f0 (patch) | |
tree | b0bdfd844adced80317b622778be5921fa0f79e2 /src/Network/BitTorrent/MainlineDHT/Symbols.hs | |
parent | 3fdfec6b917016a2013be03bd3ec5682cc31893c (diff) |
Added missing signatures for MainlineDHT.
Diffstat (limited to 'src/Network/BitTorrent/MainlineDHT/Symbols.hs')
-rw-r--r-- | src/Network/BitTorrent/MainlineDHT/Symbols.hs | 24 |
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 #-} | ||
2 | module Network.BitTorrent.MainlineDHT.Symbols where | ||
3 | |||
4 | import Data.BEncode.BDict | ||
5 | |||
6 | peer_ip_key = "ip" :: BKey | ||
7 | peer_id_key = "peer id" :: BKey | ||
8 | peer_port_key = "port" :: BKey | ||
9 | msg_type_key = "msg_type" :: BKey | ||
10 | piece_key = "piece" :: BKey | ||
11 | total_size_key = "total_size" :: BKey | ||
12 | node_id_key = "id" :: BKey | ||
13 | read_only_key = "ro" :: BKey | ||
14 | want_key = "want" :: BKey | ||
15 | target_key = "target" :: BKey | ||
16 | nodes_key = "nodes" :: BKey | ||
17 | nodes6_key = "nodes6" :: BKey | ||
18 | info_hash_key = "info_hash" :: BKey | ||
19 | peers_key = "values" :: BKey | ||
20 | token_key = "token" :: BKey | ||
21 | name_key = "name" :: BKey | ||
22 | port_key = "port" :: BKey | ||
23 | implied_port_key = "implied_port" :: BKey | ||
24 | |||