commit | d16b0a7b2dce5e90a11a74afa13b8d1fd5e7c5e4 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Nov 22 11:23:23 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 01 17:37:27 2018 +0100 |
tree | e5bf931e2d33cd9d12380bcd22ffb5163b5520a0 | |
parent | 24ed835129e09fc547af2b77fefbee71ef20ab5d [diff] |
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.