]> git.ipfire.org Git - thirdparty/suricata.git/commit
queue.h: wrap the system sys/queue.h 6455/head
authorJason Ish <jason.ish@oisf.net>
Wed, 6 Oct 2021 16:53:46 +0000 (10:53 -0600)
committerJason Ish <jason.ish@oisf.net>
Wed, 6 Oct 2021 21:39:07 +0000 (15:39 -0600)
commit75bc9d9dd8b4154a665892c7f3396df95d36c16b
treee3d0f17583e4af1acb8208979b716ae7ad75828f
parent6fadb97d5ded5805745bca02bfb962de975ec122
queue.h: wrap the system sys/queue.h

Instead of using local implementations for the queue.h macro,
wrap the system provided queue.h and then adding missing
features as needed.

The idea is that Suricata when integrated with another library
that includes sys/queue.h can look at the same source of truth
for these macros.

But not all operating systems include a queue.h with the same
features, and some don't include it at all, like Windows. So
on Windows this will be a full implementation of all the queue.h
features Suricata needs.
configure.ac
src/queue.h