]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: 51d: move global settings out of the global section
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:18:44 +0000 (21:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:30:54 +0000 (21:30 +0100)
commitb7a671477fcef9d53baea026af1b198f60106d8e
tree1085dc6f8dcb810c4de124b9431ec77a8b4e6746
parent350c1c6886f102100e86731840ae249bcdf49687
CLEANUP: 51d: move global settings out of the global section

We replaced global._51degrees with global_51degrees since there's no need
to store all this into the global section. This removes the last #ifdefs,
and now the code is 100% self-contained in 51d.c. The file 51d.h was now
removed because it was only used to load 51Degrees.h, which is more easily
loaded from 51d.c. It provides a good example of how to integrate code in
the future without touching the core parts.
include/import/51d.h [deleted file]
include/types/global.h
src/51d.c
src/haproxy.c