]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/wait: also pass up to 4 arguments to the external conditions
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Feb 2024 19:09:59 +0000 (20:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Feb 2024 19:38:08 +0000 (20:38 +0100)
commit66989ff4263a61948b2c240ec952b524e6f5890a
tree3777b3f94192d59032c2f1833652a2f42d7e8422
parent2673f8be82b7daa88b5420aa58fefd70e309e281
MINOR: cli/wait: also pass up to 4 arguments to the external conditions

Conditions will need to have context, arguments etc from the command line.
Since these will vary with time (otherwise we wouldn't wait), let's just
pass them as text (possibly pre-processed). We're starting with 4 strings
that are expected to be allocated by strdup() and are always sent to free()
upon release.
include/haproxy/cli-t.h
src/cli.c