MINOR: dumpstats: split stats_dump_sv_stats() in two parts
authorThierry Fournier <tfournier@arpalert.org>
Fri, 25 Mar 2016 07:21:21 +0000 (08:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 15:26:09 +0000 (17:26 +0200)
commit61fe6c0adbb09bd7bad41470abcb9cf563131b0a
tree796845e1b0de700ce796c89cb95df6caa79c14c9
parentc4456856b0c8679225a50bad00ffe683f0e84e4a
MINOR: dumpstats: split stats_dump_sv_stats() in two parts

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