]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: cfgparse: extract curproxy as a global variable
authorPatrick Hemmer <patrick.hemmer@gmail.com>
Thu, 27 Jul 2023 15:09:14 +0000 (11:09 -0400)
committerWilly Tarreau <w@1wt.eu>
Tue, 1 Aug 2023 08:48:28 +0000 (10:48 +0200)
commit00e00fb424f5b4c363587d1a43f45812aef80ca8
treeef5522b7fcdaaa506d7115ef7a3bdc5228a78838
parent997a31dbdfe298347e6a0504e003c9f383033c57
REORG: cfgparse: extract curproxy as a global variable

This extracts curproxy from cfg_parse_listen so that it can be referenced by
keywords that need the context of the proxy they are being used within.
include/haproxy/cfgparse.h
include/haproxy/timeshift.h [new file with mode: 0644]
src/cfgparse-listen.c
src/cfgparse.c