aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r--src/core/core_api.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index caf614afc..6055b99c1 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -767,31 +767,31 @@ handle_send_ready (void *cls,
767static void 767static void
768reconnect (struct GNUNET_CORE_Handle *h) 768reconnect (struct GNUNET_CORE_Handle *h)
769{ 769{
770 GNUNET_MQ_hd_fixed_size (init_reply, 770 struct GNUNET_MQ_MessageHandler handlers[] = {
771 GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY, 771 GNUNET_MQ_hd_fixed_size (init_reply,
772 struct InitReplyMessage); 772 GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY,
773 GNUNET_MQ_hd_fixed_size (connect_notify, 773 struct InitReplyMessage,
774 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT, 774 h),
775 struct ConnectNotifyMessage); 775 GNUNET_MQ_hd_fixed_size (connect_notify,
776 GNUNET_MQ_hd_fixed_size (disconnect_notify, 776 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT,
777 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT, 777 struct ConnectNotifyMessage,
778 struct DisconnectNotifyMessage); 778 h),
779 GNUNET_MQ_hd_var_size (notify_inbound, 779 GNUNET_MQ_hd_fixed_size (disconnect_notify,
780 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND, 780 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT,
781 struct NotifyTrafficMessage); 781 struct DisconnectNotifyMessage,
782 GNUNET_MQ_hd_var_size (notify_outbound, 782 h),
783 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND, 783 GNUNET_MQ_hd_var_size (notify_inbound,
784 struct NotifyTrafficMessage); 784 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND,
785 GNUNET_MQ_hd_fixed_size (send_ready, 785 struct NotifyTrafficMessage,
786 GNUNET_MESSAGE_TYPE_CORE_SEND_READY, 786 h),
787 struct SendMessageReady); 787 GNUNET_MQ_hd_var_size (notify_outbound,
788 struct GNUNET_MQ_MessageHandler handlers[] = { 788 GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND,
789 make_init_reply_handler (h), 789 struct NotifyTrafficMessage,
790 make_connect_notify_handler (h), 790 h),
791 make_disconnect_notify_handler (h), 791 GNUNET_MQ_hd_fixed_size (send_ready,
792 make_notify_inbound_handler (h), 792 GNUNET_MESSAGE_TYPE_CORE_SEND_READY,
793 make_notify_outbound_handler (h), 793 struct SendMessageReady,
794 make_send_ready_handler (h), 794 h),
795 GNUNET_MQ_handler_end () 795 GNUNET_MQ_handler_end ()
796 }; 796 };
797 struct InitMessage *init; 797 struct InitMessage *init;