aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_sampler_elem.h
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-08-24 15:35:28 +0200
committerJulius Bünger <buenger@mytum.de>2018-08-26 17:35:20 +0200
commitb1edf308b38823bacda4e0600377ce633fe89434 (patch)
tree2e5f2d0a7afb0bd088220147ebb77bc2ada78796 /src/rps/gnunet-service-rps_sampler_elem.h
parentdc86c377a63e79ab2d17ce644ea060d1ce0c6b0c (diff)
downloadgnunet-b1edf308b38823bacda4e0600377ce633fe89434.tar.gz
gnunet-b1edf308b38823bacda4e0600377ce633fe89434.zip
Change cosmetics of sampler element implementation
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler_elem.h')
-rw-r--r--src/rps/gnunet-service-rps_sampler_elem.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/rps/gnunet-service-rps_sampler_elem.h b/src/rps/gnunet-service-rps_sampler_elem.h
index 1dbdcbadd..7598a627b 100644
--- a/src/rps/gnunet-service-rps_sampler_elem.h
+++ b/src/rps/gnunet-service-rps_sampler_elem.h
@@ -99,10 +99,10 @@ struct RPS_SamplerElement
99/** 99/**
100 * Reinitialise a previously initialised sampler element. 100 * Reinitialise a previously initialised sampler element.
101 * 101 *
102 * @param sampler pointer to the memory that keeps the value. 102 * @param sampler_el The sampler element to (re-) initialise
103 */ 103 */
104void 104void
105RPS_sampler_elem_reinit (struct RPS_SamplerElement *sampler_el); 105RPS_sampler_elem_reinit (struct RPS_SamplerElement *sampler_elem);
106 106
107 107
108/** 108/**
@@ -127,23 +127,23 @@ RPS_sampler_elem_destroy (struct RPS_SamplerElement *sampler_elem);
127 127
128 128
129/** 129/**
130 * Input an PeerID into the given sampler element. 130 * Update a sampler element with a PeerID
131 * 131 *
132 * @param sampler the sampler the @a s_elem belongs to. 132 * @param sampler_elem The sampler element to update
133 * Needed to know the 133 * @param new_ID The PeerID to update with
134 */ 134 */
135void 135void
136RPS_sampler_elem_next (struct RPS_SamplerElement *s_elem, 136RPS_sampler_elem_next (struct RPS_SamplerElement *sampler_elem,
137 const struct GNUNET_PeerIdentity *new_ID); 137 const struct GNUNET_PeerIdentity *new_ID);
138 138
139/** 139/**
140 * Initialise the min-wise independent function of the given sampler element. 140 * Set the min-wise independent function of the given sampler element.
141 * 141 *
142 * @param s_elem the sampler element 142 * @param sampler_elem the sampler element
143 * @param auth_key the key to use 143 * @param auth_key the key to use
144 */ 144 */
145void 145void
146RPS_sampler_elem_set (struct RPS_SamplerElement *s_elem, 146RPS_sampler_elem_set (struct RPS_SamplerElement *sampler_elem,
147 struct GNUNET_CRYPTO_AuthKey auth_key); 147 struct GNUNET_CRYPTO_AuthKey auth_key);
148 148
149 149