diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-09-01 12:28:31 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-09-01 12:28:31 +0000 |
commit | ca3b021998040082862725efd5c310a65fae6b92 (patch) | |
tree | 983f17cabd2f4a38479389bfbaa1d2f13286bd1f /src/include/gnunet_dht_service.h | |
parent | 7172b5435cc98598d1b720413ef192d9d6dd303d (diff) | |
download | gnunet-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.h | 16 |
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, | |||
318 | int GNUNET_DHT_set_malicious_getter (struct GNUNET_DHT_Handle *handle, int frequency, GNUNET_SCHEDULER_Task cont, void *cont_cls); | 318 | int 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 | */ | ||
333 | int 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 | * |