From 937abe2f277d163e19b626fc37955d91e5126140 Mon Sep 17 00:00:00 2001 From: Bruno Cabral Date: Sun, 31 Aug 2014 14:58:43 +0000 Subject: Fix infinite loop ( grothoff, please check !) --- src/include/gnunet_cadet_service.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include') diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h index 14826c40b..a4ac42eb8 100644 --- a/src/include/gnunet_cadet_service.h +++ b/src/include/gnunet_cadet_service.h @@ -348,6 +348,18 @@ void GNUNET_CADET_notify_transmit_ready_cancel (struct GNUNET_CADET_TransmitHandle *th); + +/** + * Cancel only the notify without cleaning the structs to a futher call to channel destroy + * + * @param th handle that was returned by "notify_transmit_ready". + */ +void +GNUNET_CADET_cancel_notify (struct GNUNET_CADET_TransmitHandle + *th); + + + /** * Indicate readiness to receive the next message on a channel. -- cgit v1.2.3