]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffers: add a new b_move() function
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Dec 2018 18:19:50 +0000 (19:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Dec 2018 10:45:00 +0000 (11:45 +0100)
commitf48919aafb3b1bb9120dce4d16c269dde530176f
treec4372a114bbce61b136ccb2bbc44db6e26f83fc3
parent96a10c24cf57bf8514a9665d63b2133a20ec664d
MINOR: buffers: add a new b_move() function

This function will be used to move parts of a buffer to another place
in the same buffer, even if the parts overlap. In order to keep things
under reasonable control, it only uses a length and absolute offsets
for the source and destination, and doesn't consider head nor data.
doc/internals/buffer-api.txt
include/common/buf.h