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
7aef7a73
Commit
7aef7a73
authored
Nov 13, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the typedef for VCL_HEADER
parent
96ac6271
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
vrt.h
include/vrt.h
+1
-1
vmodtool.py
lib/libvcc/vmodtool.py
+1
-1
vmod_std.c
lib/libvmod_std/vmod_std.c
+1
-1
No files found.
include/vrt.h
View file @
7aef7a73
...
...
@@ -54,7 +54,7 @@ typedef unsigned VCL_BOOL;
typedef
double
VCL_BYTES
;
typedef
double
VCL_DURATION
;
typedef
const
char
*
VCL_ENUM
;
typedef
const
char
*
VCL_HEADER
;
typedef
const
struct
gethdr_s
*
VCL_HEADER
;
typedef
long
VCL_INT
;
typedef
const
struct
suckaddr
*
VCL_IP
;
typedef
double
VCL_REAL
;
...
...
lib/libvcc/vmodtool.py
View file @
7aef7a73
...
...
@@ -50,7 +50,7 @@ ctypes = {
'BOOL'
:
"VCL_BOOL"
,
'DURATION'
:
"VCL_DURATION"
,
'ENUM'
:
"VCL_ENUM"
,
'HEADER'
:
"
const struct gethdr_s *
"
,
'HEADER'
:
"
VCL_HEADER
"
,
'INT'
:
"VCL_INT"
,
'IP'
:
"VCL_IP"
,
'PRIV_CALL'
:
"struct vmod_priv *"
,
...
...
lib/libvmod_std/vmod_std.c
View file @
7aef7a73
...
...
@@ -169,7 +169,7 @@ vmod_syslog(const struct vrt_ctx *ctx, VCL_INT fac, const char *fmt, ...)
}
VCL_VOID
__match_proto__
(
td_std_collect
)
vmod_collect
(
const
struct
vrt_ctx
*
ctx
,
const
struct
gethdr_s
*
hdr
)
vmod_collect
(
const
struct
vrt_ctx
*
ctx
,
VCL_HEADER
hdr
)
{
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
...
...
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