]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: include: move checks.h to haproxy/check{,-t}.h
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Jun 2020 16:21:56 +0000 (18:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:58 +0000 (10:18 +0200)
commit4aa573da6fa6eedb486dce129ebd1805e1aa3912
tree7266a53926617ee1e221e82ab9f21c801d810e72
parent7ea393d95eb2407ee77acff26801ca5e1193bc91
REORG: include: move checks.h to haproxy/check{,-t}.h

All includes that were not absolutely necessary were removed because
checks.h happens to very often be part of dependency loops. A warning
was added about this in check-t.h. The fields, enums and structs were
a bit tidied because it's particularly tedious to find anything there.
It would make sense to split this in two or more files (at least
extract tcp-checks).

The file was renamed to the singular because it was one of the rare
exceptions to have an "s" appended to its name compared to the struct
name.
18 files changed:
Makefile
include/haproxy/check-t.h [moved from include/types/checks.h with 95% similarity]
include/haproxy/check.h [moved from include/proto/checks.h with 74% similarity]
include/haproxy/obj_type.h
include/proto/http_fetch.h
include/types/proxy.h
include/types/server.h
src/backend.c
src/cfgparse-listen.c
src/cfgparse.c
src/check.c [moved from src/checks.c with 99% similarity]
src/cli.c
src/dns.c
src/http_ana.c
src/server.c
src/stats.c
src/stream.c
src/vars.c