Can vmodules provide functions with optional arguments?

Tollef Fog Heen tfheen at
Wed Oct 24 10:15:45 CEST 2012

]] Mikhail T.

> The subject says it: can functions provided by a loaded module have
> optional arguments?

No, they can't.  You could have it take a magic value like -1 or similar
to signify "unset", though.

Tollef Fog Heen
Technical lead | Varnish Software AS
t: +47 21 98 92 64
We Make Websites Fly!

More information about the varnish-misc mailing list