aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mq_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-17 11:22:00 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-17 11:22:10 +0100
commitd0bb14e2a958f4f816c6c006dd8b7a979e6de289 (patch)
treeb69929ede9560daf5c298b4e3abe7e109f8daa05 /src/include/gnunet_mq_lib.h
parent9407ee77841b771e774d51eaa2916bceed047c86 (diff)
downloadgnunet-d0bb14e2a958f4f816c6c006dd8b7a979e6de289.tar.gz
gnunet-d0bb14e2a958f4f816c6c006dd8b7a979e6de289.zip
replace redundant MQ_NotifyCallback by SCHEDULER_TaskCallback
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r--src/include/gnunet_mq_lib.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index 5c2f808df..108ba5d54 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -255,15 +255,6 @@ typedef void
255 255
256 256
257/** 257/**
258 * Callback used for notifications
259 *
260 * @param cls closure
261 */
262typedef void
263(*GNUNET_MQ_NotifyCallback) (void *cls);
264
265
266/**
267 * Generic error handler, called with the appropriate 258 * Generic error handler, called with the appropriate
268 * error code and the same closure specified at the creation of 259 * error code and the same closure specified at the creation of
269 * the message queue. 260 * the message queue.
@@ -634,7 +625,7 @@ GNUNET_MQ_set_handlers_closure (struct GNUNET_MQ_Handle *mq,
634 */ 625 */
635void 626void
636GNUNET_MQ_notify_sent (struct GNUNET_MQ_Envelope *ev, 627GNUNET_MQ_notify_sent (struct GNUNET_MQ_Envelope *ev,
637 GNUNET_MQ_NotifyCallback cb, 628 GNUNET_SCHEDULER_TaskCallback cb,
638 void *cb_cls); 629 void *cb_cls);
639 630
640 631