diff options
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r-- | src/include/gnunet_multicast_service.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index 056cfa642..5503eb3a9 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -377,19 +377,6 @@ typedef void | |||
377 | 377 | ||
378 | 378 | ||
379 | /** | 379 | /** |
380 | * Function called with the result of an asynchronous operation. | ||
381 | * | ||
382 | * @see GNUNET_MULTICAST_replay_fragment() | ||
383 | * | ||
384 | * @param result | ||
385 | * Result of the operation. | ||
386 | */ | ||
387 | typedef void | ||
388 | (*GNUNET_MULTICAST_ResultCallback) (void *cls, | ||
389 | int result); | ||
390 | |||
391 | |||
392 | /** | ||
393 | * Opaque handle to a replay request from the multicast service. | 380 | * Opaque handle to a replay request from the multicast service. |
394 | */ | 381 | */ |
395 | struct GNUNET_MULTICAST_ReplayHandle; | 382 | struct GNUNET_MULTICAST_ReplayHandle; |
@@ -775,19 +762,13 @@ struct GNUNET_MULTICAST_MemberReplayHandle; | |||
775 | * @param flags | 762 | * @param flags |
776 | * Additional flags for the replay request. | 763 | * Additional flags for the replay request. |
777 | * It is used and defined by GNUNET_MULTICAST_ReplayFragmentCallback | 764 | * It is used and defined by GNUNET_MULTICAST_ReplayFragmentCallback |
778 | * @param result_cb | ||
779 | * Function to call when the replayed message fragment arrives. | ||
780 | * @param result_cls | ||
781 | * Closure for @a result_cb. | ||
782 | * | 765 | * |
783 | * @return Replay request handle, NULL on error. | 766 | * @return Replay request handle, NULL on error. |
784 | */ | 767 | */ |
785 | struct GNUNET_MULTICAST_MemberReplayHandle * | 768 | struct GNUNET_MULTICAST_MemberReplayHandle * |
786 | GNUNET_MULTICAST_member_replay_fragment (struct GNUNET_MULTICAST_Member *member, | 769 | GNUNET_MULTICAST_member_replay_fragment (struct GNUNET_MULTICAST_Member *member, |
787 | uint64_t fragment_id, | 770 | uint64_t fragment_id, |
788 | uint64_t flags, | 771 | uint64_t flags); |
789 | GNUNET_MULTICAST_ResultCallback result_cb, | ||
790 | void *result_cb_cls); | ||
791 | 772 | ||
792 | 773 | ||
793 | /** | 774 | /** |
@@ -805,10 +786,6 @@ GNUNET_MULTICAST_member_replay_fragment (struct GNUNET_MULTICAST_Member *member, | |||
805 | * @param flags | 786 | * @param flags |
806 | * Additional flags for the replay request. | 787 | * Additional flags for the replay request. |
807 | * It is used & defined by GNUNET_MULTICAST_ReplayMessageCallback | 788 | * It is used & defined by GNUNET_MULTICAST_ReplayMessageCallback |
808 | * @param result_cb | ||
809 | * Function to call for each replayed message fragment. | ||
810 | * @param result_cls | ||
811 | * Closure for @a result_cb. | ||
812 | * | 789 | * |
813 | * @return Replay request handle, NULL on error. | 790 | * @return Replay request handle, NULL on error. |
814 | */ | 791 | */ |
@@ -816,9 +793,7 @@ struct GNUNET_MULTICAST_MemberReplayHandle * | |||
816 | GNUNET_MULTICAST_member_replay_message (struct GNUNET_MULTICAST_Member *member, | 793 | GNUNET_MULTICAST_member_replay_message (struct GNUNET_MULTICAST_Member *member, |
817 | uint64_t message_id, | 794 | uint64_t message_id, |
818 | uint64_t fragment_offset, | 795 | uint64_t fragment_offset, |
819 | uint64_t flags, | 796 | uint64_t flags); |
820 | GNUNET_MULTICAST_ResultCallback result_cb, | ||
821 | void *result_cb_cls); | ||
822 | 797 | ||
823 | 798 | ||
824 | /** | 799 | /** |