diff options
author | Gabor X Toth <*@tg-x.net> | 2013-07-15 07:54:16 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-07-15 07:54:16 +0000 |
commit | d6e993f8abf50bd8d9b637e0fad3b74e71a1850b (patch) | |
tree | 7df97bf55a526f835ef34d0741031aa3159eaf83 /src/include/gnunet_multicast_service.h | |
parent | 0c4e64676857a0963d74588c0a20e5a54892fb67 (diff) | |
download | gnunet-d6e993f8abf50bd8d9b637e0fad3b74e71a1850b.tar.gz gnunet-d6e993f8abf50bd8d9b637e0fad3b74e71a1850b.zip |
env: doc; spaces
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r-- | src/include/gnunet_multicast_service.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index 5803f551e..5a9c99c30 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -60,7 +60,7 @@ struct GNUNET_MULTICAST_Origin; | |||
60 | */ | 60 | */ |
61 | enum GNUNET_MULTICAST_JoinPolicy | 61 | enum GNUNET_MULTICAST_JoinPolicy |
62 | { | 62 | { |
63 | /** | 63 | /** |
64 | * Anyone can join the group, without announcing his presence; | 64 | * Anyone can join the group, without announcing his presence; |
65 | * all messages are always public and can be distributed freely. | 65 | * all messages are always public and can be distributed freely. |
66 | * Joins may be announced, but this is not required. | 66 | * Joins may be announced, but this is not required. |
@@ -447,12 +447,12 @@ enum GNUNET_MULTICAST_ReplayErrorCode | |||
447 | 447 | ||
448 | /** | 448 | /** |
449 | * Everything is fine. | 449 | * Everything is fine. |
450 | */ | 450 | */ |
451 | GNUNET_MULTICAST_REC_OK = 0, | 451 | GNUNET_MULTICAST_REC_OK = 0, |
452 | 452 | ||
453 | /** | 453 | /** |
454 | * Message fragment has been discarded (likely transient message that was too old). | 454 | * Message fragment has been discarded (likely transient message that was too old). |
455 | */ | 455 | */ |
456 | GNUNET_MULTICAST_REC_TRANSIENT_LOST = 1, | 456 | GNUNET_MULTICAST_REC_TRANSIENT_LOST = 1, |
457 | 457 | ||
458 | /** | 458 | /** |
@@ -460,12 +460,12 @@ enum GNUNET_MULTICAST_ReplayErrorCode | |||
460 | * replay function has ever encountered; thus it is likely the | 460 | * replay function has ever encountered; thus it is likely the |
461 | * origin never sent it and we're at the HEAD of the multicast | 461 | * origin never sent it and we're at the HEAD of the multicast |
462 | * stream as far as this node is concerned. | 462 | * stream as far as this node is concerned. |
463 | */ | 463 | */ |
464 | GNUNET_MULTICAST_REC_PAST_HEAD = 2, | 464 | GNUNET_MULTICAST_REC_PAST_HEAD = 2, |
465 | 465 | ||
466 | /** | 466 | /** |
467 | * Internal error (i.e. database error). Try some other peer. | 467 | * Internal error (i.e. database error). Try some other peer. |
468 | */ | 468 | */ |
469 | GNUNET_MULTICAST_REC_INTERNAL_ERROR = 3 | 469 | GNUNET_MULTICAST_REC_INTERNAL_ERROR = 3 |
470 | 470 | ||
471 | }; | 471 | }; |
@@ -511,7 +511,7 @@ GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh, | |||
511 | * @return Handle for the origin, NULL on error. | 511 | * @return Handle for the origin, NULL on error. |
512 | */ | 512 | */ |
513 | struct GNUNET_MULTICAST_Origin * | 513 | struct GNUNET_MULTICAST_Origin * |
514 | GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | 514 | GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
515 | void *cls, | 515 | void *cls, |
516 | const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, | 516 | const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, |
517 | enum GNUNET_MULTICAST_JoinPolicy join_policy, | 517 | enum GNUNET_MULTICAST_JoinPolicy join_policy, |
@@ -591,18 +591,18 @@ GNUNET_MULTICAST_origin_end (struct GNUNET_MULTICAST_Origin *origin); | |||
591 | * this peer already knows from this group; NULL if this | 591 | * this peer already knows from this group; NULL if this |
592 | * client is unable to support replay. | 592 | * client is unable to support replay. |
593 | * @param test_cb Function multicast can use to test group membership. | 593 | * @param test_cb Function multicast can use to test group membership. |
594 | * @param message_cb Function to be called for all message fragments we | 594 | * @param message_cb Function to be called for all message fragments we |
595 | * receive from the group, excluding those our @a replay_cb | 595 | * receive from the group, excluding those our @a replay_cb |
596 | * already has. | 596 | * already has. |
597 | * @param cls Closure for callbacks. | 597 | * @param cls Closure for callbacks. |
598 | * @param join_req Application-dependent join message to be passed to origin | 598 | * @param join_req Application-dependent join message to be passed to origin |
599 | * (might, for example, contain a user | 599 | * (might, for example, contain a user |
600 | * bind user identity/pseudonym to peer identity, application-level | 600 | * bind user identity/pseudonym to peer identity, application-level |
601 | * message to origin, etc.). | 601 | * message to origin, etc.). |
602 | * @return Handle for the member, NULL on error. | 602 | * @return Handle for the member, NULL on error. |
603 | */ | 603 | */ |
604 | struct GNUNET_MULTICAST_Member * | 604 | struct GNUNET_MULTICAST_Member * |
605 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | 605 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, |
606 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, | 606 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, |
607 | const struct GNUNET_PeerIdentity *origin, | 607 | const struct GNUNET_PeerIdentity *origin, |
608 | uint64_t max_known_fragment_id, | 608 | uint64_t max_known_fragment_id, |
@@ -664,7 +664,7 @@ struct GNUNET_MULTICAST_MemberRequestHandle; | |||
664 | 664 | ||
665 | 665 | ||
666 | /** | 666 | /** |
667 | * Send a message to the origin of the multicast group. | 667 | * Send a message to the origin of the multicast group. |
668 | * | 668 | * |
669 | * @param member Membership handle. | 669 | * @param member Membership handle. |
670 | * @param size Number of bytes we want to send to origin. | 670 | * @param size Number of bytes we want to send to origin. |