MINOR: global: export a way to list build options
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Jan 2024 09:56:05 +0000 (10:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Jan 2024 18:07:51 +0000 (19:07 +0100)
commit99c4da0c5fcaa0c84d74803acd484dda098ae36c
treed2fc7fc5514386ddbb541fa56edeb3ca4c14adc1
parent413dec69c56a0a3ae0c698d290c7301096013539
MINOR: global: export a way to list build options

The new function hap_get_next_build_opt() will iterate over the list of
build options. This will be used for debugging, so that the build options
can be retrieved from the CLI.

(cherry picked from commit afba58f21e7c938b793858180b3bd8d8fd6aef5d)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/global.h
src/haproxy.c