diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_mq_lib.h | 11 | ||||
-rw-r--r-- | src/include/gnunet_peerinfo_service.h | 2 |
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 | */ | ||
262 | typedef 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 | */ |
635 | void | 626 | void |
636 | GNUNET_MQ_notify_sent (struct GNUNET_MQ_Envelope *ev, | 627 | GNUNET_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); | |||
101 | struct GNUNET_MQ_Envelope * | 101 | struct GNUNET_MQ_Envelope * |
102 | GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, | 102 | GNUNET_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 | ||