Commit 1767f1bb authored by Lasse Karstensen's avatar Lasse Karstensen

Consistent use of name, mention parameter.

parent 69a4711e
Using In-line C to extend Varnish Using inline C to extend Varnish
--------------------------------- ---------------------------------
(Here there be dragons. Big and mean ones.) (Here there be dragons. Big and mean ones.)
You can use *in-line C* to extend Varnish. Please note that you can You can use *inline C* to extend Varnish. Please note that you can
seriously mess up Varnish this way. The C code runs within the Varnish seriously mess up Varnish this way. The C code runs within the Varnish
Cache process so if your code generates a segfault the cache will crash. Cache process so if your code generates a segfault the cache will crash.
One of the first uses of In-line C was logging to `syslog`.:: One of the first uses of inline C was logging to `syslog`.::
# The include statements must be outside the subroutines. # The include statements must be outside the subroutines.
C{ C{
...@@ -22,3 +22,7 @@ One of the first uses of In-line C was logging to `syslog`.:: ...@@ -22,3 +22,7 @@ One of the first uses of In-line C was logging to `syslog`.::
syslog(LOG_INFO, "Something happened at VCL line XX."); syslog(LOG_INFO, "Something happened at VCL line XX.");
}C }C
} }
To use inline C you need to enable it with the ``vcc_allow_inline_c``
parameter.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment