]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buf: add b_add_ofs() to add a count to an absolute position
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Feb 2023 08:52:42 +0000 (09:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commit15e47b6a5970ad90f9e4ae53f157863aac0fa23a
tree67bdb4350d7a64fb1c98569f0488cd7d983dff32
parent8f3edf2ac6b6a2a86be385cae070327693b277e3
MINOR: buf: add b_add_ofs() to add a count to an absolute position

This function is used to compute a new absolute buffer offset by adding a
length to an existing valid offset. It will check for wrapping.
include/haproxy/buf.h