]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ist: add new function ist_find_range() to find a character range
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 13:23:19 +0000 (15:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 17:10:54 +0000 (19:10 +0200)
commit197668de975e495f0c0f0e4ff51b96203fa9842d
tree93f8ce798ee50483cd38393fbf68e33d39a22ae2
parentdb97bb42d9b435846809a028dce077eea1621b40
MINOR: ist: add new function ist_find_range() to find a character range

This looks up the character range <min>..<max> in the input string and
returns a pointer to the first one found. It's essentially the equivalent
of ist_find_ctl() in that it searches by 32 or 64 bits at once, but deals
with a range.
include/import/ist.h