libvarnish vs libvarnishapi

Poul-Henning Kamp phk at
Tue Mar 14 10:03:52 CET 2006

In message <ujry7zdbe2o.fsf at>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= writes:
>"Poul-Henning Kamp" <phk at> writes:
>> I thought libvarnishapi was the library that will expose API's for 3rd party
>> software (stuff like reading the shmem log etc) and libvarnish was the
>> library the varnish process(es) would get linked against (containing internal
>> stuff).
>> But I see in the tree now that varnish_debug.c varnish_log.c and
>> varnish_util.c lives in libvarnishapi not libvarnish ?
>> Who of us have a sign error here ?
>I didn't want to split up the log code into reading and writing parts,
>so I put everything in libvarnishapi.  I'm not happy with it, though,
>so I think I'll move the varnish_debug and varnish_log over to
>libvarnish and split up varnish_log.

Most of the sharing will be in a .h file anyway wouldn't it ?

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