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

This patch splits the function stats_dump_be_stats() in two parts. The
part is called stats_fill_be_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