aboutsummaryrefslogtreecommitdiff
path: root/src/include
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
parent9407ee77841b771e774d51eaa2916bceed047c86 (diff)
downloadgnunet-d0bb14e2a958f4f816c6c006dd8b7a979e6de289.tar.gz
gnunet-d0bb14e2a958f4f816c6c006dd8b7a979e6de289.zip
replace redundant MQ_NotifyCallback by SCHEDULER_TaskCallback
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_mq_lib.h11
-rw-r--r--src/include/gnunet_peerinfo_service.h2
2 files changed, 2 insertions, 11 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
diff --git a/src/include/gnunet_peerinfo_service.h b/src/include/gnunet_peerinfo_service.h
index 44df483a0..b5c2153ac 100644
--- a/src/include/gnunet_peerinfo_service.h
+++ b/src/include/gnunet_peerinfo_service.h
@@ -101,7 +101,7 @@ GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h);
101struct GNUNET_MQ_Envelope * 101struct GNUNET_MQ_Envelope *
102GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, 102GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
103 const struct GNUNET_HELLO_Message *hello, 103 const struct GNUNET_HELLO_Message *hello,
104 GNUNET_MQ_NotifyCallback cont, 104 GNUNET_SCHEDULER_TaskCallback cont,
105 void *cont_cls); 105 void *cont_cls);
106 106
107 107