]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: provide ctx for dumping functions
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 15 Dec 2022 11:10:03 +0000 (12:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Dec 2022 15:53:49 +0000 (16:53 +0100)
commite76a027b0b49ae47506e31d5dd4e7909d10c557e
tree5ebf83921ffe3752deb0b3ff96dc97d00f2d826e
parent4cf0d3f1e8e2ffc6901dc36644efa31b67d172f1
MINOR: stats: provide ctx for dumping functions

This is a minor refactor to allow stats_dump_info_* and stats_dump_fields_*
functions to directly access stat ctx pointer instead of explicitly
passing stat ctx struct members to them.

This will allow dumping functions to benefit from upcoming ctx updates.
src/stats.c