• Poul-Henning Kamp's avatar
    Implement a facility for source file modularization in the VCL · 31f42eaf
    Poul-Henning Kamp authored
    compiler.  The syntax is:
    
    	include "filename" ;
    
    Unlike the C preprocessors #include directive, a VCL include can
    appear anywhere in the sourcefile:
    
    	if {req.Cookie == include "cookie.vcl" ; || !req.Host } {
    	}
    
    and have cookie.vcl contain just:
    
    	"8435398475983275293759843"
    
    
    Technically this results in a change to how we account for source
    code references in the counter/profile table as well, and as a result
    the entire source code of the VCL program is now compiled into the
    shared library for easy reference.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1281 d4fa192b-c00b-0410-8231-f00ffab90ce4
    31f42eaf
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
svn2cl.xsl Loading commit data...