Add getters for the raw encoding in IMV/IMC messages

This commit is contained in:
Martin Willi
2012-11-30 15:49:07 +01:00
parent 2a433075e2
commit a6722e5653
4 changed files with 38 additions and 0 deletions
+7
View File
@@ -77,6 +77,13 @@ struct imc_msg_t {
*/
enumerator_t* (*create_attribute_enumerator)(imc_msg_t *this);
/**
* Get the encoding of the IMC message.
*
* @return message encoding, internal data
*/
chunk_t (*get_encoding)(imc_msg_t *this);
/**
* Destroys a imc_msg_t object.
*/