REORG: stats: extract proxies dump loop in a function
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Oct 2020 16:32:04 +0000 (18:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Oct 2020 08:54:35 +0000 (10:54 +0200)
commit98b81cb393971c216b86499b11b98781be28ad90
tree48ad23094386803c2b5c096f94834a665b65bb6d
parentf34017bb74559bc5e87e34db78210a8324a580bb
REORG: stats: extract proxies dump loop in a function

Create a dedicated function to loop on proxies and dump them. This will
be clearer when other object will be dump as well.

This patch is needed to extend stat support to components other than
proxies objects.
src/stats.c