summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/MainlineDHT/Symbols.hs
blob: 05a64014d373968de345beb6b3237e5bb17c6260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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