aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/cli.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-12-09 10:45:47 -0500
committerFlorin Coras <florin.coras@gmail.com>2019-12-09 21:19:47 +0000
commit6b3f25caff262b536a5449ac5461dd041c92a655 (patch)
tree89b0440162675b6ec4650cc30ec6908be84abb18 /src/vlib/cli.h
parent5224b5cbd51ed48d1d2ce2a412998d8a944c480b (diff)
vlib: improve test coverage
Add tests. Remove unused rule-based parser code. Type: test Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I3ca3a9dd9da8ee8f3a47004c98f2f5644db10057
Diffstat (limited to 'src/vlib/cli.h')
-rw-r--r--src/vlib/cli.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vlib/cli.h b/src/vlib/cli.h
index 6d6d7e2b7fa..df9ed7212bc 100644
--- a/src/vlib/cli.h
+++ b/src/vlib/cli.h
@@ -140,15 +140,6 @@ typedef struct
/* Hash table mapping normalized path to index into all_commands. */
uword *command_index_by_path;
- /* Vector of all known parse rules. */
- vlib_cli_parse_rule_t *parse_rules;
-
- /* Hash table mapping parse rule name to index into parse_rule vector. */
- uword *parse_rule_index_by_name;
-
- /* Data parsed for rules. */
- void **parse_rule_data;
-
/* registration list added by constructors */
vlib_cli_command_t *cli_command_registrations;