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
3c67950c
Commit
3c67950c
authored
Dec 15, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Constification
parent
df0f0fd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
cache_backend.h
bin/varnishd/cache/cache_backend.h
+1
-1
storage.h
bin/varnishd/storage/storage.h
+2
-2
storage_persistent.c
bin/varnishd/storage/storage_persistent.c
+2
-3
No files found.
bin/varnishd/cache/cache_backend.h
View file @
3c67950c
...
...
@@ -178,7 +178,7 @@ void VBE_DropRefLocked(struct backend *b);
void
VBP_Insert
(
struct
backend
*
b
,
struct
vrt_backend_probe
const
*
p
,
const
char
*
hosthdr
);
void
VBP_Remove
(
struct
backend
*
b
,
struct
vrt_backend_probe
const
*
p
);
void
VBP_Use
(
const
struct
backend
*
b
,
const
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
);
/* Init functions for directors */
...
...
bin/varnishd/storage/storage.h
View file @
3c67950c
...
...
@@ -48,9 +48,9 @@ typedef struct object *storage_allocobj_f(struct stevedore *, struct busyobj *,
struct
objcore
**
,
unsigned
ltot
,
const
struct
stv_objsecrets
*
);
typedef
void
storage_close_f
(
const
struct
stevedore
*
);
typedef
void
storage_signal_close_f
(
const
struct
stevedore
*
);
typedef
int
storage_baninfo_f
(
struct
stevedore
*
,
enum
baninfo
event
,
typedef
int
storage_baninfo_f
(
const
struct
stevedore
*
,
enum
baninfo
event
,
const
uint8_t
*
ban
,
unsigned
len
);
typedef
void
storage_banexport_f
(
struct
stevedore
*
,
const
uint8_t
*
bans
,
typedef
void
storage_banexport_f
(
const
struct
stevedore
*
,
const
uint8_t
*
bans
,
unsigned
len
);
/* Prototypes for VCL variable responders */
...
...
bin/varnishd/storage/storage_persistent.c
View file @
3c67950c
...
...
@@ -49,7 +49,6 @@
#include "hash/hash_slinger.h"
#include "vcli.h"
#include "vcli_priv.h"
#include "vend.h"
#include "vsha256.h"
#include "vtim.h"
...
...
@@ -86,7 +85,7 @@ smp_appendban(struct smp_sc *sc, struct smp_signspace *spc,
/* Trust that cache_ban.c takes care of locking */
static
int
smp_baninfo
(
struct
stevedore
*
stv
,
enum
baninfo
event
,
smp_baninfo
(
const
struct
stevedore
*
stv
,
enum
baninfo
event
,
const
uint8_t
*
ban
,
unsigned
len
)
{
struct
smp_sc
*
sc
;
...
...
@@ -118,7 +117,7 @@ smp_banexport_spc(struct smp_signspace *spc, const uint8_t *bans, unsigned len)
}
static
void
smp_banexport
(
struct
stevedore
*
stv
,
const
uint8_t
*
bans
,
unsigned
len
)
smp_banexport
(
const
struct
stevedore
*
stv
,
const
uint8_t
*
bans
,
unsigned
len
)
{
struct
smp_sc
*
sc
;
...
...
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