diff options
author | Gabor X Toth <*@tg-x.net> | 2015-09-26 17:09:48 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2015-09-26 17:09:48 +0000 |
commit | 0c5cea1c26efb8b53f643a6ce6b162d9c9fe2b8f (patch) | |
tree | da1f58068d54688c560c2cb464dc8ce4053874a1 /src/include/gnunet_psycstore_service.h | |
parent | 68e2709a38f9c481f96024138a6f9ae57a280a57 (diff) | |
download | gnunet-0c5cea1c26efb8b53f643a6ce6b162d9c9fe2b8f.tar.gz gnunet-0c5cea1c26efb8b53f643a6ce6b162d9c9fe2b8f.zip |
psycstore: add fragment_limit arg for message_get
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r-- | src/include/gnunet_psycstore_service.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h index 17d53b34d..615481b91 100644 --- a/src/include/gnunet_psycstore_service.h +++ b/src/include/gnunet_psycstore_service.h | |||
@@ -330,6 +330,8 @@ GNUNET_PSYCSTORE_fragment_get_latest (struct GNUNET_PSYCSTORE_Handle *h, | |||
330 | * First message ID to retrieve. | 330 | * First message ID to retrieve. |
331 | * @param last_message_id | 331 | * @param last_message_id |
332 | * Last consecutive message ID to retrieve. | 332 | * Last consecutive message ID to retrieve. |
333 | * @param fragment_limit | ||
334 | * Maximum number of fragments to retrieve. | ||
333 | * @param method_prefix | 335 | * @param method_prefix |
334 | * Retrieve only messages with a matching method prefix. | 336 | * Retrieve only messages with a matching method prefix. |
335 | * @param fragment_cb | 337 | * @param fragment_cb |
@@ -347,6 +349,7 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
347 | const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key, | 349 | const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key, |
348 | uint64_t first_message_id, | 350 | uint64_t first_message_id, |
349 | uint64_t last_message_id, | 351 | uint64_t last_message_id, |
352 | uint64_t fragment_limit, | ||
350 | const char *method_prefix, | 353 | const char *method_prefix, |
351 | GNUNET_PSYCSTORE_FragmentCallback fragment_cb, | 354 | GNUNET_PSYCSTORE_FragmentCallback fragment_cb, |
352 | GNUNET_PSYCSTORE_ResultCallback result_cb, | 355 | GNUNET_PSYCSTORE_ResultCallback result_cb, |