]> git.kaiwu.me - haproxy.git/commit
REORG: tools/intops: move the integer-specific functions from tools to intops
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 10:06:27 +0000 (11:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 11:36:58 +0000 (12:36 +0100)
commit74fc918f8e0b7ec566490a0ad25937e725708a8e
tree2a44fa9640c3de41cd4f78004df71df30a947a2e
parentb923aa9d2df98b20bc0fa610876e4fc6496f1309
REORG: tools/intops: move the integer-specific functions from tools to intops

This was already the case for their declaration in intops.h instead of
tools.h, but we were still lacking an intops.c file, so everything
remained stuffed anywhere in tools.c, difficult to find.

This moves all the functions mentioned in intops.h from tools.c to a new
intops.c file. That's roughly 450 less lines in tools.c and a slightly
better organized file where it should be easier in the future to locate
the function one needs.
Makefile
include/haproxy/intops.h
include/haproxy/tools.h
src/intops.c [new file with mode: 0644]
src/tools.c