]> err.no Git - varnish/commit
Improve the shmlog facilities.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Aug 2006 20:24:40 +0000 (20:24 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Aug 2006 20:24:40 +0000 (20:24 +0000)
commit765c7e83dfda1efcb624a7c4b77e1a0f242e0a7b
tree4e131e819a8e7502d35c8ac32102044cc71bed51
parenta9b1573ec0a46d4dfd863082ed6505c7b6f48bc2
Improve the shmlog facilities.

Move the sleeping and timing out into the library so we do not
have to repeat it in all apps.  Should we ever find an app
that needs something else, we will cater for it then.

Add VSL_Dispatch() which calls a (supplied) function (pointer) for each
record.  Additional useful information is passed as arguments, such
as classification (backend/client/other) etc.

Add a default handler for printing a record.

Add VSL_Select() where the application can specify tags that are mandatory
and which should not be subject to -i/-x/-I/-X/-b/-c filtering.

Be more frugal with memory.

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