GDB copyright headers update after running GDB's copyright.py script.
[deliverable/binutils-gdb.git] / gdb / cli / cli-setshow.h
CommitLineData
d318976c 1/* Header file for GDB CLI set and show commands implementation.
618f726f 2 Copyright (C) 2000-2016 Free Software Foundation, Inc.
d318976c
FN
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
a9762ec7 6 the Free Software Foundation; either version 3 of the License, or
d318976c
FN
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
a9762ec7 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
d318976c
FN
16
17#if !defined (CLI_SETSHOW_H)
18#define CLI_SETSHOW_H 1
19
da3331ec
AC
20struct cmd_list_element;
21
bd712aed
DE
22/* Parse ARG, an option to a boolean variable.
23 Returns 1 for true, 0 for false, and -1 if invalid. */
5bc98e52 24extern int parse_cli_boolean_value (const char *arg);
d318976c 25
06900326 26extern void do_set_command (const char *arg, int from_tty,
5b9afe8a 27 struct cmd_list_element *c);
06900326 28extern void do_show_command (const char *arg, int from_tty,
5b9afe8a 29 struct cmd_list_element *c);
d318976c 30
d318976c 31extern void cmd_show_list (struct cmd_list_element *list, int from_tty,
64e61d29 32 const char *prefix);
d318976c
FN
33
34#endif /* !defined (CLI_SETSHOW_H) */
This page took 0.98576 seconds and 4 git commands to generate.