Support removal of payloads from messages

This commit is contained in:
Martin Willi
2011-01-05 16:45:41 +01:00
parent 363ec8986c
commit e6c6a4d304
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -286,6 +286,13 @@ struct message_t {
*/
enumerator_t * (*create_payload_enumerator) (message_t *this);
/**
* Remove the payload at the current enumerator position.
*
* @param enumerator enumerator created by create_payload_enumerator()
*/
void (*remove_payload_at)(message_t *this, enumerator_t *enumerator);
/**
* Find a payload of a specific type.
*