MINOR: ring: add ring_size() to return the ring's size
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Feb 2024 17:53:40 +0000 (18:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commita185d3d90d1d46258e4322b03bc8594bbc93e0d0
tree83f74c2c9dbd7f9b679dd5826ca821f7d07af7de
parent4c41fcd0dacd60a9c225378e147f204c7f79f815
MINOR: ring: add ring_size() to return the ring's size

This is just to ease conversion so that callers stop accessing the ring's
buffer.
include/haproxy/ring.h