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

Attachment: varnish-move-re-test.patch
Description: Binary data


_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to