MINOR: applet: Add flags on the appctx and stop abusing its state
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Jan 2024 08:04:08 +0000 (09:04 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Feb 2024 14:03:34 +0000 (15:03 +0100)
commite8655546b7f48479bbf6801a76ae06d22c1d5ec5
treea8c96b2effa15d7b5a2cc038a7012b89f028223b
parentc0527261cf7ec92f7222b2a679f4219f0d410e32
MINOR: applet: Add flags on the appctx and stop abusing its state

Till now, we've extended the appctx state to add some flags. However, the
field name is misleading. So a bitfield was added to handle real flags. And
helper functions to manipulate this bitfield were added.
include/haproxy/applet-t.h
include/haproxy/applet.h
src/applet.c