]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffers: add a few functions to write chars, strings and blocks
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Sep 2012 14:02:48 +0000 (16:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 20:26:09 +0000 (22:26 +0200)
commit8c89c2059fa4dace2e0c74cbb009c5a94d054fc1
treed069be552f05fab1e12ffa61502a585c49e0bdff
parentc39b0d17f2846c99af0b6f8d42be08afee0134dc
MINOR: buffers: add a few functions to write chars, strings and blocks

bo_put{chr,blk,str,chk} are used to write data on the output of a buffer.
Output is truncated if the buffer is not large enough.
include/common/buffer.h