summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/command.h b/lib/command.h
index 4d60c5b4fe..bdf30b6f3c 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -187,13 +187,10 @@ enum cmd_token_type
*/
struct cmd_token
{
- enum cmd_token_type type; // token type
-
+ enum cmd_token_type type; // token type
char *text; // token text
char *desc; // token description
-
long long min, max; // for ranges
-
char *arg; // user input that matches this token
};
@@ -419,7 +416,6 @@ extern void cmd_free_strvec (vector);
extern char *cmd_concat_strvec (vector);
extern vector cmd_describe_command (vector, struct vty *, int *status);
extern char **cmd_complete_command (vector, struct vty *, int *status);
-extern char **cmd_complete_command_lib (vector, struct vty *, int *status, int islib);
extern const char *cmd_prompt (enum node_type);
extern int command_config_read_one_line (struct vty *vty, struct cmd_element **, int use_config_node);
extern int config_from_file (struct vty *, FILE *, unsigned int *line_num);