[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12793 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12793 - gnunet/src/include |
Date: |
Wed, 1 Sep 2010 14:28:31 +0200 |
Author: nevans
Date: 2010-09-01 14:28:31 +0200 (Wed, 01 Sep 2010)
New Revision: 12793
Modified:
gnunet/src/include/gnunet_dht_service.h
Log:
missing function definition
Modified: gnunet/src/include/gnunet_dht_service.h
===================================================================
--- gnunet/src/include/gnunet_dht_service.h 2010-09-01 12:25:02 UTC (rev
12792)
+++ gnunet/src/include/gnunet_dht_service.h 2010-09-01 12:28:31 UTC (rev
12793)
@@ -318,6 +318,22 @@
int GNUNET_DHT_set_malicious_getter (struct GNUNET_DHT_Handle *handle, int
frequency, GNUNET_SCHEDULER_Task cont, void *cont_cls);
/**
+ * Send a message to the DHT telling it to issue a single find
+ * peer request using the peers unique identifier as key. This
+ * is used to fill the routing table, and is normally controlled
+ * by the DHT itself. However, for testing and perhaps more
+ * close control over the DHT, this can be explicitly managed.
+ *
+ * @param handle handle to the DHT service
+ * @param cont continuation to call once the message is sent
+ * @param cont_cls closure for continuation
+ *
+ * @return GNUNET_YES if the control message was sent, GNUNET_NO if not
+ */
+int GNUNET_DHT_find_peers (struct GNUNET_DHT_Handle *handle,
+ GNUNET_SCHEDULER_Task cont, void *cont_cls);
+
+/**
* Send a message to the DHT telling it to start dropping
* all requests received.
*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12793 - gnunet/src/include,
gnunet <=