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

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 30 06:56:18 UTC 2018


--------
In message <CABoVN9B66Sfd2Pvo=Qx6UPs-7tsScTZ2c_sPd0vFa2F9HAE=dQ at mail.gmail.com>, Dridi Boukelmoune writes:

>>  /* 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?

That may or may not happen once I'm done and know how the API looks.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the varnish-commit mailing list