MINOR: ring: add ring_dup() to copy a ring into another one
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Feb 2024 18:52:00 +0000 (19:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commitdc4836c15c564534eedd651cdb5c3c54044f071f
tree167d58ed0a680b0e8d34207065c4026e9e03607b
parenta185d3d90d1d46258e4322b03bc8594bbc93e0d0
MINOR: ring: add ring_dup() to copy a ring into another one

This will mostly be used during reallocation and boot-time duplicates,
the purpose is simply to save the caller from having to know the details
of the internal representation.
include/haproxy/ring.h