varnish: isolate varnish v2 code
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 4 Nov 2015 20:12:36 +0000 (21:12 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 4 Nov 2015 21:07:54 +0000 (22:07 +0100)
commitb208ddc7d08978f4cf52364c1935e94a0479ee42
tree4d693d3bfff6967ba958561d4431daae3d9a019c
parent4632d38ce3e3f79920b7e886120a4e9066126a20
varnish: isolate varnish v2 code

Segregating v2-specific code will allow reworking the v3 and v4 parts,
while ensuring backwards compatibility with v2.

The downside is that this leads to a large chunk of mostly duplicate
code. That said, my suggestion would be to drop support for varnish v2
in collectd 5.6.

NB: this commit breaks v3 and v4 support.
src/varnish.c