aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dht_service.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-09-01 12:28:31 +0000
committerNathan S. Evans <evans@in.tum.de>2010-09-01 12:28:31 +0000
commitca3b021998040082862725efd5c310a65fae6b92 (patch)
tree983f17cabd2f4a38479389bfbaa1d2f13286bd1f /src/include/gnunet_dht_service.h
parent7172b5435cc98598d1b720413ef192d9d6dd303d (diff)
downloadgnunet-ca3b021998040082862725efd5c310a65fae6b92.tar.gz
gnunet-ca3b021998040082862725efd5c310a65fae6b92.zip
missing function definition
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r--src/include/gnunet_dht_service.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index 16dea8d1f..ca1bebe09 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -318,6 +318,22 @@ GNUNET_DHT_route_stop (struct GNUNET_DHT_RouteHandle *route_handle,
318int GNUNET_DHT_set_malicious_getter (struct GNUNET_DHT_Handle *handle, int frequency, GNUNET_SCHEDULER_Task cont, void *cont_cls); 318int GNUNET_DHT_set_malicious_getter (struct GNUNET_DHT_Handle *handle, int frequency, GNUNET_SCHEDULER_Task cont, void *cont_cls);
319 319
320/** 320/**
321 * Send a message to the DHT telling it to issue a single find
322 * peer request using the peers unique identifier as key. This
323 * is used to fill the routing table, and is normally controlled
324 * by the DHT itself. However, for testing and perhaps more
325 * close control over the DHT, this can be explicitly managed.
326 *
327 * @param handle handle to the DHT service
328 * @param cont continuation to call once the message is sent
329 * @param cont_cls closure for continuation
330 *
331 * @return GNUNET_YES if the control message was sent, GNUNET_NO if not
332 */
333int GNUNET_DHT_find_peers (struct GNUNET_DHT_Handle *handle,
334 GNUNET_SCHEDULER_Task cont, void *cont_cls);
335
336/**
321 * Send a message to the DHT telling it to start dropping 337 * Send a message to the DHT telling it to start dropping
322 * all requests received. 338 * all requests received.
323 * 339 *