]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: keep up-to-date current file/line/section in the global struct
authorWilly Tarreau <w@1wt.eu>
Thu, 6 May 2021 08:04:45 +0000 (10:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 May 2021 08:35:03 +0000 (10:35 +0200)
commit5150805a5cac25213a8575a8de19c8f57031e168
treef4ab3c3c7f83fc6042720e54a20128d9bdb8e6f0
parent6a2110c7175a031ff60b9b9769e80c3180ce0f9b
MINOR: config: keep up-to-date current file/line/section in the global struct

Let's add a few fields to the global struct to store information about
the current file being processed, the current line number and the current
section. This will be used to retrieve them using special variables.
include/haproxy/global-t.h
src/cfgparse.c