]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: htx: Add function to iterate on an HTX message using HTX blocks
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 22 Nov 2018 10:23:23 +0000 (11:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commitd16b0a7b2dce5e90a11a74afa13b8d1fd5e7c5e4
treee5bf931e2d33cd9d12380bcd22ffb5163b5520a0
parent24ed835129e09fc547af2b77fefbee71ef20ab5d
MINOR: htx: Add function to iterate on an HTX message using HTX blocks

the functions htx_get_next() and htx_get_prev() are used to iterate on an HTX
message using blocks position. With htx_get_next_blk() and htx_get_prev_blk(),
it is possible to do the same, but with HTX blocks. Of course, internally, we
rely on position's versions to do so. But it is handy for callers to not take
care of the blocks position.
include/proto/htx.h