]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: counters: add shared counters helpers to get and drop shared pointers
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 6 May 2025 18:45:40 +0000 (20:45 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 5 Jun 2025 07:59:04 +0000 (09:59 +0200)
commitaa53887398982cce896956a5e0e50719c0dad06d
treeb4e8ac0c293c31f3b20f2044d9ef467655950d06
parenta0dcab5c4573437e890ca060b9a211338c3cf1c2
MINOR: counters: add shared counters helpers to get and drop shared pointers

create include/haproxy/counters.h and src/counters.c files to anticipate
for further helpers as some counters specific tasks needs to be carried
out and since counters are shared between multiple object types (ie:
listener, proxy, server..) we need generic helpers.

Add some shared counters helper which are not yet used but will be updated
in upcoming commits.
Makefile
include/haproxy/counters.h [new file with mode: 0644]
src/counters.c [new file with mode: 0644]