Move re test method into libvcl

Paul Nasrat pnasrat at googlemail.com
Sat Apr 12 17:31:39 CEST 2008


I was wanting to start looking at the vcl parser, and noticed that you  
can't link against just libvcl to call VCC_CompileFile due to  
VRT_re_test being called in vcc_string.c.

Although varnishd supports -C to parse only

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

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish-move-re-test.patch
Type: application/octet-stream
Size: 2272 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20080412/7ee537ff/attachment-0002.obj>
-------------- next part --------------



More information about the varnish-dev mailing list