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
f2de8e9d
Commit
f2de8e9d
authored
Jan 05, 2016
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update parameters in preparation for further work
parent
5921f91a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
544 additions
and
619 deletions
+544
-619
params.h
bin/varnishd/common/params.h
+10
-0
params.h
include/tbl/params.h
+534
-619
No files found.
bin/varnishd/common/params.h
View file @
f2de8e9d
...
@@ -63,16 +63,26 @@ struct poolparam {
...
@@ -63,16 +63,26 @@ struct poolparam {
struct
params
{
struct
params
{
#define ptyp_bool unsigned
#define ptyp_bool unsigned
#define ptyp_bytes ssize_t
#define ptyp_bytes_u unsigned
#define ptyp_double double
#define ptyp_double double
#define ptyp_poolparam struct poolparam
#define ptyp_timeout double
#define ptyp_timeout double
#define ptyp_uint unsigned
#define ptyp_uint unsigned
#define ptyp_vsl_buffer unsigned
#define ptyp_vsl_reclen unsigned
#define PARAM(nm, ty, mi, ma, de, un, fl, st, lt, fn) ptyp_##ty nm;
#define PARAM(nm, ty, mi, ma, de, un, fl, st, lt, fn) ptyp_##ty nm;
#include <tbl/params.h>
#include <tbl/params.h>
#undef PARAM
#undef PARAM
#undef ptyp_bool
#undef ptyp_bool
#undef ptyp_bytes
#undef ptyp_bytes_u
#undef ptyp_double
#undef ptyp_double
#undef ptyp_poolparam
#undef ptyp_timeout
#undef ptyp_timeout
#undef ptyp_uint
#undef ptyp_uint
#undef ptyp_vsl_buffer
#undef ptyp_vsl_reclen
/* Unprivileged user / group */
/* Unprivileged user / group */
char
*
user
;
char
*
user
;
...
...
include/tbl/params.h
View file @
f2de8e9d
This diff is collapsed.
Click to expand it.
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