]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ist: Add `istclear(struct ist*)`
authorTim Duesterhus <tim@bastelstu.be>
Wed, 14 Apr 2021 17:14:30 +0000 (19:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Apr 2021 17:49:33 +0000 (19:49 +0200)
commit763342646fb9fe7531e4418c5b4035d7b560a46d
tree6b35a67a3aaa28c5af4e6499dd9b352b176a4252
parent848216f10877155f94209b5ae611c2652dcd19f7
MINOR: ist: Add `istclear(struct ist*)`

istclear allows one to easily reset an ist to zero-size, while preserving the
previous size, indicating the length of the underlying buffer.
include/import/ist.h