aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-13 10:18:03 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-13 10:18:03 +0000
commit7fbb9e8eaf06fa4ca3219832c5e6016be7f4c8b6 (patch)
treec69374832d8e9fc8b14401104d5096772dd0bfc9 /src/dht/gnunet-service-dht.c
parentd56d318035765539f8c064b91d8bf8bd8d93d78c (diff)
downloadgnunet-7fbb9e8eaf06fa4ca3219832c5e6016be7f4c8b6.tar.gz
gnunet-7fbb9e8eaf06fa4ca3219832c5e6016be7f4c8b6.zip
options should be plain 'int'
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r--src/dht/gnunet-service-dht.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c
index 4b61ec67b..6579f0726 100644
--- a/src/dht/gnunet-service-dht.c
+++ b/src/dht/gnunet-service-dht.c
@@ -682,48 +682,48 @@ static struct FindPeerMessageContext find_peer_context;
682 * to closest peer; initially send requests to 3 682 * to closest peer; initially send requests to 3
683 * peers. 683 * peers.
684 */ 684 */
685static unsigned int strict_kademlia; 685static int strict_kademlia;
686 686
687/** 687/**
688 * Routing option to end routing when closest peer found. 688 * Routing option to end routing when closest peer found.
689 */ 689 */
690static unsigned int stop_on_closest; 690static int stop_on_closest;
691 691
692/** 692/**
693 * Routing option to end routing when data is found. 693 * Routing option to end routing when data is found.
694 */ 694 */
695static unsigned int stop_on_found; 695static int stop_on_found;
696 696
697/** 697/**
698 * Whether DHT needs to manage find peer requests, or 698 * Whether DHT needs to manage find peer requests, or
699 * an external force will do it on behalf of the DHT. 699 * an external force will do it on behalf of the DHT.
700 */ 700 */
701static unsigned int do_find_peer; 701static int do_find_peer;
702 702
703/** 703/**
704 * Once we have stored an item in the DHT, refresh it 704 * Once we have stored an item in the DHT, refresh it
705 * according to our republish interval. 705 * according to our republish interval.
706 */ 706 */
707static unsigned int do_republish; 707static int do_republish;
708 708
709/** 709/**
710 * Use exactly the forwarding formula as described in 710 * Use exactly the forwarding formula as described in
711 * the paper if set to GNUNET_YES, otherwise use the 711 * the paper if set to GNUNET_YES, otherwise use the
712 * slightly modified version. 712 * slightly modified version.
713 */ 713 */
714static unsigned int paper_forwarding; 714static int paper_forwarding;
715 715
716/** 716/**
717 * PUT Peer Identities of peers we know about into 717 * PUT Peer Identities of peers we know about into
718 * the datacache. 718 * the datacache.
719 */ 719 */
720static unsigned int put_peer_identities; 720static int put_peer_identities;
721 721
722/** 722/**
723 * Use the "real" distance metric when selecting the 723 * Use the "real" distance metric when selecting the
724 * next routing hop. Can be less accurate. 724 * next routing hop. Can be less accurate.
725 */ 725 */
726static unsigned int use_real_distance; 726static int use_real_distance;
727 727
728/** 728/**
729 * How many peers have we added since we sent out our last 729 * How many peers have we added since we sent out our last