Mailing List Archive

library cleanup
I did som cleanup in the varnishapi library this morning, and I want
the VMOD writers to pay a bit of attention.

VUT, VTIM, VSB, VAS and VCS are now partially exposed by libvarnishapi.

I have not exposed everything in them (yet), only the bits needed to
compile the tools in the tree (varnishlog/ncsa/...)

Should we expose all of these function sets ?

Should we also expose VPF, VSS, VSA, VTCP ?

I may also rename the SHA256 to VSHA256 in order to stick strictly
to the V* namespace...

Input, comments...

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@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.

_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
Re: library cleanup [ In reply to ]
On Tue, May 10, 2016 at 10:05 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> I did som cleanup in the varnishapi library this morning, and I want
> the VMOD writers to pay a bit of attention.

Does it matter that much for VMODs? They automatically link to
varnish/varnishapi symbols via varnishd and most headers are already
$(make install)'ed.

This is very interesting for shmlog tools writers, especially now that
VUT is part of libvarnishapi!

Dridi

_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
Re: library cleanup [ In reply to ]
--------
In message <CABoVN9DFZiJB1NyBBzpwCBBafW02OZy6LP_21xkd3t1eYF7V3g@mail.gmail.com>
, Dridi Boukelmoune writes:
>On Tue, May 10, 2016 at 10:05 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

>> I did som cleanup in the varnishapi library this morning, and I want
>> the VMOD writers to pay a bit of attention.
>
>Does it matter that much for VMODs? They automatically link to
>varnish/varnishapi symbols via varnishd and most headers are already
>$(make install)'ed.
>
>This is very interesting for shmlog tools writers, especially now that
>VUT is part of libvarnishapi!

Good points.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@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.

_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev