aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dht/dht_api.c6
-rw-r--r--src/dht/gnunet-service-dht.c10
-rw-r--r--src/dht/test_dht_api.c4
-rw-r--r--src/dht/test_dht_api_peer1.conf2
4 files changed, 6 insertions, 16 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c
index 25ddd19de..550322157 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -674,12 +674,6 @@ void
674GNUNET_DHT_route_stop (struct GNUNET_DHT_RouteHandle *fph); 674GNUNET_DHT_route_stop (struct GNUNET_DHT_RouteHandle *fph);
675 675
676 676
677void dht_get_processor (void *cls,
678 const struct GNUNET_MessageHeader *reply)
679{
680
681}
682
683/** 677/**
684 * Perform an asynchronous GET operation on the DHT identified. 678 * Perform an asynchronous GET operation on the DHT identified.
685 * 679 *
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c
index 465ebb9f8..613f610ac 100644
--- a/src/dht/gnunet-service-dht.c
+++ b/src/dht/gnunet-service-dht.c
@@ -99,10 +99,6 @@ handle_dht_stop_message(void *cls, struct GNUNET_SERVER_Client * client,
99static struct GNUNET_SERVER_MessageHandler plugin_handlers[] = { 99static struct GNUNET_SERVER_MessageHandler plugin_handlers[] = {
100 {&handle_dht_start_message, NULL, GNUNET_MESSAGE_TYPE_DHT, 0}, 100 {&handle_dht_start_message, NULL, GNUNET_MESSAGE_TYPE_DHT, 0},
101 {&handle_dht_stop_message, NULL, GNUNET_MESSAGE_TYPE_DHT_STOP, 0}, 101 {&handle_dht_stop_message, NULL, GNUNET_MESSAGE_TYPE_DHT_STOP, 0},
102/* {&handle_dht_get_stop, NULL, GNUNET_MESSAGE_TYPE_DHT_GET_STOP, 0},
103 {&handle_dht_put, NULL, GNUNET_MESSAGE_TYPE_DHT_PUT, 0},
104 {&handle_dht_find_peer, NULL, GNUNET_MESSAGE_TYPE_DHT_FIND_PEER, 0},
105 {&handle_dht_find_peer_stop, NULL, GNUNET_MESSAGE_TYPE_DHT_FIND_PEER_STOP, 0},*/
106 {NULL, NULL, 0, 0} 102 {NULL, NULL, 0, 0}
107}; 103};
108 104
@@ -137,7 +133,7 @@ static int handle_dht_p2p_find_peer (void *cls,
137static struct GNUNET_CORE_MessageHandler core_handlers[] = { 133static struct GNUNET_CORE_MessageHandler core_handlers[] = {
138 {&handle_dht_p2p_get, GNUNET_MESSAGE_TYPE_DHT_GET, 0}, 134 {&handle_dht_p2p_get, GNUNET_MESSAGE_TYPE_DHT_GET, 0},
139 {&handle_dht_p2p_put, GNUNET_MESSAGE_TYPE_DHT_PUT, 0}, 135 {&handle_dht_p2p_put, GNUNET_MESSAGE_TYPE_DHT_PUT, 0},
140 {&handle_dht_p2p_find_peer, GNUNET_MESSAGE_TYPE_DHT_PUT, 0}, 136 {&handle_dht_p2p_find_peer, GNUNET_MESSAGE_TYPE_DHT_FIND_PEER, 0},
141 {NULL, 0, 0} 137 {NULL, 0, 0}
142}; 138};
143 139
@@ -230,7 +226,7 @@ struct SendConfirmationContext
230 struct GNUNET_CONNECTION_TransmitHandle * transmit_handle; 226 struct GNUNET_CONNECTION_TransmitHandle * transmit_handle;
231}; 227};
232 228
233size_t send_confirmation (void *cls, 229static size_t send_confirmation (void *cls,
234 size_t size, void *buf) 230 size_t size, void *buf)
235{ 231{
236 struct GNUNET_DHT_StopMessage *confirmation_message = cls; 232 struct GNUNET_DHT_StopMessage *confirmation_message = cls;
@@ -464,7 +460,7 @@ run (void *cls,
464 460
465 461
466/** 462/**
467 * The main function for the dv service. 463 * The main function for the dht service.
468 * 464 *
469 * @param argc number of arguments from the command line 465 * @param argc number of arguments from the command line
470 * @param argv command line arguments 466 * @param argv command line arguments
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c
index 78e7dcd87..dd940a6e4 100644
--- a/src/dht/test_dht_api.c
+++ b/src/dht/test_dht_api.c
@@ -33,9 +33,9 @@
33#include "gnunet_scheduler_lib.h" 33#include "gnunet_scheduler_lib.h"
34#include "gnunet_dht_service.h" 34#include "gnunet_dht_service.h"
35 35
36#define VERBOSE GNUNET_YES 36#define VERBOSE GNUNET_NO
37 37
38#define VERBOSE_ARM GNUNET_YES 38#define VERBOSE_ARM GNUNET_NO
39 39
40#define START_ARM GNUNET_YES 40#define START_ARM GNUNET_YES
41 41
diff --git a/src/dht/test_dht_api_peer1.conf b/src/dht/test_dht_api_peer1.conf
index 1c5dced26..45a0adde2 100644
--- a/src/dht/test_dht_api_peer1.conf
+++ b/src/dht/test_dht_api_peer1.conf
@@ -26,7 +26,7 @@ HOSTNAME = localhost
26PORT = 2093 26PORT = 2093
27 27
28[dht] 28[dht]
29DEBUG = YES 29DEBUG = NO
30ALLOW_SHUTDOWN = YES 30ALLOW_SHUTDOWN = YES
31ACCEPT_FROM6 = ::1; 31ACCEPT_FROM6 = ::1;
32ACCEPT_FROM = 127.0.0.1; 32ACCEPT_FROM = 127.0.0.1;