gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28262 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r28262 - gnunet/src/include
Date: Tue, 23 Jul 2013 07:38:37 +0200

Author: tg
Date: 2013-07-23 07:38:37 +0200 (Tue, 23 Jul 2013)
New Revision: 28262

Modified:
   gnunet/src/include/gnunet_multicast_service.h
Log:
multicast: group_member_remove()

Modified: gnunet/src/include/gnunet_multicast_service.h
===================================================================
--- gnunet/src/include/gnunet_multicast_service.h       2013-07-23 05:38:35 UTC 
(rev 28261)
+++ gnunet/src/include/gnunet_multicast_service.h       2013-07-23 05:38:37 UTC 
(rev 28262)
@@ -661,7 +661,46 @@
 GNUNET_MULTICAST_member_to_origin_cancel (struct 
GNUNET_MULTICAST_MemberRequestHandle *rh);
 
 
+/** 
+ * Handle to access multicast group operations for both the origin and members.
+ */
+struct GNUNET_MULTICAST_Group;
 
+
+/** 
+ * Convert a group @a origin to a @e group handle to access the @e group APIs.
+ *
+ * @param origin Group origin handle.
+ * @return Group handle, valid for as long as @a origin is valid.
+ */
+struct GNUNET_MULTICAST_Group *
+GNUNET_MULTICAST_origin_get_group (struct GNUNET_MULTICAST_Origin *origin);
+
+
+/** 
+ * Convert @a member to a @e group handle to access the @e group APIs.
+ *
+ * @param member Member handle.
+ * @return Group handle, valid for as long as @a member is valid.
+ */
+struct GNUNET_MULTICAST_Group *
+GNUNET_MULTICAST_member_get_group (struct GNUNET_MULTICAST_Member *member);
+
+
+/**
+ * Remove a peer from the group.
+ *
+ * After a message was received notifying about a leaving member, remove the
+ * member from the multicast group.  Fragments with a greater @a message_id 
than
+ * the specified one won't be transmitted to the member anymore, but the
+ * transmission of lower or equal ones will still be performed.
+ */
+void
+GNUNET_MULTICAST_group_member_remove (struct GNUNET_MULTICAST_Group *group,
+                                      const struct GNUNET_PeerIdentity *peer,
+                                      uint64_t message_id);
+
+
 #if 0                           /* keep Emacsens' auto-indent happy */
 {
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]