* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
[deliverable/binutils-gdb.git] / gdb / cli / cli-script.h
CommitLineData
d318976c 1/* Header file for GDB CLI command implementation library.
8926118c 2 Copyright 2000, 2002 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
6 the Free Software Foundation; either version 2 of the License, or
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
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA. */
18
19#if !defined (CLI_SCRIPT_H)
20#define CLI_SCRIPT_H 1
21
22/* Exported to cli/cli-cmds.c */
23
24extern void script_from_file (FILE *stream, char *file);
25
26extern void document_command (char *, int);
27
28extern void define_command (char *, int);
29
30extern void while_command (char *arg, int from_tty);
31
32extern void if_command (char *arg, int from_tty);
33
34extern void show_user_1 (struct cmd_list_element *c, struct ui_file *stream);
35
36/* Exported to gdb/breakpoint.c */
37
38extern enum command_control_type
39 execute_control_command (struct command_line *cmd);
40
d318976c
FN
41extern void print_command_lines (struct ui_out *,
42 struct command_line *, unsigned int);
d318976c 43
e1507482
EZ
44extern struct command_line * copy_command_lines (struct command_line *cmds);
45
d318976c
FN
46/* Exported to gdb/infrun.c */
47
48extern void execute_user_command (struct cmd_list_element *c, char *args);
49
50#endif /* !defined (CLI_SCRIPT_H) */
This page took 0.150922 seconds and 4 git commands to generate.