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
346affe3
Commit
346affe3
authored
Oct 17, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate include/vcl.h with proper whitespace
parent
75f3aea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
generate.py
lib/libvcc/generate.py
+13
-13
No files found.
lib/libvcc/generate.py
View file @
346affe3
...
...
@@ -647,26 +647,26 @@ typedef void vcl_fini_f(VRT_CTX);
typedef void vcl_func_f(VRT_CTX);
struct VCL_conf {
unsigned
magic;
#define VCL_CONF_MAGIC
0x7406c509 /* from /dev/random */
unsigned
magic;
#define VCL_CONF_MAGIC
0x7406c509 /* from /dev/random */
unsigned
syntax;
VCL_BACKEND
*default_director;
VCL_PROBE
default_probe;
unsigned
nref;
const struct vrt_ref
*ref;
unsigned
syntax;
VCL_BACKEND
*default_director;
VCL_PROBE
default_probe;
unsigned
nref;
const struct vrt_ref
*ref;
unsigned
nsrc;
const char
**srcname;
const char
**srcbody;
unsigned
nsrc;
const char
**srcname;
const char
**srcbody;
unsigned
nvmod;
unsigned
nvmod;
vcl_event_f
*event_vcl;
vcl_event_f
*event_vcl;
"""
)
for
i
in
returns
:
fo
.
write
(
"
\t
vcl_func_f
\t\t
\t
*"
+
i
[
0
]
+
"_func;
\n
"
)
fo
.
write
(
"
\t
vcl_func_f
\t\t
*"
+
i
[
0
]
+
"_func;
\n
"
)
fo
.
write
(
"
\n
};
\n
"
)
fo
.
close
()
...
...
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