int myqtt_async_queue_ref_count ( MyQttAsyncQueue queue)

Returns current reference counting for the provided queue.

Parameters
queueThe async queue to get reference counting from.
Returns
The reference counting or -1 if it fails.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().