On 12 Apr 2008, at 16:31, Paul Nasrat wrote:
> 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.
Oops - that patch didn't remove the old method definition.
Here is an updated version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish-move-re-test.patch
Type: application/octet-stream
Size: 2751 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-dev/attachments/20080412/5075a862/attachment.obj
-------------- next part --------------
> 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.
Oops - that patch didn't remove the old method definition.
Here is an updated version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish-move-re-test.patch
Type: application/octet-stream
Size: 2751 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-dev/attachments/20080412/5075a862/attachment.obj
-------------- next part --------------