mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-14 21:31:00 +01:00
Currently, variable names are only used during parsing and are not stored at runtime. This makes it impossible to iterate through variables and retrieve their names. This patch adds infrastructure to store variable names: - Add 'name' and 'name_len' fields to var_desc structure - Add 'name' field to var structure - Add VDF_NAME_ALLOCATED flag to track memory ownership - Store names in vars_fill_desc(), var_set(), vars_check_arg(), and parse_store() - Free names in var_clear() and release_store_rule() This prepares the ground for implementing dump_all_vars() in the next commit.