MINOR: ist: add an iststop() function
authorJerome Magnin <jmagnin@haproxy.com>
Fri, 21 Feb 2020 09:33:12 +0000 (10:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Feb 2020 09:52:20 +0000 (10:52 +0100)
commit48517d84c9976adeb71f0517ed02a79ad8ea445f
tree28b56bfd93a2c438e171ee520ccd596fcc00abaa
parentce757fa24f47852ccf0308193e546b585445f7e3
MINOR: ist: add an iststop() function

Add a function that finds a character in an ist and returns an
updated ist with the length of the portion of the original string
that doesn't contain the char.

Might be backported to 2.1

(cherry picked from commit 9dde0b2d31dd0e588a6fcd34ca8b6dd6cee73e3d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/common/ist.h