MEDIUM: cfgparse: post section callback
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Oct 2017 09:06:50 +0000 (11:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 Oct 2017 08:14:51 +0000 (10:14 +0200)
commitd2ff56d2a35ac4cbe07ad2c0e0575ecca565d331
tree8ed18332928460b0a77f53fabfed8125c8a363da
parent2ae327edaf6c96d33dd5acebdb5a9291c3d55ec4
MEDIUM: cfgparse: post section callback

This commit implements a post section callback. This callback will be
used at the end of a section parsing.

Every call to cfg_register_section must be modified to use the new
prototype:

    int cfg_register_section(char *section_name,
                             int (*section_parser)(const char *, int, char **, int),
                             int (*post_section_parser)());
include/common/cfgparse.h
src/cfgparse.c
src/flt_spoe.c