struct GNUNET_MessageHeader header;
/**
- * Always zero.
+ * CID, internal caller ID to identify which active call we are
+ * talking about.
*/
- uint32_t reserved GNUNET_PACKED;
+ uint32_t cid GNUNET_PACKED;
/**
* Who is calling us?
/**
- * Service -> Client message for phone is busy.
+ * Service <-> Client message for phone was suspended.
*/
-struct ClientPhoneBusyMessage
+struct ClientPhoneSuspendMessage
{
/**
- * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_BUSY
+ * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_SUSPEND
*/
struct GNUNET_MessageHeader header;
+ /**
+ * CID, internal caller ID to identify which active call we are
+ * talking about.
+ */
+ uint32_t cid GNUNET_PACKED;
+
+};
+
+
+/**
+ * Service <-> Client message for phone was resumed.
+ */
+struct ClientPhoneResumeMessage
+{
+ /**
+ * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RESUME
+ */
+ struct GNUNET_MessageHeader header;
+
+ /**
+ * CID, internal caller ID to identify which active call we are
+ * talking about.
+ */
+ uint32_t cid GNUNET_PACKED;
+
};
*/
struct GNUNET_MessageHeader header;
- /* followed by variable length 0-terminated string with meta data */
+ /**
+ * CID, internal caller ID to identify which active call we are
+ * talking about.
+ */
+ uint32_t cid GNUNET_PACKED;
};
*/
struct GNUNET_MessageHeader header;
- /* followed by variable length 0-terminated string with meta data */
+ /**
+ * CID, internal caller ID to identify which active call we are
+ * talking about.
+ */
+ uint32_t cid GNUNET_PACKED;
};
*/
struct GNUNET_MessageHeader header;
+ /**
+ * CID, internal caller ID to identify which active call we are
+ * sending data to.
+ */
+ uint32_t cid GNUNET_PACKED;
+
/* followed by audio data */
};
*/
struct GNUNET_MessageHeader header;
- /* followed by variable length 0-terminated string with meta data */
-
};
*/
struct GNUNET_MessageHeader header;
- /* followed by variable-size 0-terminated reason string */
};
*/
struct GNUNET_MessageHeader header;
- /* followed by variable-size 0-terminated metadata string */
};
/**
- * Mesh message for phone busy.
+ * Mesh message for phone suspended.
+ */
+struct MeshPhoneSuspendMessage
+{
+ /**
+ * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_SUSPEND
+ */
+ struct GNUNET_MessageHeader header;
+
+};
+
+
+/**
+ * Mesh message for phone resumed.
*/
-struct MeshPhoneBusyMessage
+struct MeshPhoneResumeMessage
{
/**
- * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_BUSY
+ * Type is: #GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_RESUME
*/
struct GNUNET_MessageHeader header;