diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-03 13:50:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-03 13:50:35 +0000 |
commit | 653dc47fa8ab2e2f36c4ca494fcb6510cdc9d46a (patch) | |
tree | 2f2dca0370c0713e508fe188eedae1efb8d65671 /src/conversation/conversation.h | |
parent | 4954b2047093f62c866d145ece0d2304b76a428f (diff) | |
download | gnunet-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.h | 29 |
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 | */ | ||
449 | struct 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 | */ |
449 | struct ClientPhonePickupMessage | 462 | struct 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 | */ |
465 | struct ClientPhoneHangupMessage | 478 | struct ClientPhoneHangupMessage |
@@ -609,6 +622,20 @@ struct MeshPhonePickupMessage | |||
609 | 622 | ||
610 | 623 | ||
611 | /** | 624 | /** |
625 | * Mesh message for phone busy. | ||
626 | */ | ||
627 | struct 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 | */ |
614 | struct MeshAudioMessage | 641 | struct MeshAudioMessage |