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
36684de4
Commit
36684de4
authored
Feb 25, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move *_Init functions to cache.h to reduce #include pollution
parent
c095a4d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
cache.h
bin/varnishd/cache/cache.h
+6
-0
cache_backend.h
bin/varnishd/cache/cache_backend.h
+0
-4
cache_main.c
bin/varnishd/cache/cache_main.c
+0
-2
No files found.
bin/varnishd/cache/cache.h
View file @
36684de4
...
...
@@ -704,6 +704,12 @@ int VCA_Accept(struct listen_sock *ls, struct wrk_accept *wa);
const
char
*
VCA_SetupSess
(
struct
worker
*
w
,
struct
sess
*
sp
);
void
VCA_FailSess
(
struct
worker
*
w
);
/* cache_backend_cfg.c */
void
VBE_InitCfg
(
void
);
/* cache_backend_poll.c */
void
VBP_Init
(
void
);
/* cache_ban.c */
struct
ban
*
BAN_New
(
void
);
int
BAN_AddTest
(
struct
ban
*
,
const
char
*
,
const
char
*
,
const
char
*
);
...
...
bin/varnishd/cache/cache_backend.h
View file @
36684de4
...
...
@@ -108,7 +108,6 @@ void VBE_DropRefConn(struct backend *, const struct acct_bereq *);
void
VBE_DropRefVcl
(
struct
backend
*
);
void
VBE_DropRefLocked
(
struct
backend
*
b
,
const
struct
acct_bereq
*
);
unsigned
VBE_Healthy
(
const
struct
backend
*
b
,
double
*
changed
);
void
VBE_InitCfg
(
void
);
struct
backend
*
VBE_AddBackend
(
const
struct
vrt_backend
*
vb
);
void
VBE_Poll
(
void
);
...
...
@@ -119,9 +118,6 @@ void VBP_Remove(struct backend *b, struct vrt_backend_probe const *p);
void
VBP_Use
(
const
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
);
void
VBP_Summary
(
struct
cli
*
cli
,
const
struct
vbp_target
*
vt
);
/* cache_backend_poll.c */
void
VBP_Init
(
void
);
struct
tcp_pool
*
VBT_Ref
(
const
char
*
name
,
const
struct
suckaddr
*
ip4
,
const
struct
suckaddr
*
ip6
);
void
VBT_Rel
(
struct
tcp_pool
**
tpp
);
...
...
bin/varnishd/cache/cache_main.c
View file @
36684de4
...
...
@@ -33,8 +33,6 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_backend.h"
#include "cache_director.h"
#include "common/heritage.h"
#include "vcli_priv.h"
...
...
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