]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tools: add two macros MID_RANGE and MAX_RANGE
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Mar 2011 13:55:43 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Mar 2011 13:55:43 +0000 (15:55 +0200)
commitd3db94399f762d0aae911e2fe16f1cf2c37f6a9b
treea9c4a848069b37718f1f40ea04df132a3d459484
parent26f0f17200989fab8563eadd01fbe9e85e5ec348
[MINOR] tools: add two macros MID_RANGE and MAX_RANGE

Those will be used later, they return the largest and middle integer
possible for a given variable or type.
include/common/tools.h