]> err.no Git - varnish/commit
Rework the cache process CLI handling:
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 3 Aug 2006 06:45:58 +0000 (06:45 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 3 Aug 2006 06:45:58 +0000 (06:45 +0000)
commit0bec985c9fc52ac25a9ef6bfab96476ae3f1f804
treed8a161f4d6afe776054e364ef2d2a7ce6f141bd1
parent50728b52676b6e5701352ed09446a97e9d4fe17e
Rework the cache process CLI handling:

We are only accepting CLI from the pipes in heritage, so simply
run a loop reading those, dispatching lines as we see them.

Export CLI_cmds[] so that the management process can see it,
we might as well take advantage of the shared binary where we can.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@615 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_cli.c [new file with mode: 0644]
varnish-cache/bin/varnishd/cache_main.c
varnish-cache/bin/varnishd/cli_event.h