MINOR: buffer: Introduce b_sub(), b_add(), and bo_add()

Instead of doing b->i -= directly, introduce b_sub(), that does the job, to
make it easier to switch to the future API.

Also add b_add(), that increases b->i, instead of using it directly, and
bo_add(), that does increase b->o.
This commit is contained in:
Olivier Houchard 2018-06-28 19:17:38 +02:00 committed by Willy Tarreau
parent bbc68df330
commit 09138ecc49