aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-07-23 05:38:33 +0000
committerGabor X Toth <*@tg-x.net>2013-07-23 05:38:33 +0000
commit05a1f3c2535040b00c754676f196c68c3bb60c0b (patch)
treefb682f39f4d2f9cb5cafaedeb8c9c249243f0758 /src
parent67c5a441c686b5242f096a68cd58a77df3f36942 (diff)
downloadgnunet-05a1f3c2535040b00c754676f196c68c3bb60c0b.tar.gz
gnunet-05a1f3c2535040b00c754676f196c68c3bb60c0b.zip
multicast/psyc: use start/stop naming for master/origin
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_multicast_service.h6
-rw-r--r--src/include/gnunet_psyc_service.h28
2 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h
index 88a8dba47..58f5c4fbe 100644
--- a/src/include/gnunet_multicast_service.h
+++ b/src/include/gnunet_multicast_service.h
@@ -556,12 +556,12 @@ GNUNET_MULTICAST_origin_to_all_cancel (struct GNUNET_MULTICAST_OriginMessageHand
556 556
557 557
558/** 558/**
559 * End a multicast group. 559 * Stop a multicast group.
560 * 560 *
561 * @param origin multicast group to terminate 561 * @param origin Multicast group to stop.
562 */ 562 */
563void 563void
564GNUNET_MULTICAST_origin_end (struct GNUNET_MULTICAST_Origin *origin); 564GNUNET_MULTICAST_origin_stop (struct GNUNET_MULTICAST_Origin *origin);
565 565
566 566
567/** 567/**
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h
index d5257b26e..b2b370cf9 100644
--- a/src/include/gnunet_psyc_service.h
+++ b/src/include/gnunet_psyc_service.h
@@ -255,9 +255,9 @@ struct GNUNET_PSYC_Master;
255 255
256 256
257/** 257/**
258 * Create a PSYC channel master. 258 * Start a PSYC master channel.
259 * 259 *
260 * Will create a multicast group identified by the given ECC key. Messages 260 * Will start a multicast group identified by the given ECC key. Messages
261 * received from group members will be given to the respective handler methods. 261 * received from group members will be given to the respective handler methods.
262 * If a new member wants to join a group, the "join" method handler will be 262 * If a new member wants to join a group, the "join" method handler will be
263 * invoked; the join handler must then generate a "join" message to approve the 263 * invoked; the join handler must then generate a "join" message to approve the
@@ -284,13 +284,13 @@ struct GNUNET_PSYC_Master;
284 * @return Handle for the channel master, NULL on error. 284 * @return Handle for the channel master, NULL on error.
285 */ 285 */
286struct GNUNET_PSYC_Master * 286struct GNUNET_PSYC_Master *
287GNUNET_PSYC_master_create (const struct GNUNET_CONFIGURATION_Handle *cfg, 287GNUNET_PSYC_master_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
288 const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, 288 const struct GNUNET_CRYPTO_EccPrivateKey *priv_key,
289 enum GNUNET_MULTICAST_JoinPolicy join_policy, 289 enum GNUNET_MULTICAST_JoinPolicy join_policy,
290 GNUNET_PSYC_Method method_cb, 290 GNUNET_PSYC_Method method_cb,
291 GNUNET_PSYC_JoinCallback join_cb, 291 GNUNET_PSYC_JoinCallback join_cb,
292 GNUNET_PSYC_PartCallback part_cb, 292 GNUNET_PSYC_PartCallback part_cb,
293 void *cls); 293 void *cls);
294 294
295 295
296/** 296/**
@@ -302,7 +302,7 @@ GNUNET_PSYC_master_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
302 * @param cls Closure. 302 * @param cls Closure.
303 * @param message_id Set to the unique message ID that was generated for 303 * @param message_id Set to the unique message ID that was generated for
304 * this message. 304 * this message.
305 * @param data_size[in,out] Initially set to the number of bytes available in @a data, 305 * @param[in,out] data_size Initially set to the number of bytes available in @a data,
306 * should be set to the number of bytes written to data (IN/OUT). 306 * should be set to the number of bytes written to data (IN/OUT).
307 * @param[out] data Where to write the body of the message to give to the method; 307 * @param[out] data Where to write the body of the message to give to the method;
308 * function must copy at most @a *data_size bytes to @a data. 308 * function must copy at most @a *data_size bytes to @a data.
@@ -355,12 +355,12 @@ GNUNET_PSYC_master_transmit_cancel (struct GNUNET_PSYC_MasterTransmitHandle *th)
355 355
356 356
357/** 357/**
358 * Destroy a PSYC channel master. 358 * Stop a PSYC master channel.
359 * 359 *
360 * @param master PSYC channel master to terminate. 360 * @param master PSYC channel master to stop.
361 */ 361 */
362tvoid 362tvoid
363GNUNET_PSYC_master_destroy (struct GNUNET_PSYC_Master *master); 363GNUNET_PSYC_master_stop (struct GNUNET_PSYC_Master *master);
364 364
365 365
366/** 366/**
@@ -431,7 +431,7 @@ GNUNET_PSYC_slave_part (struct GNUNET_PSYC_Slave *slave,
431 * invalidates the respective transmission handle. 431 * invalidates the respective transmission handle.
432 * 432 *
433 * @param cls Closure. 433 * @param cls Closure.
434 * @param data_size[in,out] Initially set to the number of bytes available in @a data, 434 * @param[in,out] data_size Initially set to the number of bytes available in @a data,
435 * should be set to the number of bytes written to data (IN/OUT). 435 * should be set to the number of bytes written to data (IN/OUT).
436 * @param[out] data Where to write the body of the message to give to the method; 436 * @param[out] data Where to write the body of the message to give to the method;
437 * function must copy at most @a *data_size bytes to @a data. 437 * function must copy at most @a *data_size bytes to @a data.