MINOR: buffer: add br_count() to return the number of allocated bufs
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Mar 2023 15:46:56 +0000 (16:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Mar 2023 17:45:46 +0000 (18:45 +0100)
commite5a26eb2def42f07aad5bde4cd27e9fdd441f207
tree4ee8c00ff9105f93aa006677933569b6155544b1
parent3fb2c6d5b40bf64d7e4f3fef88739b757555fbff
MINOR: buffer: add br_count() to return the number of allocated bufs

We have no way to know how many buffers are currently allocated in a
buffer ring. Let's add br_count() for this.
include/haproxy/buf.h