diff options
author | Florian Dold <florian.dold@gmail.com> | 2013-06-19 10:48:54 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2013-06-19 10:48:54 +0000 |
commit | a900b29ddaa9ea46c731b054b5e3ef3e725b95a8 (patch) | |
tree | 52e1a9697b0abf4618cd5684359ec5f0a040898a /src/include/gnunet_set_service.h | |
parent | 17353bc0a47c89bda205f23e7995377c9bfe7769 (diff) | |
download | gnunet-a900b29ddaa9ea46c731b054b5e3ef3e725b95a8.tar.gz gnunet-a900b29ddaa9ea46c731b054b5e3ef3e725b95a8.zip |
- opaque mq structs
- mq for mesh
- faster hashing for IBFs
- mesh replaces stream in set
- new set profiler (work in progress)
Diffstat (limited to 'src/include/gnunet_set_service.h')
-rw-r--r-- | src/include/gnunet_set_service.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h index 34c9312d1..e08ed5d69 100644 --- a/src/include/gnunet_set_service.h +++ b/src/include/gnunet_set_service.h | |||
@@ -257,9 +257,9 @@ GNUNET_SET_destroy (struct GNUNET_SET_Handle *set); | |||
257 | 257 | ||
258 | 258 | ||
259 | /** | 259 | /** |
260 | * Create a set operation for evaluation with another peer. | 260 | * Prepare a set operation to be evaluated with another peer. |
261 | * The evaluation will not start until the client provides | 261 | * The evaluation will not start until the client provides |
262 | * a local set with GNUNET_SET_conclude. | 262 | * a local set with GNUNET_SET_commit. |
263 | * | 263 | * |
264 | * @param other_peer peer with the other set | 264 | * @param other_peer peer with the other set |
265 | * @param app_id hash for the application using the set | 265 | * @param app_id hash for the application using the set |
@@ -273,14 +273,14 @@ GNUNET_SET_destroy (struct GNUNET_SET_Handle *set); | |||
273 | * @param result_cls closure for result_cb | 273 | * @param result_cls closure for result_cb |
274 | * @return a handle to cancel the operation | 274 | * @return a handle to cancel the operation |
275 | */ | 275 | */ |
276 | struct GNUNET_SET_OperationHandle * // FIXME: rename to _connect? | 276 | struct GNUNET_SET_OperationHandle * |
277 | GNUNET_SET_evaluate (const struct GNUNET_PeerIdentity *other_peer, | 277 | GNUNET_SET_prepare (const struct GNUNET_PeerIdentity *other_peer, |
278 | const struct GNUNET_HashCode *app_id, | 278 | const struct GNUNET_HashCode *app_id, |
279 | const struct GNUNET_MessageHeader *context_msg, | 279 | const struct GNUNET_MessageHeader *context_msg, |
280 | uint16_t salt, | 280 | uint16_t salt, |
281 | enum GNUNET_SET_ResultMode result_mode, | 281 | enum GNUNET_SET_ResultMode result_mode, |
282 | GNUNET_SET_ResultIterator result_cb, | 282 | GNUNET_SET_ResultIterator result_cb, |
283 | void *result_cls); | 283 | void *result_cls); |
284 | 284 | ||
285 | 285 | ||
286 | /** | 286 | /** |
@@ -316,7 +316,7 @@ GNUNET_SET_listen_cancel (struct GNUNET_SET_ListenHandle *lh); | |||
316 | * Accept a request we got via GNUNET_SET_listen. Must be called during | 316 | * Accept a request we got via GNUNET_SET_listen. Must be called during |
317 | * GNUNET_SET_listen, as the 'struct GNUNET_SET_Request' becomes invalid | 317 | * GNUNET_SET_listen, as the 'struct GNUNET_SET_Request' becomes invalid |
318 | * afterwards. | 318 | * afterwards. |
319 | * Call GNUNET_SET_conclude to provide the local set to use for the operation, | 319 | * Call GNUNET_SET_commit to provide the local set to use for the operation, |
320 | * and to begin the exchange with the remote peer. | 320 | * and to begin the exchange with the remote peer. |
321 | * | 321 | * |
322 | * @param request request to accept | 322 | * @param request request to accept |
@@ -334,7 +334,7 @@ GNUNET_SET_accept (struct GNUNET_SET_Request *request, | |||
334 | 334 | ||
335 | 335 | ||
336 | /** | 336 | /** |
337 | * Conclude the given set operation using the given set. | 337 | * Commit a set to be used with a set operation. |
338 | * This function is called once we have fully constructed | 338 | * This function is called once we have fully constructed |
339 | * the set that we want to use for the operation. At this | 339 | * the set that we want to use for the operation. At this |
340 | * time, the P2P protocol can then begin to exchange the | 340 | * time, the P2P protocol can then begin to exchange the |
@@ -344,9 +344,9 @@ GNUNET_SET_accept (struct GNUNET_SET_Request *request, | |||
344 | * @param oh handle to the set operation | 344 | * @param oh handle to the set operation |
345 | * @param set the set to use for the operation | 345 | * @param set the set to use for the operation |
346 | */ | 346 | */ |
347 | void // FIXME: rename to _commit | 347 | void |
348 | GNUNET_SET_conclude (struct GNUNET_SET_OperationHandle *oh, | 348 | GNUNET_SET_commit (struct GNUNET_SET_OperationHandle *oh, |
349 | struct GNUNET_SET_Handle *set); | 349 | struct GNUNET_SET_Handle *set); |
350 | 350 | ||
351 | 351 | ||
352 | /** | 352 | /** |