]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dumpstats: split stats_dump_info_to_buffer() in two parts
authorThierry Fournier <tfournier@arpalert.org>
Fri, 25 Mar 2016 07:19:23 +0000 (08:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 15:21:37 +0000 (17:21 +0200)
commitcb2c767681d912b8f45d37e9ea91ee14bd0b6e23
tree8bb737cb01dc9cae661ae6087c29684796270cea
parent31e64ca301f06a3869fb04d105636c8816bf8085
MINOR: dumpstats: split stats_dump_info_to_buffer() in two parts

This patch splits the function stats_dump_info_to_buffer() in two parts. The
extracted part is called stats_fill_info(), 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