aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/conversation_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/conversation_api.c')
-rw-r--r--src/conversation/conversation_api.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c
index 5dd9cf79e..8a74f0ca6 100644
--- a/src/conversation/conversation_api.c
+++ b/src/conversation/conversation_api.c
@@ -551,27 +551,27 @@ clean_up_callers (struct GNUNET_CONVERSATION_Phone *phone)
551static void 551static void
552reconnect_phone (struct GNUNET_CONVERSATION_Phone *phone) 552reconnect_phone (struct GNUNET_CONVERSATION_Phone *phone)
553{ 553{
554 GNUNET_MQ_hd_fixed_size (phone_ring,
555 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RING,
556 struct ClientPhoneRingMessage);
557 GNUNET_MQ_hd_fixed_size (phone_hangup,
558 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP,
559 struct ClientPhoneHangupMessage);
560 GNUNET_MQ_hd_fixed_size (phone_suspend,
561 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_SUSPEND,
562 struct ClientPhoneSuspendMessage);
563 GNUNET_MQ_hd_fixed_size (phone_resume,
564 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RESUME,
565 struct ClientPhoneResumeMessage);
566 GNUNET_MQ_hd_var_size (phone_audio,
567 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_AUDIO,
568 struct ClientAudioMessage);
569 struct GNUNET_MQ_MessageHandler handlers[] = { 554 struct GNUNET_MQ_MessageHandler handlers[] = {
570 make_phone_ring_handler (phone), 555 GNUNET_MQ_hd_fixed_size (phone_ring,
571 make_phone_hangup_handler (phone), 556 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RING,
572 make_phone_suspend_handler (phone), 557 struct ClientPhoneRingMessage,
573 make_phone_resume_handler (phone), 558 phone),
574 make_phone_audio_handler (phone), 559 GNUNET_MQ_hd_fixed_size (phone_hangup,
560 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP,
561 struct ClientPhoneHangupMessage,
562 phone),
563 GNUNET_MQ_hd_fixed_size (phone_suspend,
564 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_SUSPEND,
565 struct ClientPhoneSuspendMessage,
566 phone),
567 GNUNET_MQ_hd_fixed_size (phone_resume,
568 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RESUME,
569 struct ClientPhoneResumeMessage,
570 phone),
571 GNUNET_MQ_hd_var_size (phone_audio,
572 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_AUDIO,
573 struct ClientAudioMessage,
574 phone),
575 GNUNET_MQ_handler_end () 575 GNUNET_MQ_handler_end ()
576 }; 576 };
577 struct GNUNET_MQ_Envelope *e; 577 struct GNUNET_MQ_Envelope *e;