]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: config: move the condition preprocessing code to its own file
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Jul 2021 13:39:28 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 Jul 2021 17:18:41 +0000 (19:18 +0200)
commit66243b4273a9ce103d0c80ceb8614ca65eedfd5e
tree70e8383c1f31d86382545d0f65d9f44440da3fb1
parentee0d7279897d94894f2e149bf02d7ea18465362c
REORG: config: move the condition preprocessing code to its own file

The .if/.else/.endif and condition evaluation code is quite dirty and
was dumped into cfgparse.c because it was easy. But it should be tidied
quite a bit as it will need to evolve.

Let's move all that to cfgcond.{c,h}.
Makefile
include/haproxy/cfgcond-t.h [new file with mode: 0644]
include/haproxy/cfgcond.h [new file with mode: 0644]
include/haproxy/cfgparse.h
src/cfgcond.c [new file with mode: 0644]
src/cfgparse.c
src/haproxy.c