]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dumpstats: split stats_dump_fe_stats() in two parts
authorThierry Fournier <tfournier@arpalert.org>
Fri, 25 Mar 2016 07:20:11 +0000 (08:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 15:21:59 +0000 (17:21 +0200)
commit23d2d64185988449d23c15af360b6fc8ea39f36b
tree100e419d008e3c6c6bfe70adcf0fa65584eac4f1
parentcb2c767681d912b8f45d37e9ea91ee14bd0b6e23
MINOR: dumpstats: split stats_dump_fe_stats() in two parts

This patch splits the function stats_dump_fe_stats() in two parts. The
extracted part is called stats_fill_fe_stats(), and just fill the stats buffer.
This split allows the usage of preformated stats in other parts of HAProxy
like the Lua.
include/proto/dumpstats.h
src/dumpstats.c