(_iter)->state == BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_LAST_SEEKING_RETURNED_ERROR, \
"Message iterator is in the wrong state: %!+i", _iter)
(_iter)->state == BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_LAST_SEEKING_RETURNED_ERROR, \
"Message iterator is in the wrong state: %!+i", _iter)
struct bt_self_component_port_input_message_iterator *iterator,
enum bt_self_component_port_input_message_iterator_state state)
{
struct bt_self_component_port_input_message_iterator *iterator,
enum bt_self_component_port_input_message_iterator_state state)
{
/*
* There is no way that this iterator could have been finalized
* during its "next" method, as the only way to do this is to
/*
* There is no way that this iterator could have been finalized
* during its "next" method, as the only way to do this is to
struct bt_self_component_port_input_message_iterator *iterator,
enum bt_message_iterator_status status)
{
struct bt_self_component_port_input_message_iterator *iterator,
enum bt_message_iterator_status status)
{
enum bt_message_iterator_status
bt_self_component_port_input_message_iterator_seek_beginning(
struct bt_self_component_port_input_message_iterator *iterator)
enum bt_message_iterator_status
bt_self_component_port_input_message_iterator_seek_beginning(
struct bt_self_component_port_input_message_iterator *iterator)
BT_LOGD("User method returned: status=%s",
bt_message_iterator_status_string(status));
BT_LOGD("User method returned: status=%s",
bt_message_iterator_status_string(status));
/*
* The user's "next" method must not do any action which
* would change the iterator's state.
*/
BT_ASSERT(iterator->state ==
BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_ACTIVE);
/*
* The user's "next" method must not do any action which
* would change the iterator's state.
*/
BT_ASSERT(iterator->state ==
BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_ACTIVE);