Commit 91edb36d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Dridi Boukelmoune

Don't implement VRT_* functions in libvarnish

parent 8511c372
......@@ -762,3 +762,9 @@ VRT_blob(VRT_CTX, const char *err, const void *src, size_t len)
p->priv = d;
return (p);
}
int
VRT_VSA_GetPtr(const struct suckaddr *sua, const unsigned char ** dst)
{
return (VSA_GetPtr(sua, dst));
}
......@@ -55,4 +55,11 @@ struct suckaddr *VSA_Malloc(const void *s, unsigned sal);
*/
struct suckaddr *VSA_Build(void *d, const void *s, unsigned sal);
/*
* This VRT interface is for the VCC generated ACL code, which needs
* to know the address family and a pointer to the actual address.
*/
int VSA_GetPtr(const struct suckaddr *sua, const unsigned char ** dst);
#endif
......@@ -43,7 +43,6 @@
#include "vdef.h"
#include "vas.h"
#include "vsa.h"
#include "vrt.h"
#include "miniobj.h"
/*
......@@ -204,7 +203,7 @@ VSA_Init()
*/
int
VRT_VSA_GetPtr(const struct suckaddr *sua, const unsigned char ** dst)
VSA_GetPtr(const struct suckaddr *sua, const unsigned char ** dst)
{
AN(dst);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment