diff options
author | Julius Bünger <buenger@mytum.de> | 2015-07-23 18:21:49 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-07-23 18:21:49 +0000 |
commit | ff073fe2f2c6a0fe0532061533c570acfba60e7d (patch) | |
tree | 43bd8220c5414f04ba20ec8362e1cc2cd15057a4 /src/rps/gnunet-service-rps_sampler_elem.h | |
parent | 66fa52570d0d9f29d8b6bf8bd4667c18931b3806 (diff) | |
download | gnunet-ff073fe2f2c6a0fe0532061533c570acfba60e7d.tar.gz gnunet-ff073fe2f2c6a0fe0532061533c570acfba60e7d.zip |
get perfect sample of each sampler element
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler_elem.h')
-rw-r--r-- | src/rps/gnunet-service-rps_sampler_elem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps_sampler_elem.h b/src/rps/gnunet-service-rps_sampler_elem.h index cb9506d69..b7224331d 100644 --- a/src/rps/gnunet-service-rps_sampler_elem.h +++ b/src/rps/gnunet-service-rps_sampler_elem.h | |||
@@ -129,6 +129,16 @@ void | |||
129 | RPS_sampler_elem_next (struct RPS_SamplerElement *s_elem, | 129 | RPS_sampler_elem_next (struct RPS_SamplerElement *s_elem, |
130 | const struct GNUNET_PeerIdentity *new_ID); | 130 | const struct GNUNET_PeerIdentity *new_ID); |
131 | 131 | ||
132 | /** | ||
133 | * Initialise the min-wise independent function of the given sampler element. | ||
134 | * | ||
135 | * @param s_elem the sampler element | ||
136 | * @param auth_key the key to use | ||
137 | */ | ||
138 | void | ||
139 | RPS_sampler_elem_set (struct RPS_SamplerElement *s_elem, | ||
140 | struct GNUNET_CRYPTO_AuthKey auth_key); | ||
141 | |||
132 | 142 | ||
133 | #endif /* RPS_SAMPLER_ELEM_H */ | 143 | #endif /* RPS_SAMPLER_ELEM_H */ |
134 | /* end of gnunet-service-rps.c */ | 144 | /* end of gnunet-service-rps.c */ |