trq_next_msg()

trq_next_msg()#

Retrieves the next message in the queue iteration after the given q_msg.

Prototype

q_msg trq_next_msg(
    q_msg msg
);

Parameters

Key

Type

Description

msg

q_msg

The current message in the queue iteration.


Return Value

Returns the next q_msg in the queue iteration, or NULL if there are no more messages.

Notes

Use trq_first_msg() to obtain the first message before calling trq_next_msg() in a loop.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples