Varnish Style Guide

Poul-Henning Kamp phk at
Mon Oct 22 09:08:49 CEST 2007

In message <29f77e8a0710212015nc0aa026tea48c4bf477178a at>, "Luke M
acpherson" writes:

>Is there any documentation of code style for varnish?
>I did see an early post on naming conventions, but the code base
>doesn't actually reflect that early description any more, and some of
>the conventions I've not been able to reverse-engineer (I find the
>capitalization strategy particularly confusing).

The starting point is FreeBSD's style(9) manual page, and yes, the
capitalization is not consistent.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list