]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: errors: implement parsing context type
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 May 2021 13:45:28 +0000 (15:45 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 7 Jun 2021 14:58:16 +0000 (16:58 +0200)
commit6af81f80fb12ca5306f78f84faf8a8855ea2ba7b
tree26dea5e8e29ab7001bb526513ae6c5167afbbc2c
parent0a1cdccebdd79901b98ce1b389c13b2fb27c0932
MEDIUM: errors: implement parsing context type

Create a parsing_ctx structure. This type is used to store information
about the current file/line parsed. A global context is created and
can be manipulated when haproxy is in STARTING mode. When starting is
over, the context is resetted and should not be accessed anymore.
include/haproxy/errors.h
src/errors.c
src/haproxy.c