73 BUG_ON(q == NULL || h == NULL);
90 if (q->
len > q->dbg_maxlen)
91 q->dbg_maxlen = q->
len;
Host * HostDequeue(HostQueue *q)
remove a host from the queue
HostQueue * HostQueueInit(HostQueue *q)
void HostQueueDestroy(HostQueue *q)
Destroy a host queue.
#define HQLOCK_DESTROY(q)
#define SCLogError(err_code,...)
Macro used to log ERROR messages.
HostQueue * HostQueueNew()
uint32_t HostQueueLen(HostQueue *q)
void HostEnqueue(HostQueue *q, Host *h)
add a host to a queue