gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28325 - gnunet/src/include
Date: Fri, 26 Jul 2013 14:56:04 +0200

Author: tg
Date: 2013-07-26 14:56:03 +0200 (Fri, 26 Jul 2013)
New Revision: 28325

Modified:
   gnunet/src/include/gnunet_psyc_service.h
Log:
psyc: use relays for join decision in this api too

Modified: gnunet/src/include/gnunet_psyc_service.h
===================================================================
--- gnunet/src/include/gnunet_psyc_service.h    2013-07-25 15:10:28 UTC (rev 
28324)
+++ gnunet/src/include/gnunet_psyc_service.h    2013-07-26 12:56:03 UTC (rev 
28325)
@@ -195,6 +195,14 @@
  * @param jh Join request handle.
  * @param is_admitted #GNUNET_YES if joining is approved,
  *        #GNUNET_NO if it is disapproved
+ * @param relay_count Number of relays given.
+ * @param relays Array of suggested peers that might be useful relays to use
+ *        when joining the multicast group (essentially a list of peers that
+ *        are already part of the multicast group and might thus be willing
+ *        to help with routing).  If empty, only this local peer (which must
+ *        be the multicast origin) is a good candidate for building the
+ *        multicast tree.  Note that it is unnecessary to specify our own
+ *        peer identity in this array.
  * @param method_name Method name for the message transmitted with the 
response.
  * @param env Environment containing transient variables for the message, or 
NULL.
  * @param data_size Size of @a data.
@@ -203,6 +211,8 @@
 void
 GNUNET_PSYC_join_decision (struct GNUNET_PSYC_JoinHandle *jh,
                            int is_admitted,
+                           unsigned int relay_count,
+                           const struct GNUNET_PeerIdentity *relays,
                            const char *method_name,
                            const struct GNUNET_ENV_Environment *env,
                            size_t data_size,




reply via email to

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