CLEANUP: sample: rename sample_conv_var2smp() to *_sint
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 13:19:05 +0000 (15:19 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Oct 2021 13:55:44 +0000 (15:55 +0200)
commit04a30d455d57e7e2dee4dd2efced078d1933f115
tree1b5f2afb7a170eb12d4e2a40c13fc633455c1ed1
parent183780a60e3f3197260d3c9143ffaa09b1df2c39
CLEANUP: sample: rename sample_conv_var2smp() to *_sint

This one only handles integers, contrary to its sibling with the suffix
_str that only handles strings. Let's rename it and uninline it since it
may well be used from outside.

(cherry picked from commit d9be59952975e679f3305e32620ae3572a6a952c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 9cfb71fb345c1c95377c0f2e72aff2a80aa10fc2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/sample.h
src/sample.c