]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pattern: The match function browse itself the list or the tree.
authorThierry FOURNIER <tfournier@exceliance.fr>
Mon, 16 Dec 2013 13:22:13 +0000 (14:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 17:06:07 +0000 (18:06 +0100)
commit5338eea8ebe7198f421bb18efddb850695c39115
tree4085f99a570e8b22bf337f3222eef0002b1211ef
parentb4be12952afbdab88a657946a8dcb959bfd62eb1
MEDIUM: pattern: The match function browse itself the list or the tree.

The match function known the format of the pattern. The pattern can be
stored in a list or in a tree. The pattern matching function use itself
the good entry point and indexation type.

Each pattern matching function return the struct pattern that match. If
the flag "fill" is set, the struct pattern is filled, otherwise the
content of this struct must not be used.

With this feature, the general pattern matching function cannot have
exceptions for building the "struct pattern".
include/proto/auth.h
include/proto/pattern.h
include/types/acl.h
include/types/pattern.h
src/auth.c
src/pattern.c
src/proto_http.c