commit | f48919aafb3b1bb9120dce4d16c269dde530176f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Dec 22 19:19:50 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 24 11:45:00 2018 +0100 |
tree | c4372a114bbce61b136ccb2bbc44db6e26f83fc3 | |
parent | 96a10c24cf57bf8514a9665d63b2133a20ec664d [diff] |
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.