void myqtt_async_queue_foreach ( MyQttAsyncQueue queue,
MyQttAsyncQueueForeach  foreach_func,
axlPointer  user_data 
)

Allows to perform a foreach operation on the provided queue, applying the provided function over all items stored.

Parameters
queueThe queue that will receive the foreach operation.
foreach_funcThe function to call for each item found.
user_dataUser defined pointer to be passed to the function.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().