MINOR: buffer: add bo_getblk() and bo_getblk_nc()
authorWilly Tarreau <w@1wt.eu>
Thu, 19 Oct 2017 12:56:49 +0000 (14:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Oct 2017 13:01:08 +0000 (15:01 +0200)
commite0e734ccc5322e844eb9d3e2bc82dd6479c803f3
treedf2ae06cb7e48e5f67059df78994a97bb92e2cfa
parent06d80a9a9c49b3b17f343a7131b4cf12ef7c6636
MINOR: buffer: add bo_getblk() and bo_getblk_nc()

These functions respectively extract a block from an output buffer by
copying it or by just passing pointers and lengths for zero copy operation.
include/common/buffer.h