[master] 8e8d4e8 Remove declaration of unimplemented CLI commands. Most of these were things we dreamt up without knowing what reality would look like.
Poul-Henning Kamp
phk at varnish-cache.org
Fri May 27 11:55:25 CEST 2011
commit 8e8d4e8aa5f2746fdb1c90a6a7268bd9224e294d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri May 27 09:54:27 2011 +0000
Remove declaration of unimplemented CLI commands. Most of these were
things we dreamt up without knowing what reality would look like.
diff --git a/include/cli.h b/include/cli.h
index e5c4f0c..a82178a 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -78,12 +78,6 @@
"\tList the active bans.", \
0, 0
-#define CLI_URL_STATUS \
- "url.status", \
- "url.status <url>", \
- "\tReturns all metadata for the specified URL", \
- 1, 1
-
#define CLI_VCL_LOAD \
"vcl.load", \
"vcl.load <configname> <filename>", \
@@ -132,30 +126,6 @@
"\tSet parameter value.", \
2,2
-#define CLI_SERVER_FREEZE \
- "server.freeze", \
- "server.freeze", \
- "\tStop the clock, freeze object store.", \
- 0, 0
-
-#define CLI_SERVER_THAW \
- "thaw", \
- "thaw", \
- "\tRestart the clock, unfreeze object store.", \
- 0, 0
-
-#define CLI_SERVER_SUSPEND \
- "suspend", \
- "suspend", \
- "\tStop accepting requests.", \
- 0, 0
-
-#define CLI_SERVER_RESUME \
- "resume", \
- "resume", \
- "\tAccept requests.", \
- 0, 0
-
#define CLI_SERVER_STOP \
"stop", \
"stop", \
@@ -168,42 +138,18 @@
"\tStart the Varnish cache process.", \
0, 0
-#define CLI_SERVER_RESTART \
- "restart", \
- "restart", \
- "\tRestart the Varnish cache process.", \
- 0, 0
-
#define CLI_PING \
"ping", \
"ping [timestamp]", \
"\tKeep connection alive", \
0, 1
-#define CLI_STATS \
- "stats", \
- "stats", \
- "\tShow summary statistics", \
- 0, 0
-
-#define CLI_ZERO \
- "zero", \
- "zero", \
- "\tZero summary statistics", \
- 0, 0
-
#define CLI_HELP \
"help", \
"help [command]", \
"\tShow command/protocol help", \
0, 1
-#define CLI_VERBOSE \
- "verbose", \
- "verbose", \
- "\tEnable/Disable verbosity", \
- 0, 0
-
#define CLI_QUIT \
"quit", \
"quit", \
@@ -240,9 +186,6 @@
"\tClear the last panic, if any.", \
0, 0
-#define CLI_HIDDEN(foo, min_arg, max_arg) \
- foo, NULL, NULL, min_arg, max_arg,
-
/*
* Status/return codes in the CLI protocol
*/
More information about the varnish-commit
mailing list