]> err.no Git - varnish/commit
Improve libvarnishapi interface to shared memory:
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Jul 2006 19:54:33 +0000 (19:54 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Jul 2006 19:54:33 +0000 (19:54 +0000)
commit7daa12b16981e1270fadf7635c0e525005e1c6e2
treeaa80f8a7eed93514c5328f5457a269551726472f
parent4d2dce6fcce9de18e2a465cbeec76b2d7d11f80a
Improve libvarnishapi interface to shared memory:

Add function VSL_OpenStats() which directly returns a pointer
to the varnish_stats structure.

Add opaque VSL_data structure as handle to the log-tailer functions.

Add generic argument parsing function for all log-tailers.

Add support for generic "-r <file>" option.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@411 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishlog/varnishlog.c
varnish-cache/bin/varnishstat/varnishstat.c
varnish-cache/include/varnishapi.h
varnish-cache/lib/libvarnishapi/shmlog.c