diff options
Diffstat (limited to 'src/include/gnunet_psyc_service.h')
-rw-r--r-- | src/include/gnunet_psyc_service.h | 28 |
1 files changed, 14 insertions, 14 deletions
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 | */ |
286 | struct GNUNET_PSYC_Master * | 286 | struct GNUNET_PSYC_Master * |
287 | GNUNET_PSYC_master_create (const struct GNUNET_CONFIGURATION_Handle *cfg, | 287 | GNUNET_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 | */ |
362 | tvoid | 362 | tvoid |
363 | GNUNET_PSYC_master_destroy (struct GNUNET_PSYC_Master *master); | 363 | GNUNET_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. |