aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_api_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_api_2.c')
-rw-r--r--src/core/core_api_2.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/core/core_api_2.c b/src/core/core_api_2.c
index 536fe597c..d810bf2ec 100644
--- a/src/core/core_api_2.c
+++ b/src/core/core_api_2.c
@@ -700,27 +700,27 @@ handle_send_ready (void *cls,
700static void 700static void
701reconnect (struct GNUNET_CORE_Handle *h) 701reconnect (struct GNUNET_CORE_Handle *h)
702{ 702{
703 GNUNET_MQ_hd_fixed_size (init_reply,
704 GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY,
705 struct InitReplyMessage);
706 GNUNET_MQ_hd_fixed_size (connect_notify,
707 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT,
708 struct ConnectNotifyMessage);
709 GNUNET_MQ_hd_fixed_size (disconnect_notify,
710 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT,
711 struct DisconnectNotifyMessage);
712 GNUNET_MQ_hd_var_size (notify_inbound,
713 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND,
714 struct NotifyTrafficMessage);
715 GNUNET_MQ_hd_fixed_size (send_ready,
716 GNUNET_MESSAGE_TYPE_CORE_SEND_READY,
717 struct SendMessageReady);
718 struct GNUNET_MQ_MessageHandler handlers[] = { 703 struct GNUNET_MQ_MessageHandler handlers[] = {
719 make_init_reply_handler (h), 704 GNUNET_MQ_hd_fixed_size (init_reply,
720 make_connect_notify_handler (h), 705 GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY,
721 make_disconnect_notify_handler (h), 706 struct InitReplyMessage,
722 make_notify_inbound_handler (h), 707 h),
723 make_send_ready_handler (h), 708 GNUNET_MQ_hd_fixed_size (connect_notify,
709 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT,
710 struct ConnectNotifyMessage,
711 h),
712 GNUNET_MQ_hd_fixed_size (disconnect_notify,
713 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT,
714 struct DisconnectNotifyMessage,
715 h),
716 GNUNET_MQ_hd_var_size (notify_inbound,
717 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND,
718 struct NotifyTrafficMessage,
719 h),
720 GNUNET_MQ_hd_fixed_size (send_ready,
721 GNUNET_MESSAGE_TYPE_CORE_SEND_READY,
722 struct SendMessageReady,
723 h),
724 GNUNET_MQ_handler_end () 724 GNUNET_MQ_handler_end ()
725 }; 725 };
726 struct InitMessage *init; 726 struct InitMessage *init;