]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: add pat_ref_gen_find_elt() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 20 Nov 2024 17:07:52 +0000 (18:07 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 26 Nov 2024 15:12:16 +0000 (16:12 +0100)
commita131c542a65e64181ce807311c6a17569dd23da0
treed0649f962f5a8d2166f05917fe4216d52aa628e7
parentc9d6af3c6dce7bbcdf9aa279ef72d65f34252f74
MINOR: pattern: add pat_ref_gen_find_elt() function

pat_ref_gen_find_elt(ref, gen_id, key) tries to find <elt> element
belonging to <gen_id> and matching <key> in <ref> reference.

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