]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ha-inject: Move "global" variable definition to new global.c file
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 10 Dec 2025 15:06:34 +0000 (16:06 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 10 Dec 2025 16:45:28 +0000 (17:45 +0100)
commitdecb9e04d23adb18576a62f34b4073e382f899b7
treee28969c885853266da1a5ae862c153678f63ad3b
parent00c61946578bae053e51a2b68ee51d2a6c8cfcf6
MINOR: ha-inject: Move "global" variable definition to new global.c file

Add new global.c file which is a common C file between haproxy and ha-ring.
Move <global> global struct variable definition from haproxy.c to global.c.
Add a declaration for this object to global-t.h.
Also move <stopping> from haproxy.c to global.c. Some C modules refer to
this variable. This is the case for the muxes.
Makefile
src/global.c [new file with mode: 0644]
src/haproxy.c