]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] config: split parser and checker in two functions
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Jun 2009 13:48:36 +0000 (15:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Jul 2009 18:17:07 +0000 (20:17 +0200)
commitb2bec3ad3d54459a5429e19179fd789a85b73bcf
treebaade210343b3ba2e77b62bfe2515e213bc8ffc4
parente7345f355dc8eb10f1e6b5e180093685c561e118
[MEDIUM] config: split parser and checker in two functions

This is a first step towards support of multiple configuration files.
Now readcfgfile() only reads a file in memory and performs very minimal
parsing. The checks are performed afterwards.
(cherry picked from commit 915e1ebe63b2137fa1634ebc9553f5b73ae2fd75)
include/common/cfgparse.h
include/proto/proxy.h
src/cfgparse.c
src/haproxy.c
src/proxy.c