gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r10707 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r10707 - gnunet/src/dht
Date: Mon, 29 Mar 2010 15:54:51 +0200

Author: nevans
Date: 2010-03-29 15:54:51 +0200 (Mon, 29 Mar 2010)
New Revision: 10707

Modified:
   gnunet/src/dht/dht_api.c
   gnunet/src/dht/gnunet-service-dht.c
   gnunet/src/dht/test_dht_api.c
   gnunet/src/dht/test_dht_api_peer1.conf
Log:
test case verbosity

Modified: gnunet/src/dht/dht_api.c
===================================================================
--- gnunet/src/dht/dht_api.c    2010-03-29 13:31:23 UTC (rev 10706)
+++ gnunet/src/dht/dht_api.c    2010-03-29 13:54:51 UTC (rev 10707)
@@ -674,12 +674,6 @@
 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.
  *

Modified: gnunet/src/dht/gnunet-service-dht.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht.c 2010-03-29 13:31:23 UTC (rev 10706)
+++ gnunet/src/dht/gnunet-service-dht.c 2010-03-29 13:54:51 UTC (rev 10707)
@@ -99,10 +99,6 @@
 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 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 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 @@
 
 
 /**
- * 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

Modified: gnunet/src/dht/test_dht_api.c
===================================================================
--- gnunet/src/dht/test_dht_api.c       2010-03-29 13:31:23 UTC (rev 10706)
+++ gnunet/src/dht/test_dht_api.c       2010-03-29 13:54:51 UTC (rev 10707)
@@ -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
 

Modified: gnunet/src/dht/test_dht_api_peer1.conf
===================================================================
--- gnunet/src/dht/test_dht_api_peer1.conf      2010-03-29 13:31:23 UTC (rev 
10706)
+++ gnunet/src/dht/test_dht_api_peer1.conf      2010-03-29 13:54:51 UTC (rev 
10707)
@@ -26,7 +26,7 @@
 PORT = 2093
 
 [dht]
-DEBUG = YES
+DEBUG = NO
 ALLOW_SHUTDOWN = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]