2005-02-18 Andrew Cagney <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_integer_cmd): New function.
	* command.h (add_setshow_integer_cmd): Declare.
	* cli/cli-cmds.c: Update.
This commit is contained in:
Andrew Cagney 2005-02-18 20:57:16 +00:00
parent 35096d9d67
commit c0d88b1be7
4 changed files with 50 additions and 11 deletions

View file

@ -301,6 +301,17 @@ extern void add_setshow_string_noescape_cmd (char *name,
struct cmd_list_element **set_list,
struct cmd_list_element **show_list);
extern void add_setshow_integer_cmd (char *name,
enum command_class class,
unsigned int *var,
const char *set_doc,
const char *show_doc,
const char *help_doc,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
struct cmd_list_element **show_list);
extern void add_setshow_uinteger_cmd (char *name,
enum command_class class,
unsigned int *var,