- GNUNET_ntohll (fcls->msg[0]->message_id), 0,
- 2, modifiers, state_modify_result, fcls);
-}
-
-
-void
-counters_master_result (void *cls, uint64_t fragment_id, uint64_t message_id,
- uint64_t group_generation)
-{
- struct FragmentClosure *fcls = cls;
- int result = 0;
- op = NULL;
-
- if (fragment_id == GNUNET_ntohll (fcls->msg[2]->fragment_id) &&
- message_id == GNUNET_ntohll (fcls->msg[2]->message_id) &&
- group_generation == GNUNET_ntohll (fcls->msg[2]->group_generation))
- result = 1;
-
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "counters_get_master:\t%d\n", result);
- ASSERT (result == 1);
-
- modifiers[0] = (struct GNUNET_ENV_Modifier) {
- .oper = '=',
- .name = "_sync_foo",
- .value = "three two one",
- .value_size = sizeof ("three two one") - 1
- };
- modifiers[1] = (struct GNUNET_ENV_Modifier) {
- .oper = '=',
- .name = "_sync_bar",
- .value = "ten eleven twelve",
- .value_size = sizeof ("ten eleven twelve") - 1
- };
-
- op = GNUNET_PSYCSTORE_state_sync (h, &channel_pub_key,
- GNUNET_ntohll (fcls->msg[0]->message_id) + 1,
- 2, modifiers, state_sync_result, fcls);