mail_queue_active_queue_for_binding — Returns the active queue for a binding
Skiplist * **mail_queue_active_queue_for_binding** ( | mq, | |
| | binding, | |
| | create
); | |
mail_queue * <var class="pdparam">mq</var>;
int <var class="pdparam">binding</var>;
int <var class="pdparam">create</var>;
Returns the active queue for a given binding.
A pointer to a mail_queue struct. For documentation of this data structure see “mail_queue”.
The binding slot.
An integer, typically 0 or 1. If you intend to insert a new message into the queue, then pass
1to this parameter. Alternatively, pass this parameter
0if you are simply searching for a message in the queue.
This function returns the address of the active queue for the binding (or NULL if it is empty). It returns a pointer to a Skiplist. For documentation of this data structure see “Skiplist”
It is only legal to call this function in the