mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
Before this patch, REGISTER_CONFIG_SECTION() allowed to register one and only one callback (<post>) called after the parsing of a section. It was limitating because you couldn't register a post callback from anywhere else in the code. This patch introduces the new REGISTER_CONFIG_SECTION_POST() macros which allows to register a new post callback for a section keyword from anywhere. This patch introduces the feature by allowing `struct cfg_section` entries that does not have a `section_parser`, and then iterating on all cfg_section with a post_section_parser for a keyword. |
||
|---|---|---|
| .. | ||
| appctx.txt | ||
| buffer-api.txt | ||
| buffer-list-api.txt | ||
| event_hdl.txt | ||
| filters.txt | ||
| htx-api.txt | ||
| initcalls.txt | ||
| ist.txt | ||
| layers.txt | ||
| list.txt | ||
| mt_list.txt | ||
| pools.txt | ||
| scheduler.txt | ||