]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua_fcn: add Patref:purge() method
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 21 Nov 2024 15:46:26 +0000 (16:46 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 29 Nov 2024 06:23:20 +0000 (07:23 +0100)
commitfda5ca3472a91afb7169339700936dc982bd21f9
treedf19ad60385354f9f3123bc427c475e0dc6d20a7
parentfe394598c5d690897b5e6595d289fe62499a7fa9
MINOR: hlua_fcn: add Patref:purge() method

It is a special Lua Patref method: it bypasses the commit/prepare logic
and purges the whole pattern reference items pointed to by Patref Lua
object (all versions, not just the current one). It doesn't have a cli
equivalent: it leverages pat_ref_purge_range().
doc/lua-api/index.rst
src/hlua_fcn.c