diff options
author | Gabor X Toth <*@tg-x.net> | 2015-07-18 00:03:06 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2015-07-18 00:03:06 +0000 |
commit | d38544730123a1f365ef287a7e88060d97b266b7 (patch) | |
tree | e66f5ee143adde1a5206f50bbbdd00a8a179fb81 /src/include/gnunet_psycstore_service.h | |
parent | 2275976cf61565bde4f17e8c2c0bc0d359541ac4 (diff) | |
download | gnunet-d38544730123a1f365ef287a7e88060d97b266b7.tar.gz gnunet-d38544730123a1f365ef287a7e88060d97b266b7.zip |
psyc/store: apply state modifiers
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r-- | src/include/gnunet_psycstore_service.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h index 12a375c44..8f3866bdb 100644 --- a/src/include/gnunet_psycstore_service.h +++ b/src/include/gnunet_psycstore_service.h | |||
@@ -494,10 +494,6 @@ GNUNET_PSYCSTORE_counters_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
494 | * ID of the message that contains the @a modifiers. | 494 | * ID of the message that contains the @a modifiers. |
495 | * @param state_delta | 495 | * @param state_delta |
496 | * Value of the @e state_delta PSYC header variable of the message. | 496 | * Value of the @e state_delta PSYC header variable of the message. |
497 | * @param modifier_count | ||
498 | * Number of elements in the @a modifiers array. | ||
499 | * @param modifiers | ||
500 | * List of modifiers to apply. | ||
501 | * @param rcb | 497 | * @param rcb |
502 | * Callback to call with the result of the operation. | 498 | * Callback to call with the result of the operation. |
503 | * @param rcb_cls | 499 | * @param rcb_cls |
@@ -510,8 +506,6 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | |||
510 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, | 506 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
511 | uint64_t message_id, | 507 | uint64_t message_id, |
512 | uint64_t state_delta, | 508 | uint64_t state_delta, |
513 | size_t modifier_count, | ||
514 | const struct GNUNET_ENV_Modifier *modifiers, | ||
515 | GNUNET_PSYCSTORE_ResultCallback rcb, | 509 | GNUNET_PSYCSTORE_ResultCallback rcb, |
516 | void *rcb_cls); | 510 | void *rcb_cls); |
517 | 511 | ||
@@ -523,7 +517,9 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | |||
523 | * Handle for the PSYCstore. | 517 | * Handle for the PSYCstore. |
524 | * @param channel_key | 518 | * @param channel_key |
525 | * The channel we are interested in. | 519 | * The channel we are interested in. |
526 | * @param message_id | 520 | * @param max_state_message_id |
521 | * ID of the last stateful message before @a state_hash_message_id. | ||
522 | * @param state_hash_message_id | ||
527 | * ID of the message that contains the state_hash PSYC header variable. | 523 | * ID of the message that contains the state_hash PSYC header variable. |
528 | * @param modifier_count | 524 | * @param modifier_count |
529 | * Number of elements in the @a modifiers array. | 525 | * Number of elements in the @a modifiers array. |
@@ -539,7 +535,8 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | |||
539 | struct GNUNET_PSYCSTORE_OperationHandle * | 535 | struct GNUNET_PSYCSTORE_OperationHandle * |
540 | GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h, | 536 | GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h, |
541 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, | 537 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
542 | uint64_t message_id, | 538 | uint64_t max_state_message_id, |
539 | uint64_t state_hash_message_id, | ||
543 | size_t modifier_count, | 540 | size_t modifier_count, |
544 | const struct GNUNET_ENV_Modifier *modifiers, | 541 | const struct GNUNET_ENV_Modifier *modifiers, |
545 | GNUNET_PSYCSTORE_ResultCallback rcb, | 542 | GNUNET_PSYCSTORE_ResultCallback rcb, |