CLEANUP: checks: make use of the post-init registration to start checks
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 19:04:48 +0000 (20:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:30:54 +0000 (21:30 +0100)
commit865c5148e6dbb8fc228a4b7e438f2fe5e3da00f3
tree4d3976aef4a02545ff7144cc3c5149e2b20584c6
parente694573fa03480da5312313b9ce8a402ee5762e8
CLEANUP: checks: make use of the post-init registration to start checks

Instead of calling the checks directly from the init code, we now
register the start_checks() function to be run at this point. This
also allows to unexport the check init function and to remove one
include from haproxy.c.
include/proto/checks.h
src/checks.c
src/haproxy.c