diff options
author | Gabor X Toth <*@tg-x.net> | 2015-09-05 23:44:08 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2015-09-05 23:44:08 +0000 |
commit | 878b09fe6521df37c2d39f884a6c892b370473a5 (patch) | |
tree | accd38e3a5fb995546508ffb081d0f9f9fc850a0 /src/psyc/test_psyc.c | |
parent | 5e4dfeb7fb48a506f25af0c206ee65a5f7de7f58 (diff) | |
download | gnunet-878b09fe6521df37c2d39f884a6c892b370473a5.tar.gz gnunet-878b09fe6521df37c2d39f884a6c892b370473a5.zip |
multicast, psyc, psycstore, client_manager fixes
Diffstat (limited to 'src/psyc/test_psyc.c')
-rw-r--r-- | src/psyc/test_psyc.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/psyc/test_psyc.c b/src/psyc/test_psyc.c index 4e7979a4d..863eaab88 100644 --- a/src/psyc/test_psyc.c +++ b/src/psyc/test_psyc.c | |||
@@ -213,8 +213,9 @@ master_message_cb (void *cls, uint64_t message_id, uint32_t flags, | |||
213 | 213 | ||
214 | 214 | ||
215 | void | 215 | void |
216 | master_message_part_cb (void *cls, uint64_t message_id, | 216 | master_message_part_cb (void *cls, |
217 | uint64_t data_offset, uint32_t flags, | 217 | const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key, |
218 | uint64_t message_id, uint32_t flags, uint64_t data_offset, | ||
218 | const struct GNUNET_MessageHeader *msg) | 219 | const struct GNUNET_MessageHeader *msg) |
219 | { | 220 | { |
220 | if (NULL == msg) | 221 | if (NULL == msg) |
@@ -284,8 +285,9 @@ slave_message_cb (void *cls, uint64_t message_id, uint32_t flags, | |||
284 | 285 | ||
285 | 286 | ||
286 | void | 287 | void |
287 | slave_message_part_cb (void *cls, uint64_t message_id, | 288 | slave_message_part_cb (void *cls, |
288 | uint64_t data_offset, uint32_t flags, | 289 | const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key, |
290 | uint64_t message_id, uint32_t flags, uint64_t data_offset, | ||
289 | const struct GNUNET_MessageHeader *msg) | 291 | const struct GNUNET_MessageHeader *msg) |
290 | { | 292 | { |
291 | if (NULL == msg) | 293 | if (NULL == msg) |
@@ -453,9 +455,9 @@ slave_history_replay () | |||
453 | test = TEST_SLAVE_HISTORY_REPLAY; | 455 | test = TEST_SLAVE_HISTORY_REPLAY; |
454 | GNUNET_PSYC_channel_history_replay (slv_chn, 1, 1, "", | 456 | GNUNET_PSYC_channel_history_replay (slv_chn, 1, 1, "", |
455 | GNUNET_PSYC_HISTORY_REPLAY_LOCAL, | 457 | GNUNET_PSYC_HISTORY_REPLAY_LOCAL, |
456 | &slave_message_cb, | 458 | slave_message_cb, |
457 | &slave_message_part_cb, | 459 | slave_message_part_cb, |
458 | &slave_history_replay_result, NULL); | 460 | slave_history_replay_result, NULL); |
459 | } | 461 | } |
460 | 462 | ||
461 | 463 | ||
@@ -481,9 +483,9 @@ master_history_replay () | |||
481 | test = TEST_MASTER_HISTORY_REPLAY; | 483 | test = TEST_MASTER_HISTORY_REPLAY; |
482 | GNUNET_PSYC_channel_history_replay (mst_chn, 1, 1, "", | 484 | GNUNET_PSYC_channel_history_replay (mst_chn, 1, 1, "", |
483 | GNUNET_PSYC_HISTORY_REPLAY_LOCAL, | 485 | GNUNET_PSYC_HISTORY_REPLAY_LOCAL, |
484 | &master_message_cb, | 486 | master_message_cb, |
485 | &master_message_part_cb, | 487 | master_message_part_cb, |
486 | &master_history_replay_result, NULL); | 488 | master_history_replay_result, NULL); |
487 | } | 489 | } |
488 | 490 | ||
489 | 491 | ||