aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_sampler.h
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-09-20 01:04:17 +0200
committerJulius Bünger <buenger@mytum.de>2018-09-20 01:07:53 +0200
commit69f439525cabfd0b65d5875e49d306588587cb23 (patch)
treeba8200ce6dbb264021f42e05f2d119aa9e4917aa /src/rps/gnunet-service-rps_sampler.h
parentc50386476c7a79efd87d4b1b36f9c740d74dd9f8 (diff)
downloadgnunet-69f439525cabfd0b65d5875e49d306588587cb23.tar.gz
gnunet-69f439525cabfd0b65d5875e49d306588587cb23.zip
Be a little bit more consistent in style
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.h')
-rw-r--r--src/rps/gnunet-service-rps_sampler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.h b/src/rps/gnunet-service-rps_sampler.h
index c44844f96..6b386596f 100644
--- a/src/rps/gnunet-service-rps_sampler.h
+++ b/src/rps/gnunet-service-rps_sampler.h
@@ -46,8 +46,9 @@ struct RPS_SamplerRequestHandle;
46 * to be freed 46 * to be freed
47 */ 47 */
48 typedef void 48 typedef void
49(*RPS_sampler_n_rand_peers_ready_cb) (void *cls, 49(*RPS_sampler_n_rand_peers_ready_cb) (const struct GNUNET_PeerIdentity *ids,
50 struct GNUNET_PeerIdentity *ids, uint32_t num_peers); 50 uint32_t num_peers,
51 void *cls);
51 52
52 53
53/** 54/**
@@ -135,8 +136,9 @@ RPS_sampler_reinitialise_by_value (struct RPS_Sampler *sampler,
135 */ 136 */
136struct RPS_SamplerRequestHandle * 137struct RPS_SamplerRequestHandle *
137RPS_sampler_get_n_rand_peers (struct RPS_Sampler *sampler, 138RPS_sampler_get_n_rand_peers (struct RPS_Sampler *sampler,
139 uint32_t num_peers,
138 RPS_sampler_n_rand_peers_ready_cb cb, 140 RPS_sampler_n_rand_peers_ready_cb cb,
139 void *cls, uint32_t num_peers); 141 void *cls);
140 142
141/** 143/**
142 * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb. 144 * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb.