REORG: spoe: move spoe_encode_varint / spoe_decode_varint from spoe to common
authorThierry FOURNIER <thierry.fournier@ozon.io>
Wed, 19 Apr 2017 09:49:44 +0000 (11:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 27 Apr 2017 09:50:41 +0000 (11:50 +0200)
commit6ab2bae08499442ec22d2d43d5bfed0127d2db86
tree4b204dfce932e4f21b9271497e2b0c1691019959
parentf4128a9981de0b0fd5f5cea9e58942245eeef332
REORG: spoe: move spoe_encode_varint / spoe_decode_varint from spoe to common

These encoding functions does general stuff and can be used in
other context than spoe. This patch moves the function spoe_encode_varint
and spoe_decode_varint from spoe to common. It also remove the prefix spoe.

These functions will be used for encoding values in new binary sample fetch.
contrib/spoa_example/spoa.c
include/common/standard.h
include/proto/spoe.h
src/flt_spoe.c