aboutsummaryrefslogtreecommitdiff
path: root/src/multicast/multicast_api.c
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2015-09-26 17:10:24 +0000
committerGabor X Toth <*@tg-x.net>2015-09-26 17:10:24 +0000
commit55ad4fa34348aaa05fadedeb830ea72cea5d7cc4 (patch)
treeeb6c5df2f82ca43b26859b2bcc00746c28b1eb6b /src/multicast/multicast_api.c
parent0219647545ddc7c66dcab13414541cf57d792618 (diff)
multicast: removed replay cancellation as responses are limited
Diffstat (limited to 'src/multicast/multicast_api.c')
-rw-r--r--src/multicast/multicast_api.c31
1 files changed, 2 insertions, 29 deletions
diff --git a/src/multicast/multicast_api.c b/src/multicast/multicast_api.c
index 76c7fb004f..117a0efe25 100644
--- a/src/multicast/multicast_api.c
+++ b/src/multicast/multicast_api.c
@@ -182,9 +182,6 @@ struct GNUNET_MULTICAST_ReplayHandle
*/
struct GNUNET_MULTICAST_MemberReplayHandle
{
-
- GNUNET_MULTICAST_ResultCallback result_cb;
- void *result_cls;
};
@@ -1051,19 +1048,13 @@ member_replay_request (struct GNUNET_MULTICAST_Member *mem,
* @param flags
* Additional flags for the replay request.
* It is used and defined by GNUNET_MULTICAST_ReplayFragmentCallback
- * @param result_cb
- * Function to call when the replayed message fragment arrives.
- * @param result_cls
- * Closure for @a result_cb.
*
* @return Replay request handle.
*/
struct GNUNET_MULTICAST_MemberReplayHandle *
GNUNET_MULTICAST_member_replay_fragment (struct GNUNET_MULTICAST_Member *mem,
uint64_t fragment_id,
- uint64_t flags,
- GNUNET_MULTICAST_ResultCallback result_cb,
- void *result_cls)
+ uint64_t flags)
{
member_replay_request (mem, fragment_id, 0, 0, flags);
}
@@ -1084,10 +1075,6 @@ GNUNET_MULTICAST_member_replay_fragment (struct GNUNET_MULTICAST_Member *mem,
* @param flags
* Additional flags for the replay request.
* It is used & defined by GNUNET_MULTICAST_ReplayMessageCallback
- * @param result_cb
- * Function to call for each replayed message fragment.
- * @param result_cls
- * Closure for @a result_cb.
*
* @return Replay request handle, NULL on error.
*/
@@ -1095,26 +1082,12 @@ struct GNUNET_MULTICAST_MemberReplayHandle *
GNUNET_MULTICAST_member_replay_message (struct GNUNET_MULTICAST_Member *mem,
uint64_t message_id,
uint64_t fragment_offset,
- uint64_t flags,
- GNUNET_MULTICAST_ResultCallback result_cb,
- void *result_cls)
+ uint64_t flags)
{
member_replay_request (mem, 0, message_id, fragment_offset, flags);
}
-/**
- * Cancel a replay request.
- *
- * @param rh
- * Request to cancel.
- */
-void
-GNUNET_MULTICAST_member_replay_cancel (struct GNUNET_MULTICAST_MemberReplayHandle *rh)
-{
-}
-
-
static void
member_to_origin (struct GNUNET_MULTICAST_Member *mem)
{