]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: add b_end() and b_to_end()
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Sep 2017 19:14:08 +0000 (21:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Sep 2017 09:27:31 +0000 (11:27 +0200)
commit26488ad358ab7c6d8cd801b3c63fa4cf87cedf8e
tree368f203fb0a29e7912b46b1d3bfbb257218e2f52
parent4a6425d37374f5f514a67fdb67454b24da64d7ef
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.
include/common/buffer.h