]> git.kaiwu.me - haproxy.git/commit
REORG: stats/counters: move extra_counters to counters not stats
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Feb 2026 17:57:05 +0000 (18:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Feb 2026 07:24:03 +0000 (08:24 +0100)
commit2b463e9b1f7d480986105d0f4c3bb3397f08bf0a
tree2cfc3999e5beff3ad56ab4204fb519e44805dd5b
parent9910af6117f7365f7f7ae2bf66d2237b63e8e91b
REORG: stats/counters: move extra_counters to counters not stats

It was always difficult to find extra_counters when the rest of the
counters are now in counters-t.h. Let's move the types to counters-t.h
and the macros to counters.h. Stats include them since they're used
there. But some users could be cleaned from the stats definitions now.
include/haproxy/counters-t.h
include/haproxy/counters.h
include/haproxy/quic_conn.h
include/haproxy/stats-t.h
include/haproxy/stats.h