Go to the documentation of this file.
46 SCLogError(
"Fatal error encountered in HostQueueNew. Exiting...");
72 BUG_ON(q == NULL || h == NULL);
89 if (q->
len > q->dbg_maxlen)
90 q->dbg_maxlen = q->
len;
#define HQLOCK_DESTROY(q)
void HostQueueDestroy(HostQueue *q)
Destroy a host queue.
HostQueue * HostQueueNew(void)
uint32_t HostQueueLen(HostQueue *q)
#define SCLogError(...)
Macro used to log ERROR messages.
Host * HostDequeue(HostQueue *q)
remove a host from the queue
void HostEnqueue(HostQueue *q, Host *h)
add a host to a queue
HostQueue * HostQueueInit(HostQueue *q)