]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern/map/acl: Centralization of the file parsers
authorThierry FOURNIER <tfournier@exceliance.fr>
Wed, 29 Jan 2014 12:29:45 +0000 (13:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 17:06:08 +0000 (18:06 +0100)
commit39bef456fbb93d6cc1bc4edec8d3d970070f54e4
tree62cd87fe38c402318766cc98e449f4bc394bf272
parent9356c6872716353ad00910920773b5af9434effb
MINOR: pattern/map/acl: Centralization of the file parsers

The acl and map function do the same work with the file parsing. This
patch merge these code in only one.

Note that the function map_read_entries_from_file() in the file "map.c"
is moved to the the function pat_ref_read_from_file_smp() in the file
"pattern.c". The code of this function is not modified, only the the
name and the arguments order has changed.
include/proto/pattern.h
src/acl.c
src/map.c
src/pattern.c