Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
91edb36d
Commit
91edb36d
authored
Sep 24, 2018
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Oct 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't implement VRT_* functions in libvarnish
parent
8511c372
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
cache_vrt.c
bin/varnishd/cache/cache_vrt.c
+6
-0
vsa.h
include/vsa.h
+7
-0
vsa.c
lib/libvarnish/vsa.c
+1
-2
No files found.
bin/varnishd/cache/cache_vrt.c
View file @
91edb36d
...
@@ -762,3 +762,9 @@ VRT_blob(VRT_CTX, const char *err, const void *src, size_t len)
...
@@ -762,3 +762,9 @@ VRT_blob(VRT_CTX, const char *err, const void *src, size_t len)
p
->
priv
=
d
;
p
->
priv
=
d
;
return
(
p
);
return
(
p
);
}
}
int
VRT_VSA_GetPtr
(
const
struct
suckaddr
*
sua
,
const
unsigned
char
**
dst
)
{
return
(
VSA_GetPtr
(
sua
,
dst
));
}
include/vsa.h
View file @
91edb36d
...
@@ -55,4 +55,11 @@ struct suckaddr *VSA_Malloc(const void *s, unsigned sal);
...
@@ -55,4 +55,11 @@ struct suckaddr *VSA_Malloc(const void *s, unsigned sal);
*/
*/
struct
suckaddr
*
VSA_Build
(
void
*
d
,
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
#endif
lib/libvarnish/vsa.c
View file @
91edb36d
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
#include "vdef.h"
#include "vdef.h"
#include "vas.h"
#include "vas.h"
#include "vsa.h"
#include "vsa.h"
#include "vrt.h"
#include "miniobj.h"
#include "miniobj.h"
/*
/*
...
@@ -204,7 +203,7 @@ VSA_Init()
...
@@ -204,7 +203,7 @@ VSA_Init()
*/
*/
int
int
V
RT_V
SA_GetPtr
(
const
struct
suckaddr
*
sua
,
const
unsigned
char
**
dst
)
VSA_GetPtr
(
const
struct
suckaddr
*
sua
,
const
unsigned
char
**
dst
)
{
{
AN
(
dst
);
AN
(
dst
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment