From 7fe3c9e04ecd7aec962bcc83bc4cf5139cf732f0 Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 31 Oct 2017 15:28:59 -0400 Subject: Added missing signatures for MainlineDHT. --- src/Network/BitTorrent/MainlineDHT/Symbols.hs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/Network/BitTorrent/MainlineDHT/Symbols.hs (limited to 'src/Network/BitTorrent/MainlineDHT') 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 @@ +{-# OPTIONS_GHC -fno-warn-missing-signatures #-} +module Network.BitTorrent.MainlineDHT.Symbols where + +import Data.BEncode.BDict + +peer_ip_key = "ip" :: BKey +peer_id_key = "peer id" :: BKey +peer_port_key = "port" :: BKey +msg_type_key = "msg_type" :: BKey +piece_key = "piece" :: BKey +total_size_key = "total_size" :: BKey +node_id_key = "id" :: BKey +read_only_key = "ro" :: BKey +want_key = "want" :: BKey +target_key = "target" :: BKey +nodes_key = "nodes" :: BKey +nodes6_key = "nodes6" :: BKey +info_hash_key = "info_hash" :: BKey +peers_key = "values" :: BKey +token_key = "token" :: BKey +name_key = "name" :: BKey +port_key = "port" :: BKey +implied_port_key = "implied_port" :: BKey + -- cgit v1.2.3