]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: buf: Add b_getline() and b_getdelim() functions
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 6 Feb 2024 06:57:51 +0000 (07:57 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Mar 2024 16:28:20 +0000 (17:28 +0100)
commit1380b972855cae7307041c81518034f1ba1ba9f2
treec82397632f3fe7f29953e8e920bbefb36619cf53
parent2e6733eb45b1c5ef9d6d34767a1553504348b2e8
MEDIUM: buf: Add b_getline() and b_getdelim() functions

These functions are very similar to co_getline() and co_getdelim(). The
first one retrieves the longest part of the buffer that is composed
exclusively of characters not in the a delimiter set. The second one stops
on LF only and thus returns a line.
include/haproxy/buf.h