]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: adapt list_append_word to use cfgfile
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 7 Aug 2024 16:20:43 +0000 (18:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Aug 2024 16:41:41 +0000 (18:41 +0200)
commitbafb0ce272119b6ef3f973f2d06c537a0889eb2e
tree573d9f8a0afeac2f97818493d345497c7bf43e4a
parent39f2a1962097452d200e0cfea374815d21f7c512
MINOR: startup: adapt list_append_word to use cfgfile

list_append_word() helper was used before only to chain configuration file names
in a list. As now we start to use cfgfile structure which represents entire file
in memory and its metadata, let's adapt this helper to use this structure and
let's rename it to list_append_cfgfile().

Adapt functions, which process configuration files and directories to use
cfgfile structure and list_append_cfgfile() instead of wordlist.
include/haproxy/cfgparse.h
src/cfgparse.c
src/haproxy.c