aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/conversation.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-03 13:50:35 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-03 13:50:35 +0000
commit653dc47fa8ab2e2f36c4ca494fcb6510cdc9d46a (patch)
tree2f2dca0370c0713e508fe188eedae1efb8d65671 /src/conversation/conversation.h
parent4954b2047093f62c866d145ece0d2304b76a428f (diff)
downloadgnunet-653dc47fa8ab2e2f36c4ca494fcb6510cdc9d46a.tar.gz
gnunet-653dc47fa8ab2e2f36c4ca494fcb6510cdc9d46a.zip
-finishing first round of conversation phone API implementation
Diffstat (limited to 'src/conversation/conversation.h')
-rw-r--r--src/conversation/conversation.h29
1 files changed, 28 insertions, 1 deletions
diff --git a/src/conversation/conversation.h b/src/conversation/conversation.h
index 73052dfcf..ff4795ef8 100644
--- a/src/conversation/conversation.h
+++ b/src/conversation/conversation.h
@@ -444,6 +444,19 @@ struct ClientPhoneRingMessage
444 444
445 445
446/** 446/**
447 * Service -> Client message for phone is busy.
448 */
449struct ClientPhoneBusyMessage
450{
451 /**
452 * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_BUSY
453 */
454 struct GNUNET_MessageHeader header;
455
456};
457
458
459/**
447 * Client -> Service pick up phone that is ringing. 460 * Client -> Service pick up phone that is ringing.
448 */ 461 */
449struct ClientPhonePickupMessage 462struct ClientPhonePickupMessage
@@ -459,7 +472,7 @@ struct ClientPhonePickupMessage
459 472
460 473
461/** 474/**
462 * Client -> Service hang up phone that may or may not be ringing. 475 * Client <-> Service hang up phone that may or may not be ringing.
463 * Also sent in response to a (failed) `struct ClientCallMessage`. 476 * Also sent in response to a (failed) `struct ClientCallMessage`.
464 */ 477 */
465struct ClientPhoneHangupMessage 478struct ClientPhoneHangupMessage
@@ -609,6 +622,20 @@ struct MeshPhonePickupMessage
609 622
610 623
611/** 624/**
625 * Mesh message for phone busy.
626 */
627struct MeshPhoneBusyMessage
628{
629 /**
630 * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_BUSY
631 */
632 struct GNUNET_MessageHeader header;
633
634 /* followed by variable-size 0-terminated metadata string??? */
635};
636
637
638/**
612 * Mesh message to transmit the audio. 639 * Mesh message to transmit the audio.
613 */ 640 */
614struct MeshAudioMessage 641struct MeshAudioMessage