xref: /dragonfly/contrib/gdb-7/gdb/cli/cli-setshow.h (revision ef5ccd6c)
15796c8dcSSimon Schubert /* Header file for GDB CLI set and show commands implementation.
2*ef5ccd6cSJohn Marino    Copyright (C) 2000-2013 Free Software Foundation, Inc.
35796c8dcSSimon Schubert 
45796c8dcSSimon Schubert    This program is free software; you can redistribute it and/or modify
55796c8dcSSimon Schubert    it under the terms of the GNU General Public License as published by
65796c8dcSSimon Schubert    the Free Software Foundation; either version 3 of the License, or
75796c8dcSSimon Schubert    (at your option) any later version.
85796c8dcSSimon Schubert 
95796c8dcSSimon Schubert    This program is distributed in the hope that it will be useful,
105796c8dcSSimon Schubert    but WITHOUT ANY WARRANTY; without even the implied warranty of
115796c8dcSSimon Schubert    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
125796c8dcSSimon Schubert    GNU General Public License for more details.
135796c8dcSSimon Schubert 
145796c8dcSSimon Schubert    You should have received a copy of the GNU General Public License
155796c8dcSSimon Schubert    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
165796c8dcSSimon Schubert 
175796c8dcSSimon Schubert #if !defined (CLI_SETSHOW_H)
185796c8dcSSimon Schubert #define CLI_SETSHOW_H 1
195796c8dcSSimon Schubert 
205796c8dcSSimon Schubert struct cmd_list_element;
215796c8dcSSimon Schubert 
225796c8dcSSimon Schubert /* Exported to cli/cli-cmds.c and gdb/top.c */
235796c8dcSSimon Schubert 
24*ef5ccd6cSJohn Marino extern void do_set_command (char *arg, int from_tty,
25*ef5ccd6cSJohn Marino 			    struct cmd_list_element *c);
26*ef5ccd6cSJohn Marino extern void do_show_command (char *arg, int from_tty,
275796c8dcSSimon Schubert 			     struct cmd_list_element *c);
285796c8dcSSimon Schubert 
295796c8dcSSimon Schubert /* Exported to cli/cli-cmds.c and gdb/top.c, language.c and valprint.c */
305796c8dcSSimon Schubert 
315796c8dcSSimon Schubert extern void cmd_show_list (struct cmd_list_element *list, int from_tty,
325796c8dcSSimon Schubert 			   char *prefix);
335796c8dcSSimon Schubert 
345796c8dcSSimon Schubert #endif /* !defined (CLI_SETSHOW_H) */
35