]> git.kaiwu.me - haproxy.git/commit
REORG: tools/intops: move the int-to-str conversion functions to intops as well
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 10:25:29 +0000 (11:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 11:36:58 +0000 (12:36 +0100)
commite2b5b31fd4f5846f5e02da33eecf2e7bb240d01d
tree7525f0ef43c4aa7dc0461367ee4eabaf7c18464b
parent74fc918f8e0b7ec566490a0ad25937e725708a8e
REORG: tools/intops: move the int-to-str conversion functions to intops as well

These functions come with statically allocated thread-local arrays that
are used to store the output values during conversions. But they're used
just like the str-to-int ones, so let's place them here. This comes with
the creation of intops-t.h for a few macro definitions used to define the
array sizes.
include/haproxy/intops-t.h [new file with mode: 0644]
include/haproxy/intops.h
include/haproxy/tools-t.h
include/haproxy/tools.h
src/intops.c
src/tools.c