From 3afe1a3435697b01fee557420a701fba1821dbe5 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Mon, 8 Apr 2019 00:55:35 +0200 Subject: RPS: Retrieve more info from sampler for profiling --- src/rps/rps-sampler_client.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/rps/rps-sampler_client.h') diff --git a/src/rps/rps-sampler_client.h b/src/rps/rps-sampler_client.h index 1b425b754..680fabfda 100644 --- a/src/rps/rps-sampler_client.h +++ b/src/rps/rps-sampler_client.h @@ -40,6 +40,11 @@ struct RPS_Sampler; */ struct RPS_SamplerRequestHandle; +/** + * Closure to _get_rand_peer_info() + */ +struct RPS_SamplerRequestHandleSingleInfo; + /** * Get the size of the sampler. @@ -108,8 +113,6 @@ RPS_sampler_reinitialise_by_value (struct RPS_Sampler *sampler, * @param sampler the sampler to get peers from. * @param cb callback that will be called once the ids are ready. * @param cls closure given to @a cb - * @param for_client #GNUNET_YES if result is used for client, - * #GNUNET_NO if used internally * @param num_peers the number of peers requested */ struct RPS_SamplerRequestHandle * @@ -118,6 +121,7 @@ RPS_sampler_get_n_rand_peers (struct RPS_Sampler *sampler, RPS_sampler_n_rand_peers_ready_cb cb, void *cls); + /** * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb. * -- cgit v1.2.3