]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: counters: add common struct and flags to {fe,be}_counters_shared
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 9 May 2025 08:42:49 +0000 (10:42 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 5 Jun 2025 07:59:10 +0000 (09:59 +0200)
commitc10ce1c85b3c77cf907e4e95c743208fd15f50ca
tree62f34670e5c2cafedade154db7d7e0c4a01b2ed9
parentaa53887398982cce896956a5e0e50719c0dad06d
MINOR: counters: add common struct and flags to {fe,be}_counters_shared

fe_counters_shared and be_counters_shared may share some common members
since they are quite similar, so we add a common struct part shared
between the two. struct counters_shared is added for convenience as
a generic pointer to manipulate common members from fe or be shared
counters pointer.

Also, the first common member is added: shared fe and be counters now
have a flags member.
include/haproxy/counters-t.h