]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] pattern: make the converter more flexible by supporting void* and int args
authorWilly Tarreau <w@1wt.eu>
Tue, 26 Jan 2010 16:17:56 +0000 (17:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Jan 2010 16:17:56 +0000 (17:17 +0100)
commit1a51b6342e268de8d6ff961c61008c536676b3cd
tree07ae5d6b65ba7ce8e8a349ec1e82c17f3e4eb655
parenta724d49b6e6ad0501579766049adb0b79e6b6cb3
[MINOR] pattern: make the converter more flexible by supporting void* and int args

The pattern type converters currently support a string arg and a length.
Sometimes we'll prefer to pass them a list or a structure. So let's convert
the string and length into a generic void* and int that each converter may
use as it likes.
include/types/pattern.h
src/pattern.c