]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: add pat_ref_gen_set() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 20 Nov 2024 16:30:39 +0000 (17:30 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 26 Nov 2024 15:12:11 +0000 (16:12 +0100)
commitc9d6af3c6dce7bbcdf9aa279ef72d65f34252f74
tree1226ea5bd784e8f1b9ee4822afcabf4b007e1a96
parent3d250b3be862746279e66d2acb50449bb9ef261b
MINOR: pattern: add pat_ref_gen_set() function

pat_ref_gen_set(ref, gen_id, value, err) modifies to <value> the sample
of all patterns matching <key> and belonging to <gen_id> (generation id)
under <ref>

The goal is to be able to target a single subset from <ref>
include/haproxy/pattern.h
src/pattern.c