]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: initcall: name correctly REGISTER_CONFIG_POST_SECTION()
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 12 Feb 2025 12:27:44 +0000 (13:27 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 12 Feb 2025 12:27:44 +0000 (13:27 +0100)
REGISTER_CONFIG_POST_SECTION() was not named correctly.

doc/internals/api/initcalls.txt

index c599640ef57542f2c6ef9e9a460921dec8a0fa34..e40db28328c6348999893a8b24b92d2246d2639f 100644 (file)
@@ -315,9 +315,9 @@ alphanumerically ordered:
   STG_REGISTER.
 
   You can only register a section once, but you can register post callbacks
-  multiple time for this section with REGISTER_CONFIG_SECTION_POST().
+  multiple time for this section with REGISTER_CONFIG_POST_SECTION().
 
-- REGISTER_CONFIG_SECTION_POST(name, post)
+- REGISTER_CONFIG_POST_SECTION(name, post)
 
   Registers a function which will be called after a section is parsed. This is
   the same as the <post> argument in REGISTER_CONFIG_SECTION(), the difference