[master] cdc9884 Move Add/DelDirector into VRT, vmods will need to call them.

Dridi Boukelmoune dridi at varni.sh
Mon Apr 30 06:48:06 UTC 2018


On Tue, Apr 24, 2018 at 12:06 AM, Poul-Henning Kamp <phk at freebsd.org> wrote:
>
> commit cdc9884aee1958f2eb37e5dacc6dac51ecaa1873
> Author: Poul-Henning Kamp <phk at FreeBSD.org>
> Date:   Mon Apr 23 21:33:58 2018 +0000
>
>     Move Add/DelDirector into VRT, vmods will need to call them.
>
<snip>
> diff --git a/bin/varnishd/cache/cache_director.h b/bin/varnishd/cache/cache_director.h
> index 91786ef..c65118b 100644
> --- a/bin/varnishd/cache/cache_director.h
> +++ b/bin/varnishd/cache/cache_director.h
> @@ -92,8 +92,8 @@ struct director {
>  unsigned VDI_Healthy(const struct director *, double *);
>
>  /* cache_vcl.c */
> -int VCL_AddDirector(struct vcl *, struct director *, const char *);
> -void VCL_DelDirector(struct director *);
> +int VRT_AddDirector(VRT_CTX, struct director *, const char *);
> +void VRT_DelDirector(VRT_CTX, struct director *);
>
<snip>

Shouldn't we move the prototypes to vrt.h?

Dridi


More information about the varnish-commit mailing list