porting xdht to new service API, major code de-duplication effort
[oweals/gnunet.git] / src / dht / gnunet-service-wdht_neighbours.h
index f080258bb57a1dbd4d6ec6cf105a39aa9d512691..8461d16e8b18b773f803a752df80a478ca39f7a3 100644 (file)
@@ -71,7 +71,7 @@ GDS_NEIGHBOURS_handle_get (const struct GNUNET_HashCode *key,
 /**
  * Send the get result to requesting client.
  *
- * @param trail_id trail identifying where to send the result to, NULL for us
+ * @param cls a `const struct GNUNET_HashCode *` trail identifying where to send the result to, NULL for us
  * @param options routing options (from GET request)
  * @param key key of the requested data.
  * @param type block type
@@ -82,14 +82,15 @@ GDS_NEIGHBOURS_handle_get (const struct GNUNET_HashCode *key,
  * @param data_size size of the @a data
  */
 void
-GDS_NEIGHBOURS_send_get_result (const struct GNUNET_HashCode *trail_id,
+GDS_NEIGHBOURS_send_get_result (void *cls,
                                 enum GNUNET_DHT_RouteOption options,
                                 const struct GNUNET_HashCode *key,
                                 enum GNUNET_BLOCK_Type type,
                                 unsigned int put_path_length,
                                 const struct GNUNET_PeerIdentity *put_path,
                                 struct GNUNET_TIME_Absolute expiration,
-                                const void *data, size_t data_size);
+                                const void *data,
+                                size_t data_size);
 
 
 /**