aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psyc_service.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2015-09-05 23:44:08 +0000
committerGabor X Toth <*@tg-x.net>2015-09-05 23:44:08 +0000
commit878b09fe6521df37c2d39f884a6c892b370473a5 (patch)
treeaccd38e3a5fb995546508ffb081d0f9f9fc850a0 /src/include/gnunet_psyc_service.h
parent5e4dfeb7fb48a506f25af0c206ee65a5f7de7f58 (diff)
downloadgnunet-878b09fe6521df37c2d39f884a6c892b370473a5.tar.gz
gnunet-878b09fe6521df37c2d39f884a6c892b370473a5.zip
multicast, psyc, psycstore, client_manager fixes
Diffstat (limited to 'src/include/gnunet_psyc_service.h')
-rw-r--r--src/include/gnunet_psyc_service.h32
1 files changed, 22 insertions, 10 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h
index 1346e77c7..80404f837 100644
--- a/src/include/gnunet_psyc_service.h
+++ b/src/include/gnunet_psyc_service.h
@@ -537,11 +537,18 @@ typedef void
537/** 537/**
538 * Method called from PSYC upon receiving part of a message. 538 * Method called from PSYC upon receiving part of a message.
539 * 539 *
540 * @param cls Closure. 540 * @param cls
541 * @param message_id Sequence number of the message. 541 * Closure.
542 * @param data_offset Byte offset of data, only set if @a msg has a type 542 * @param slave_key
543 * #GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_DATA 543 * Public key of the slave sending the message.
544 * @param flags OR'ed GNUNET_PSYC_MessageFlags 544 * Only set for channel master.
545 * @param message_id
546 * Sequence number of the message.
547 * @param flags
548 * OR'ed GNUNET_PSYC_MessageFlags
549 * @param data_offset
550 * Byte offset of data, only set if @a msg has a type
551 * #GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_DATA
545 * @param msg Message part, one of the following types: 552 * @param msg Message part, one of the following types:
546 * - #GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_HEADER 553 * - #GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_HEADER
547 * - #GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD 554 * - #GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD
@@ -552,19 +559,24 @@ typedef void
552 */ 559 */
553typedef void 560typedef void
554(*GNUNET_PSYC_MessagePartCallback) (void *cls, 561(*GNUNET_PSYC_MessagePartCallback) (void *cls,
562 const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key,
555 uint64_t message_id, 563 uint64_t message_id,
556 uint64_t data_offset,
557 uint32_t flags, 564 uint32_t flags,
565 uint64_t data_offset,
558 const struct GNUNET_MessageHeader *msg); 566 const struct GNUNET_MessageHeader *msg);
559 567
560 568
561/** 569/**
562 * Method called from PSYC upon receiving a join request. 570 * Method called from PSYC upon receiving a join request.
563 * 571 *
564 * @param cls Closure. 572 * @param cls
565 * @param slave_key Public key of the slave requesting join. 573 * Closure.
566 * @param join_msg Join message sent along with the request. 574 * @param slave_key
567 * @param jh Join handle to use with GNUNET_PSYC_join_decision() 575 * Public key of the slave requesting join.
576 * @param join_msg
577 * Join message sent along with the request.
578 * @param jh
579 * Join handle to use with GNUNET_PSYC_join_decision()
568 */ 580 */
569typedef void 581typedef void
570(*GNUNET_PSYC_JoinRequestCallback) (void *cls, 582(*GNUNET_PSYC_JoinRequestCallback) (void *cls,