commit | 09138ecc49ceafa51194ea9fab1ceccfbb7249c3 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jun 28 19:17:38 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 19 16:23:39 2018 +0200 |
tree | bf5dc9e7e9035289922ee1f6357697db1424231f | |
parent | bbc68df330ba9760607ba31d46bf45b43190fad5 [diff] |
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.