Vmod constants

Dridi Boukelmoune dridi at varni.sh
Fri Jun 12 10:18:33 CEST 2015


On Fri, Jun 12, 2015 at 3:45 AM, Federico Schwindt <fgsch at lodoss.net> wrote:
> $Const TYPE name value
>
> e.g.:
>
> $Const INT CASEFOLD 0x0400
> $Const INT LUMP 0x1000
> $Const INT STRIPMARK 0x2000

Would you be able to use the underlying C constants instead of
hard-coded values? Do we want to reinvent cpp on top of vmodtool
for non-portable constants?

> Personally I think this is quite useful but I might be biased so before I
> clean the patches and post them here is there any interest?

Obviously there is me ;)



More information about the varnish-dev mailing list