Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-cluster
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-cluster
Commits
7adab396
Commit
7adab396
authored
May 23, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cstyle polish
parent
56368dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
vmod_cluster.c
src/vmod_cluster.c
+12
-6
No files found.
src/vmod_cluster.c
View file @
7adab396
...
...
@@ -187,7 +187,8 @@ cluster_blacklisted(const struct vmod_cluster_cluster_param *p,
return
(
0
);
}
VCL_VOID
vmod_cluster__init
(
VRT_CTX
,
VCL_VOID
vmod_cluster__init
(
VRT_CTX
,
struct
vmod_cluster_cluster
**
vcp
,
const
char
*
vcl_name
,
struct
vmod_cluster__init_arg
*
args
)
{
...
...
@@ -242,7 +243,8 @@ vmod_cluster__fini(struct vmod_cluster_cluster **vcp)
} \
} while(0)
VCL_VOID
vmod_cluster_deny
(
VRT_CTX
,
VCL_VOID
vmod_cluster_deny
(
VRT_CTX
,
struct
vmod_cluster_cluster
*
vc
,
VCL_BACKEND
b
)
{
const
struct
vmod_cluster_cluster_param
*
pr
;
...
...
@@ -260,7 +262,8 @@ VCL_VOID vmod_cluster_deny(VRT_CTX,
cluster_blacklist_add
(
pl
,
b
);
}
VCL_VOID
vmod_cluster_allow
(
VRT_CTX
,
VCL_VOID
vmod_cluster_allow
(
VRT_CTX
,
struct
vmod_cluster_cluster
*
vc
,
VCL_BACKEND
b
)
{
const
struct
vmod_cluster_cluster_param
*
pr
;
...
...
@@ -278,7 +281,8 @@ VCL_VOID vmod_cluster_allow(VRT_CTX,
cluster_blacklist_del
(
pl
,
b
);
}
VCL_VOID
vmod_cluster_set_real
(
VRT_CTX
,
VCL_VOID
vmod_cluster_set_real
(
VRT_CTX
,
struct
vmod_cluster_cluster
*
vc
,
VCL_BACKEND
b
)
{
const
struct
vmod_cluster_cluster_param
*
pr
;
...
...
@@ -296,7 +300,8 @@ VCL_VOID vmod_cluster_set_real(VRT_CTX,
pl
->
real
=
b
;
}
VCL_VOID
vmod_cluster_set_uncacheable_direct
(
VRT_CTX
,
VCL_VOID
vmod_cluster_set_uncacheable_direct
(
VRT_CTX
,
struct
vmod_cluster_cluster
*
vc
,
VCL_BOOL
direct
)
{
const
struct
vmod_cluster_cluster_param
*
pr
;
...
...
@@ -352,7 +357,8 @@ vmod_cluster_resolve(VRT_CTX, VCL_BACKEND dir)
} \
} while (0)
VCL_BACKEND
vmod_cluster_backend
(
VRT_CTX
,
VCL_BACKEND
vmod_cluster_backend
(
VRT_CTX
,
struct
vmod_cluster_cluster
*
vc
,
struct
vmod_cluster_backend_arg
*
arg
)
{
...
...
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