]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: trace: add a definition of typed arguments to trace()
authorWilly Tarreau <w@1wt.eu>
Tue, 20 Aug 2019 16:42:52 +0000 (18:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Aug 2019 18:21:00 +0000 (20:21 +0200)
commit17a51c64b55055fc0222a765976e66013bd5f875
tree7cc78ac36c2f1cdbfdcb05fcb8127d05760e5503
parent4ab242136d9111167a3a188728ac7ad9f8753a0b
MINOR: trace: add a definition of typed arguments to trace()

With a few macros it's possible for a trace source to commit to only
using a certain type for a given argument (or set of). This will be
particularly useful to let the trace subsystem retrieve some precious
information such as a connection, session, listener, source address or
so, and enable/disable filtering and/or locking.
include/types/trace.h