MINOR: sample: add the hex2i converter
authorDragan Dosen <ddosen@haproxy.com>
Tue, 24 Oct 2017 07:27:34 +0000 (09:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 02:46:08 +0000 (04:46 +0200)
commit3f957b2f83b876f5f5282c2affc3bebc5aaa54c2
treef57eeb9c2c44f90ad66dd3700c57d7d354ce7ce8
parent6e5a9ca94830ba40ac97a43e6232114601e1ae6f
MINOR: sample: add the hex2i converter

Converts a hex string containing two hex digits per input byte to an
integer. If the input value can not be converted, then zero is returned.
doc/configuration.txt
src/sample.c