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
61e8ab91
Commit
61e8ab91
authored
Jan 27, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various polishing
parent
176190e6
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
14 deletions
+14
-14
cache_vrt_var.c
bin/varnishd/cache_vrt_var.c
+1
-1
mgt.h
bin/varnishd/mgt.h
+2
-2
mgt_vcc.c
bin/varnishd/mgt_vcc.c
+2
-2
varnishd.c
bin/varnishd/varnishd.c
+1
-1
binary_heap.h
include/binary_heap.h
+1
-1
binary_heap.c
lib/libvarnish/binary_heap.c
+1
-1
vmod.py
lib/libvmod_std/vmod.py
+1
-1
vmod_std.c
lib/libvmod_std/vmod_std.c
+5
-5
No files found.
bin/varnishd/cache_vrt_var.c
View file @
61e8ab91
...
...
@@ -322,7 +322,7 @@ VRT_r_beresp_storage(struct sess *sp)
return
(
NULL
);
}
void
void
__match_proto__
()
VRT_l_beresp_storage
(
struct
sess
*
sp
,
const
char
*
str
,
...)
{
va_list
ap
;
...
...
bin/varnishd/mgt.h
View file @
61e8ab91
...
...
@@ -81,8 +81,8 @@ int mgt_vcc_default(const char *bflag, const char *f_arg, char *vcl, int Cflag);
int
mgt_push_vcls_and_start
(
unsigned
*
status
,
char
**
p
);
int
mgt_has_vcl
(
void
);
extern
char
*
mgt_cc_cmd
;
extern
char
*
mgt_vcl_dir
;
extern
char
*
mgt_vmod_dir
;
extern
c
onst
c
har
*
mgt_vcl_dir
;
extern
c
onst
c
har
*
mgt_vmod_dir
;
extern
unsigned
mgt_vcc_err_unref
;
#define REPORT0(pri, fmt) \
...
...
bin/varnishd/mgt_vcc.c
View file @
61e8ab91
...
...
@@ -67,8 +67,8 @@ struct vclprog {
static
VTAILQ_HEAD
(,
vclprog
)
vclhead
=
VTAILQ_HEAD_INITIALIZER
(
vclhead
);
char
*
mgt_cc_cmd
;
char
*
mgt_vcl_dir
;
char
*
mgt_vmod_dir
;
c
onst
c
har
*
mgt_vcl_dir
;
c
onst
c
har
*
mgt_vmod_dir
;
unsigned
mgt_vcc_err_unref
;
static
struct
vcc
*
vcc
;
...
...
bin/varnishd/varnishd.c
View file @
61e8ab91
...
...
@@ -645,7 +645,7 @@ main(int argc, char * const *argv)
if
(
T_arg
!=
NULL
)
mgt_cli_telnet
(
T_arg
);
VSM_Alloc
(
0
,
VSM_CLASS_MARK
,
""
,
""
);
AN
(
VSM_Alloc
(
0
,
VSM_CLASS_MARK
,
""
,
""
)
);
MGT_Run
();
...
...
include/binary_heap.h
View file @
61e8ab91
...
...
@@ -63,7 +63,7 @@ void binheap_insert(struct binheap *, void *);
* Insert an item
*/
void
binheap_reorder
(
struct
binheap
*
,
unsigned
idx
);
void
binheap_reorder
(
const
struct
binheap
*
,
unsigned
idx
);
/*
* Move an order after changing its key value.
*/
...
...
lib/libvarnish/binary_heap.c
View file @
61e8ab91
...
...
@@ -379,7 +379,7 @@ binheap_delete(struct binheap *bh, unsigned idx)
*/
void
binheap_reorder
(
struct
binheap
*
bh
,
unsigned
idx
)
binheap_reorder
(
const
struct
binheap
*
bh
,
unsigned
idx
)
{
assert
(
bh
!=
NULL
);
...
...
lib/libvmod_std/vmod.py
View file @
61e8ab91
...
...
@@ -230,7 +230,7 @@ dumps(pstruct + "} Vmod_Func_" + modname + ";\n")
fc
.
write
(
'
\t
;
\n
'
)
fc
.
write
(
"
\n
"
);
fc
.
write
(
'const char *Vmod_Spec[] = {
\n
'
+
slist
+
'
\t
0
\n
};
\n
'
)
fc
.
write
(
'const char *
const
Vmod_Spec[] = {
\n
'
+
slist
+
'
\t
0
\n
};
\n
'
)
fc
.
write
(
"
\n
"
)
lib/libvmod_std/vmod_std.c
View file @
61e8ab91
...
...
@@ -36,14 +36,14 @@
#include "vcc_if.h"
void
void
__match_proto__
()
vmod_set_ip_tos
(
struct
sess
*
sp
,
int
tos
)
{
TCP_Assert
(
setsockopt
(
sp
->
fd
,
IPPROTO_IP
,
IP_TOS
,
&
tos
,
sizeof
(
tos
)));
}
static
const
char
*
static
const
char
*
__match_proto__
()
vmod_updown
(
struct
sess
*
sp
,
int
up
,
const
char
*
s
,
va_list
ap
)
{
unsigned
u
;
...
...
@@ -79,7 +79,7 @@ vmod_updown(struct sess *sp, int up, const char *s, va_list ap)
}
}
const
char
*
const
char
*
__match_proto__
()
vmod_toupper
(
struct
sess
*
sp
,
struct
vmod_priv
*
priv
,
const
char
*
s
,
...)
{
const
char
*
p
;
...
...
@@ -98,7 +98,7 @@ vmod_toupper(struct sess *sp, struct vmod_priv *priv, const char *s, ...)
return
(
p
);
}
const
char
*
const
char
*
__match_proto__
()
vmod_tolower
(
struct
sess
*
sp
,
struct
vmod_priv
*
priv
,
const
char
*
s
,
...)
{
const
char
*
p
;
...
...
@@ -135,7 +135,7 @@ vmod_random(struct sess *sp, double lo, double hi)
return
(
a
);
}
void
void
__match_proto__
()
vmod_log
(
struct
sess
*
sp
,
const
char
*
fmt
,
...)
{
char
buf
[
8192
],
*
p
;
...
...
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