]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stktable: add stktable_get_data_type_idx() helper function
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 19 Dec 2024 17:29:53 +0000 (18:29 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 23 Dec 2024 16:32:09 +0000 (17:32 +0100)
commitc0dc7769d49db93165283496409dc0a2230b420c
tree649846bc739e9726413c3aedfd354200c3ff5e7f
parentac1f413590932d4eb3b78ca5a536845f162b7866
MINOR: stktable: add stktable_get_data_type_idx() helper function

Same as stktable_get_data_type(), but tries to parse optional index in
the form "name[idx]" (only for array types).

Falls back to stktable_get_data_type() when no index is provided.
src/stick_table.c