REORG: stick-table: move composite address functions to stick_table.h
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 12:12:47 +0000 (14:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 18:24:09 +0000 (20:24 +0200)
commit6ec1f25bc5861f45f3295628912c675ecdb70e30
tree844d0b0c8c9ebfedb3a34033974fa45f0c542c22
parent3b63ca20f4c37e6ecf527c5fc400e4dcebe6df4c
REORG: stick-table: move composite address functions to stick_table.h

These caddr_* functions were once placed into tools.h in the hope they
would be useful but nobody knows they exist. They could deserve being
moved to their own file with other pointer manipulation functions maybe,
but for now they're the only reason left for stick_table.h to include
tools.h, so let's move them directly there since it's its only user.
This allows to remove tools.h from stick_table.h and slightly reduce
the overall build time.
include/haproxy/stick_table.h
include/haproxy/tools.h