Mailing List Archive

libvarnish vs libvarnishapi
I'm slightly confused here,

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 ?

--
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.
libvarnish vs libvarnishapi [ In reply to ]
I'm slightly confused here,

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 ?

--
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.
libvarnish vs libvarnishapi [ In reply to ]
"Poul-Henning Kamp" <phk at phk.freebsd.dk> 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.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
libvarnish vs libvarnishapi [ In reply to ]
"Poul-Henning Kamp" <phk at phk.freebsd.dk> 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.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
libvarnish vs libvarnishapi [ In reply to ]
In message <ujry7zdbe2o.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> 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.
libvarnish vs libvarnishapi [ In reply to ]
In message <ujry7zdbe2o.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> 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.