]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: haproxy: add a registration for build options
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 17:43:10 +0000 (18:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:30:54 +0000 (21:30 +0100)
commitcdb737e5a2ac74f481f380cb1bcbb9fe6d733538
tree542e051c31d1267d618a892e9355c5a3983d2ca9
parent1b5af7cd4242066b4a04cbbb0280ec2582e16daa
MINOR: haproxy: add a registration for build options

Many extensions now report some build options to ease debugging, but
this is now being done at the expense of code maintainability. Let's
provide a registration function to do this so that we can start to
remove most of the #ifdefs from haproxy.c (18 currently just for a
single function).
include/types/global.h
src/haproxy.c