gnunet-svn
[Top][All Lists]
Advanced

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

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


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

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

Modified:
   gnunet/src/include/gnunet_multicast_service.h
   gnunet/src/include/gnunet_psyc_service.h
Log:
multicast/psyc: use start/stop naming for master/origin

Modified: gnunet/src/include/gnunet_multicast_service.h
===================================================================
--- gnunet/src/include/gnunet_multicast_service.h       2013-07-23 05:38:25 UTC 
(rev 28259)
+++ gnunet/src/include/gnunet_multicast_service.h       2013-07-23 05:38:33 UTC 
(rev 28260)
@@ -556,12 +556,12 @@
 
 
 /** 
- * End a multicast group.
+ * Stop a multicast group.
  *
- * @param origin multicast group to terminate
+ * @param origin Multicast group to stop.
  */
 void
-GNUNET_MULTICAST_origin_end (struct GNUNET_MULTICAST_Origin *origin);
+GNUNET_MULTICAST_origin_stop (struct GNUNET_MULTICAST_Origin *origin);
 
 
 /** 

Modified: gnunet/src/include/gnunet_psyc_service.h
===================================================================
--- gnunet/src/include/gnunet_psyc_service.h    2013-07-23 05:38:25 UTC (rev 
28259)
+++ gnunet/src/include/gnunet_psyc_service.h    2013-07-23 05:38:33 UTC (rev 
28260)
@@ -255,9 +255,9 @@
 
 
 /** 
- * Create a PSYC channel master.
+ * Start a PSYC master channel.
  *
- * Will create a multicast group identified by the given ECC key.  Messages
+ * Will start a multicast group identified by the given ECC key.  Messages
  * received from group members will be given to the respective handler methods.
  * If a new member wants to join a group, the "join" method handler will be
  * invoked; the join handler must then generate a "join" message to approve the
@@ -284,13 +284,13 @@
  * @return Handle for the channel master, NULL on error.
  */
 struct GNUNET_PSYC_Master *
-GNUNET_PSYC_master_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                           const struct GNUNET_CRYPTO_EccPrivateKey *priv_key,
-                           enum GNUNET_MULTICAST_JoinPolicy join_policy,
-                           GNUNET_PSYC_Method method_cb,
-                           GNUNET_PSYC_JoinCallback join_cb,
-                           GNUNET_PSYC_PartCallback part_cb,
-                           void *cls);
+GNUNET_PSYC_master_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
+                          const struct GNUNET_CRYPTO_EccPrivateKey *priv_key,
+                          enum GNUNET_MULTICAST_JoinPolicy join_policy,
+                          GNUNET_PSYC_Method method_cb,
+                          GNUNET_PSYC_JoinCallback join_cb,
+                          GNUNET_PSYC_PartCallback part_cb,
+                          void *cls);
 
 
 /** 
@@ -302,7 +302,7 @@
  * @param cls Closure.
  * @param message_id Set to the unique message ID that was generated for
  *        this message.
- * @param data_size[in,out] Initially set to the number of bytes available in 
@a data,
+ * @param[in,out] data_size Initially set to the number of bytes available in 
@a data,
  *        should be set to the number of bytes written to data (IN/OUT).
  * @param[out] data Where to write the body of the message to give to the 
method;
  *        function must copy at most @a *data_size bytes to @a data.
@@ -355,12 +355,12 @@
 
 
 /** 
- * Destroy a PSYC channel master.
+ * Stop a PSYC master channel.
  *
- * @param master PSYC channel master to terminate.
+ * @param master PSYC channel master to stop.
  */
 tvoid
-GNUNET_PSYC_master_destroy (struct GNUNET_PSYC_Master *master);
+GNUNET_PSYC_master_stop (struct GNUNET_PSYC_Master *master);
 
 
 /** 
@@ -431,7 +431,7 @@
  * invalidates the respective transmission handle.
  *
  * @param cls Closure.
- * @param data_size[in,out] Initially set to the number of bytes available in 
@a data,
+ * @param[in,out] data_size Initially set to the number of bytes available in 
@a data,
  *        should be set to the number of bytes written to data (IN/OUT).
  * @param[out] data Where to write the body of the message to give to the 
method;
  *        function must copy at most @a *data_size bytes to @a data.




reply via email to

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