aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_multicast_service.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-07-28 19:57:04 +0000
committerGabor X Toth <*@tg-x.net>2013-07-28 19:57:04 +0000
commit67370e1b06a281cf45d9bf7d9019a2b86491d473 (patch)
tree333cd700b41dba71b3484bd6e235e765d8b02d6f /src/include/gnunet_multicast_service.h
parentb9b10bb434ec1f611be916a402d15440ccc8ec6d (diff)
downloadgnunet-67370e1b06a281cf45d9bf7d9019a2b86491d473.tar.gz
gnunet-67370e1b06a281cf45d9bf7d9019a2b86491d473.zip
multicast/psyc: join cb for members/slaves too
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r--src/include/gnunet_multicast_service.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h
index 46e6f824b..cc951495d 100644
--- a/src/include/gnunet_multicast_service.h
+++ b/src/include/gnunet_multicast_service.h
@@ -600,10 +600,11 @@ GNUNET_MULTICAST_origin_stop (struct GNUNET_MULTICAST_Origin *origin);
600 * possible (lower IDs will be considered known and thus only 600 * possible (lower IDs will be considered known and thus only
601 * be replayed upon explicit request). 601 * be replayed upon explicit request).
602 * FIXME: needed? can be optional or moved to a separate function. 602 * FIXME: needed? can be optional or moved to a separate function.
603 * @param join_cb Function called to approve / disapprove joining of a peer.
604 * @param test_cb Function multicast can use to test group membership.
603 * @param replay_cb Function that can be called to replay messages 605 * @param replay_cb Function that can be called to replay messages
604 * this peer already knows from this group; NULL if this 606 * this peer already knows from this group; NULL if this
605 * client is unable to support replay. 607 * client is unable to support replay.
606 * @param test_cb Function multicast can use to test group membership.
607 * @param message_cb Function to be called for all message fragments we 608 * @param message_cb Function to be called for all message fragments we
608 * receive from the group, excluding those our @a replay_cb 609 * receive from the group, excluding those our @a replay_cb
609 * already has. 610 * already has.
@@ -618,8 +619,9 @@ GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg,
618 const struct GNUNET_PeerIdentity *members, 619 const struct GNUNET_PeerIdentity *members,
619 const struct GNUNET_MessageHeader *join_request, 620 const struct GNUNET_MessageHeader *join_request,
620 uint64_t max_known_fragment_id, 621 uint64_t max_known_fragment_id,
621 GNUNET_MULTICAST_ReplayCallback replay_cb, 622 GNUNET_MULTICAST_JoinCallback join_cb,
622 GNUNET_MULITCAST_MembershipTestCallback test_cb, 623 GNUNET_MULITCAST_MembershipTestCallback test_cb,
624 GNUNET_MULITCAST_ReplayCallback replay_cb,
623 GNUNET_MULTICAST_MessageCallback message_cb, 625 GNUNET_MULTICAST_MessageCallback message_cb,
624 void *cls); 626 void *cls);
625 627