From: phk Date: Mon, 19 Jan 2009 09:48:16 +0000 (+0000) Subject: Move the vca_pipes to a more proper header file X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91c2991387c782fc8c76d452563acefceef99ce;p=varnish Move the vca_pipes to a more proper header file git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3525 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index 22135bd5..52f4a0df 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -398,7 +398,6 @@ void vca_return_session(struct sess *sp); void vca_close_session(struct sess *sp, const char *why); void VCA_Prep(struct sess *sp); void VCA_Init(void); -extern int vca_pipes[2]; /* cache_backend.c */ diff --git a/varnish-cache/bin/varnishd/cache_acceptor.h b/varnish-cache/bin/varnishd/cache_acceptor.h index f7921406..9ffd567f 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.h +++ b/varnish-cache/bin/varnishd/cache_acceptor.h @@ -34,6 +34,8 @@ struct sess; typedef void acceptor_init_f(void); typedef void acceptor_pass_f(struct sess *); +extern int vca_pipes[2]; + struct acceptor { const char *name; acceptor_init_f *init;