]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: Add two sample converters for protocol buffers.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 26 Feb 2019 13:09:08 +0000 (14:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Feb 2019 15:27:05 +0000 (16:27 +0100)
commitfd95c62f1b07ee0a553458a83c201b7094d7aa6b
tree3d861903d69904081b7be950f2307924ebaf5c69
parent1fceee8316ba2a30cded3f42f958be83f7bf4c94
MINOR: sample: Add two sample converters for protocol buffers.

Add "varint" to convert all the protocol buffers binary varints excepted the signed
ones ("sint32" and "sint64") to an integer. The binary signed varints may be
converted to an integer with "svarint" converter implemented by this patch.
These two new converters do not take any argument.
src/sample.c