Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
f41fbd19
Commit
f41fbd19
authored
Jul 02, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename '-x dumprst' to '-x dumprstparam', we may have more RST coming
in the future.
parent
ef1b8cb1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
mgt.h
bin/varnishd/mgt/mgt.h
+1
-1
mgt_main.c
bin/varnishd/mgt/mgt_main.c
+2
-2
mgt_param.c
bin/varnishd/mgt/mgt_param.c
+2
-2
a00009.vtc
bin/varnishtest/tests/a00009.vtc
+1
-1
No files found.
bin/varnishd/mgt/mgt.h
View file @
f41fbd19
...
@@ -70,7 +70,7 @@ const void *pick(const struct choice *cp, const char *which, const char *kind);
...
@@ -70,7 +70,7 @@ const void *pick(const struct choice *cp, const char *which, const char *kind);
void
MCF_ParamInit
(
struct
cli
*
);
void
MCF_ParamInit
(
struct
cli
*
);
void
MCF_ParamSet
(
struct
cli
*
,
const
char
*
param
,
const
char
*
val
);
void
MCF_ParamSet
(
struct
cli
*
,
const
char
*
param
,
const
char
*
val
);
void
MCF_ParamProtect
(
struct
cli
*
,
const
char
*
arg
);
void
MCF_ParamProtect
(
struct
cli
*
,
const
char
*
arg
);
void
MCF_DumpRst
(
void
);
void
MCF_DumpRst
Param
(
void
);
extern
struct
params
mgt_param
;
extern
struct
params
mgt_param
;
/* mgt_sandbox.c */
/* mgt_sandbox.c */
...
...
bin/varnishd/mgt/mgt_main.c
View file @
f41fbd19
...
@@ -458,8 +458,8 @@ main(int argc, char * const *argv)
...
@@ -458,8 +458,8 @@ main(int argc, char * const *argv)
VCS_Message
(
"varnishd"
);
VCS_Message
(
"varnishd"
);
exit
(
0
);
exit
(
0
);
case
'x'
:
case
'x'
:
if
(
!
strcmp
(
optarg
,
"dumprst"
))
{
if
(
!
strcmp
(
optarg
,
"dumprst
param
"
))
{
MCF_DumpRst
();
MCF_DumpRst
Param
();
exit
(
0
);
exit
(
0
);
}
}
usage
();
usage
();
...
...
bin/varnishd/mgt/mgt_param.c
View file @
f41fbd19
...
@@ -1503,14 +1503,14 @@ MCF_ParamInit(struct cli *cli)
...
@@ -1503,14 +1503,14 @@ MCF_ParamInit(struct cli *cli)
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
void
void
MCF_DumpRst
(
void
)
MCF_DumpRst
Param
(
void
)
{
{
const
struct
parspec
*
pp
;
const
struct
parspec
*
pp
;
const
char
*
p
,
*
q
;
const
char
*
p
,
*
q
;
int
i
;
int
i
;
printf
(
"
\n
.. The following is the autogenerated "
printf
(
"
\n
.. The following is the autogenerated "
"output from varnishd -x dumprst
\n\n
"
);
"output from varnishd -x dumprst
param
\n\n
"
);
for
(
i
=
0
;
i
<
nparspec
;
i
++
)
{
for
(
i
=
0
;
i
<
nparspec
;
i
++
)
{
pp
=
parspecs
[
i
];
pp
=
parspecs
[
i
];
printf
(
"%s
\n
"
,
pp
->
name
);
printf
(
"%s
\n
"
,
pp
->
name
);
...
...
bin/varnishtest/tests/a00009.vtc
View file @
f41fbd19
varnishtest "Code coverage of VCL compiler and RSTdump"
varnishtest "Code coverage of VCL compiler and RSTdump"
shell "cd ${topbuild}/bin/varnishd && ./varnishd -b 127.0.0.1:80 -C -n ${tmpdir} > /dev/null 2>&1"
shell "cd ${topbuild}/bin/varnishd && ./varnishd -b 127.0.0.1:80 -C -n ${tmpdir} > /dev/null 2>&1"
shell "cd ${topbuild}/bin/varnishd && ./varnishd -x dumprst > /dev/null 2>&1"
shell "cd ${topbuild}/bin/varnishd && ./varnishd -x dumprst
param
> /dev/null 2>&1"
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