]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pattern: The pattern parser no more uses <opaque> and just takes one string.
authorThierry FOURNIER <tfournier@exceliance.fr>
Fri, 24 Jan 2014 09:58:12 +0000 (10:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 17:06:06 +0000 (18:06 +0100)
commit580c32cb3ada11ddbb97ddbbb47b4557f9607c27
treef1603478d743a4f9f9b023abe1f0eed0cd0f32bc
parent511e9475f2295fdd271ff81dbf3c5c56dfbfbae8
MEDIUM: pattern: The pattern parser no more uses <opaque> and just takes one string.

After the previous patches, the "pat_parse_strcat()" function disappear,
and the "pat_parse_int()" and "pat_parse_dotted_ver()" functions dont
use anymore the "opaque" argument, and take only one string on his
input.

So, after this patch, each pattern parser no longer use the opaque
variable and take only one string as input. This patch change the
prototype of the pattern parsing functions.

Now, the "char **args" is replaced by a "char *arg", the "int *opaque"
is removed and these functions return 1 in succes case, and 0 if fail.
include/proto/pattern.h
include/types/acl.h
include/types/pattern.h
src/pattern.c
src/proto_http.c