198944Sobrien/* Header file for GDB CLI set and show commands implementation.
298944Sobrien   Copyright 2000, 2001 Free Software Foundation, Inc.
398944Sobrien
498944Sobrien   This program is free software; you can redistribute it and/or modify
598944Sobrien   it under the terms of the GNU General Public License as published by
698944Sobrien   the Free Software Foundation; either version 2 of the License, or
798944Sobrien   (at your option) any later version.
898944Sobrien
998944Sobrien   This program is distributed in the hope that it will be useful,
1098944Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1198944Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1298944Sobrien   GNU General Public License for more details.
1398944Sobrien
1498944Sobrien   You should have received a copy of the GNU General Public License
1598944Sobrien   along with this program; if not, write to the Free Software
1698944Sobrien   Foundation, Inc., 59 Temple Place - Suite 330,
1798944Sobrien   Boston, MA 02111-1307, USA.  */
1898944Sobrien
1998944Sobrien#if !defined (CLI_SETSHOW_H)
2098944Sobrien#define CLI_SETSHOW_H 1
2198944Sobrien
22130803Smarcelstruct cmd_list_element;
23130803Smarcel
2498944Sobrien/* Exported to cli/cli-cmds.c and gdb/top.c */
2598944Sobrien
2698944Sobrien/* Do a "set" or "show" command.  ARG is NULL if no argument, or the text
2798944Sobrien   of the argument, and FROM_TTY is nonzero if this command is being entered
2898944Sobrien   directly by the user (i.e. these are just like any other
2998944Sobrien   command).  C is the command list element for the command.  */
3098944Sobrienextern void do_setshow_command (char *arg, int from_tty,
3198944Sobrien				struct cmd_list_element *c);
3298944Sobrien
3398944Sobrien/* Exported to cli/cli-cmds.c and gdb/top.c, language.c and valprint.c */
3498944Sobrien
3598944Sobrienextern void cmd_show_list (struct cmd_list_element *list, int from_tty,
3698944Sobrien			   char *prefix);
3798944Sobrien
3898944Sobrien#endif /* !defined (CLI_SETSHOW_H) */
39