diff options
author | Florian Dold <florian.dold@gmail.com> | 2013-05-22 10:29:15 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2013-05-22 10:29:15 +0000 |
commit | 4289fca5aeefd0652ae60bc16f90ed911c7e1c60 (patch) | |
tree | da266c48ada44f11ce88a38833960b0eb08c1c5d /src/include/gnunet_set_service.h | |
parent | 3418f171c455980c99ac6363a74116243bddede6 (diff) | |
download | gnunet-4289fca5aeefd0652ae60bc16f90ed911c7e1c60.tar.gz gnunet-4289fca5aeefd0652ae60bc16f90ed911c7e1c60.zip |
- moved MQ to util
- MQ support for stream
- set api
- starting to use set for consensus
Diffstat (limited to 'src/include/gnunet_set_service.h')
-rw-r--r-- | src/include/gnunet_set_service.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h index 72d7ee521..7415e75f3 100644 --- a/src/include/gnunet_set_service.h +++ b/src/include/gnunet_set_service.h | |||
@@ -35,7 +35,6 @@ extern "C" | |||
35 | #endif | 35 | #endif |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #include "platform.h" | ||
39 | #include "gnunet_common.h" | 38 | #include "gnunet_common.h" |
40 | #include "gnunet_time_lib.h" | 39 | #include "gnunet_time_lib.h" |
41 | #include "gnunet_configuration_lib.h" | 40 | #include "gnunet_configuration_lib.h" |
@@ -176,7 +175,7 @@ typedef void (*GNUNET_SET_ResultIterator) (void *cls, | |||
176 | 175 | ||
177 | /** | 176 | /** |
178 | * Called when another peer wants to do a set operation with the | 177 | * Called when another peer wants to do a set operation with the |
179 | * local peer | 178 | * local peer. |
180 | * | 179 | * |
181 | * @param other_peer the other peer | 180 | * @param other_peer the other peer |
182 | * @param context_msg message with application specific information from | 181 | * @param context_msg message with application specific information from |
@@ -266,8 +265,6 @@ GNUNET_SET_destroy (struct GNUNET_SET_Handle *set); | |||
266 | * @param salt salt used for the set operation; sometimes set operations | 265 | * @param salt salt used for the set operation; sometimes set operations |
267 | * fail due to hash collisions, using a different salt for each operation | 266 | * fail due to hash collisions, using a different salt for each operation |
268 | * makes it harder for an attacker to exploit this | 267 | * makes it harder for an attacker to exploit this |
269 | * @param timeout result_cb will be called with GNUNET_SET_STATUS_TIMEOUT | ||
270 | * if the operation is not done after the specified time; @deprecated | ||
271 | * @param result_mode specified how results will be returned, | 268 | * @param result_mode specified how results will be returned, |
272 | * see 'GNUNET_SET_ResultMode'. | 269 | * see 'GNUNET_SET_ResultMode'. |
273 | * @param result_cb called on error or success | 270 | * @param result_cb called on error or success |
@@ -280,7 +277,6 @@ GNUNET_SET_evaluate (struct GNUNET_SET_Handle *set, | |||
280 | const struct GNUNET_HashCode *app_id, | 277 | const struct GNUNET_HashCode *app_id, |
281 | const struct GNUNET_MessageHeader *context_msg, | 278 | const struct GNUNET_MessageHeader *context_msg, |
282 | uint16_t salt, | 279 | uint16_t salt, |
283 | struct GNUNET_TIME_Relative timeout, | ||
284 | enum GNUNET_SET_ResultMode result_mode, | 280 | enum GNUNET_SET_ResultMode result_mode, |
285 | GNUNET_SET_ResultIterator result_cb, | 281 | GNUNET_SET_ResultIterator result_cb, |
286 | void *result_cls); | 282 | void *result_cls); |
@@ -322,7 +318,6 @@ GNUNET_SET_listen_cancel (struct GNUNET_SET_ListenHandle *lh); | |||
322 | * | 318 | * |
323 | * @param request request to accept | 319 | * @param request request to accept |
324 | * @param set set used for the requested operation | 320 | * @param set set used for the requested operation |
325 | * @param timeout timeout for the set operation, @deprecated | ||
326 | * @param result_mode specified how results will be returned, | 321 | * @param result_mode specified how results will be returned, |
327 | * see 'GNUNET_SET_ResultMode'. | 322 | * see 'GNUNET_SET_ResultMode'. |
328 | * @param result_cb callback for the results | 323 | * @param result_cb callback for the results |
@@ -332,7 +327,6 @@ GNUNET_SET_listen_cancel (struct GNUNET_SET_ListenHandle *lh); | |||
332 | struct GNUNET_SET_OperationHandle * | 327 | struct GNUNET_SET_OperationHandle * |
333 | GNUNET_SET_accept (struct GNUNET_SET_Request *request, | 328 | GNUNET_SET_accept (struct GNUNET_SET_Request *request, |
334 | struct GNUNET_SET_Handle *set, | 329 | struct GNUNET_SET_Handle *set, |
335 | struct GNUNET_TIME_Relative timeout, | ||
336 | enum GNUNET_SET_ResultMode result_mode, | 330 | enum GNUNET_SET_ResultMode result_mode, |
337 | GNUNET_SET_ResultIterator result_cb, | 331 | GNUNET_SET_ResultIterator result_cb, |
338 | void *cls); | 332 | void *cls); |