test case verbosity
authorNathan S. Evans <evans@in.tum.de>
Mon, 29 Mar 2010 13:54:51 +0000 (13:54 +0000)
committerNathan S. Evans <evans@in.tum.de>
Mon, 29 Mar 2010 13:54:51 +0000 (13:54 +0000)
src/dht/dht_api.c
src/dht/gnunet-service-dht.c
src/dht/test_dht_api.c
src/dht/test_dht_api_peer1.conf

index 25ddd19debf316e2455b82154118b59d8d84db09..550322157f2b07897029916f36a343ec023edb06 100644 (file)
@@ -674,12 +674,6 @@ void
 GNUNET_DHT_route_stop (struct GNUNET_DHT_RouteHandle *fph);
 
 
-void dht_get_processor (void *cls,
-                        const struct GNUNET_MessageHeader *reply)
-{
-
-}
-
 /**
  * Perform an asynchronous GET operation on the DHT identified.
  *
index 465ebb9f89acce7813adeb016c8fdb803fbab185..613f610ac505c05c90c72f8f827009ab0514f927 100644 (file)
@@ -99,10 +99,6 @@ handle_dht_stop_message(void *cls, struct GNUNET_SERVER_Client * client,
 static struct GNUNET_SERVER_MessageHandler plugin_handlers[] = {
   {&handle_dht_start_message, NULL, GNUNET_MESSAGE_TYPE_DHT, 0},
   {&handle_dht_stop_message, NULL, GNUNET_MESSAGE_TYPE_DHT_STOP, 0},
-/*  {&handle_dht_get_stop, NULL, GNUNET_MESSAGE_TYPE_DHT_GET_STOP, 0},
-  {&handle_dht_put, NULL, GNUNET_MESSAGE_TYPE_DHT_PUT, 0},
-  {&handle_dht_find_peer, NULL, GNUNET_MESSAGE_TYPE_DHT_FIND_PEER, 0},
-  {&handle_dht_find_peer_stop, NULL, GNUNET_MESSAGE_TYPE_DHT_FIND_PEER_STOP, 0},*/
   {NULL, NULL, 0, 0}
 };
 
@@ -137,7 +133,7 @@ static int handle_dht_p2p_find_peer (void *cls,
 static struct GNUNET_CORE_MessageHandler core_handlers[] = {
   {&handle_dht_p2p_get, GNUNET_MESSAGE_TYPE_DHT_GET, 0},
   {&handle_dht_p2p_put, GNUNET_MESSAGE_TYPE_DHT_PUT, 0},
-  {&handle_dht_p2p_find_peer, GNUNET_MESSAGE_TYPE_DHT_PUT, 0},
+  {&handle_dht_p2p_find_peer, GNUNET_MESSAGE_TYPE_DHT_FIND_PEER, 0},
   {NULL, 0, 0}
 };
 
@@ -230,7 +226,7 @@ struct SendConfirmationContext
   struct GNUNET_CONNECTION_TransmitHandle * transmit_handle;
 };
 
-size_t send_confirmation (void *cls,
+static size_t send_confirmation (void *cls,
                           size_t size, void *buf)
 {
   struct GNUNET_DHT_StopMessage *confirmation_message = cls;
@@ -464,7 +460,7 @@ run (void *cls,
 
 
 /**
- * The main function for the dv service.
+ * The main function for the dht service.
  *
  * @param argc number of arguments from the command line
  * @param argv command line arguments
index 78e7dcd8759d66a0922ff2110439e23043ac0cec..dd940a6e45c2d19ae429dadc0b3eaac3c93471be 100644 (file)
@@ -33,9 +33,9 @@
 #include "gnunet_scheduler_lib.h"
 #include "gnunet_dht_service.h"
 
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
 
-#define VERBOSE_ARM GNUNET_YES
+#define VERBOSE_ARM GNUNET_NO
 
 #define START_ARM GNUNET_YES
 
index 1c5dced26f9132dd6dd57ee3d609ecd437e6061d..45a0adde24462d8a436e7568158ffc0708ae2eb8 100644 (file)
@@ -26,7 +26,7 @@ HOSTNAME = localhost
 PORT = 2093
 
 [dht]
-DEBUG = YES
+DEBUG = NO
 ALLOW_SHUTDOWN = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;