diff options
Diffstat (limited to 'src/include/gnunet_set_service.h')
-rw-r--r-- | src/include/gnunet_set_service.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h index 65d70d86b..00101d7a6 100644 --- a/src/include/gnunet_set_service.h +++ b/src/include/gnunet_set_service.h | |||
@@ -253,6 +253,11 @@ GNUNET_SET_destroy (struct GNUNET_SET_Handle *set); | |||
253 | * @param other_peer peer with the other set | 253 | * @param other_peer peer with the other set |
254 | * @param app_id hash for the application using the set | 254 | * @param app_id hash for the application using the set |
255 | * @param context_msg additional information for the request | 255 | * @param context_msg additional information for the request |
256 | * @param salt salt used for the set operation; sometimes set operations | ||
257 | * fail due to hash collisions, using a different salt for each operation | ||
258 | * makes it harder for an attacker to exploit this | ||
259 | * @param timeout result_cb will be called with GNUNET_SET_STATUS_TIMEOUT | ||
260 | * if the operation is not done after the specified time | ||
256 | * @param result_cb called on error or success | 261 | * @param result_cb called on error or success |
257 | * @param result_cls closure for result_cb | 262 | * @param result_cls closure for result_cb |
258 | * @return a handle to cancel the operation | 263 | * @return a handle to cancel the operation |
@@ -262,6 +267,7 @@ GNUNET_SET_evaluate (struct GNUNET_SET_Handle *set, | |||
262 | const struct GNUNET_PeerIdentity *other_peer, | 267 | const struct GNUNET_PeerIdentity *other_peer, |
263 | const struct GNUNET_HashCode *app_id, | 268 | const struct GNUNET_HashCode *app_id, |
264 | const struct GNUNET_MessageHeader *context_msg, | 269 | const struct GNUNET_MessageHeader *context_msg, |
270 | uint16_t salt, | ||
265 | struct GNUNET_TIME_Relative timeout, | 271 | struct GNUNET_TIME_Relative timeout, |
266 | enum GNUNET_SET_ResultMode result_mode, | 272 | enum GNUNET_SET_ResultMode result_mode, |
267 | GNUNET_SET_ResultIterator result_cb, | 273 | GNUNET_SET_ResultIterator result_cb, |