aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_sampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.h')
-rw-r--r--src/rps/gnunet-service-rps_sampler.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.h b/src/rps/gnunet-service-rps_sampler.h
index a7021b4fe..4949ef9c6 100644
--- a/src/rps/gnunet-service-rps_sampler.h
+++ b/src/rps/gnunet-service-rps_sampler.h
@@ -65,6 +65,14 @@ typedef void
65 */ 65 */
66//struct RPS_Sampler; 66//struct RPS_Sampler;
67 67
68/**
69 * Get the size of the sampler.
70 *
71 * @return the size of the sampler
72 */
73unsigned int
74RPS_sampler_get_size ();
75
68 76
69/** 77/**
70 * Grow or shrink the size of the sampler. 78 * Grow or shrink the size of the sampler.
@@ -80,7 +88,7 @@ RPS_sampler_resize (unsigned int new_size);
80 * 88 *
81 * @param init_size the size the sampler is initialised with 89 * @param init_size the size the sampler is initialised with
82 * @param id with which all newly created sampler elements are initialised 90 * @param id with which all newly created sampler elements are initialised
83 * @param ins_cb the callback that will be called on every PeerID that is 91 * @param ins_cb the callback that will be called on every PeerID that is
84 * newly inserted into a sampler element 92 * newly inserted into a sampler element
85 * @param ins_cls the closure given to #ins_cb 93 * @param ins_cls the closure given to #ins_cb
86 * @param rem_cb the callback that will be called on every PeerID that is 94 * @param rem_cb the callback that will be called on every PeerID that is