Move re test method into libvcl

Poul-Henning Kamp phk at
Sat Apr 12 20:19:09 CEST 2008

In message <D4F56D4B-8E7C-4729-A7FB-161CCD681509 at>, Paul Nasrat w

>> The attached patch against trunk moves and renames the re_test  
>> method into vcc_string.c so libvcl could be used outside of varnishd.

>-VRT_re_test(struct vsb *sb, const char *re, int sub)

Your patch breaks the convention that compiled code only calls VRT_*
functions, you need to keep a VRT_re_test() wrapper around for that

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list