commit | 26488ad358ab7c6d8cd801b3c63fa4cf87cedf8e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 19 21:14:08 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 20 11:27:31 2017 +0200 |
tree | 368f203fb0a29e7912b46b1d3bfbb257218e2f52 | |
parent | 4a6425d37374f5f514a67fdb67454b24da64d7ef [diff] |
MINOR: buffer: add b_end() and b_to_end() These ones return respectively the pointer to the end of the buffer and the distance between b->p and the end. These will simplify a bit some new code needed to parse directly from a wrapping buffer.