From: Christian Grothoff Date: Tue, 27 Sep 2011 14:42:43 +0000 (+0000) Subject: stuff X-Git-Tag: initial-import-from-subversion-38251~16922 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6295616e7a91079e9182ee21f895378733c0522;p=oweals%2Fgnunet.git stuff --- diff --git a/src/include/gnunet_dht_service_new.h b/src/include/gnunet_dht_service_new.h index 88cc390b0..5a21a6ce5 100644 --- a/src/include/gnunet_dht_service_new.h +++ b/src/include/gnunet_dht_service_new.h @@ -203,49 +203,6 @@ void GNUNET_DHT_get_stop (struct GNUNET_DHT_GetHandle *get_handle); -/* ******** Special high-level API for finding peers *********** */ - -/** - * Iterator called on each result obtained from a find peer - * operation - * - * @param cls closure - * @param peer hello of a target (peer near key) - */ -typedef void (*GNUNET_DHT_FindPeerProcessor) (void *cls, - const struct GNUNET_HELLO_Message - * peer); - - -/** - * Perform an asynchronous FIND PEER operation on the DHT. - * - * @param handle handle to the DHT service - * @param timeout timeout for this request to be sent to the - * service - * @param key the key to look up - * @param options routing options for this message - * @param proc function to call on each result - * @param proc_cls closure for proc - * @return handle to stop the async get, NULL on error - */ -struct GNUNET_DHT_FindPeerHandle * -GNUNET_DHT_find_peer_start (struct GNUNET_DHT_Handle *handle, - struct GNUNET_TIME_Relative timeout, - const GNUNET_HashCode * key, - enum GNUNET_DHT_RouteOption options, - GNUNET_DHT_FindPeerProcessor proc, void *proc_cls); - - -/** - * Stop async find peer. Frees associated resources. - * - * @param find_peer_handle GET operation to stop. - */ -void -GNUNET_DHT_find_peer_stop (struct GNUNET_DHT_FindPeerHandle *find_peer_handle); - - #if 0 /* keep Emacsens' auto-indent happy */ { #endif