Commit | Line | Data |
---|---|---|
8b93c638 | 1 | /* Output generating routines for GDB CLI. |
618f726f | 2 | Copyright (C) 1999-2016 Free Software Foundation, Inc. |
8b93c638 JM |
3 | Contributed by Cygnus Solutions. |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
a9762ec7 | 9 | the Free Software Foundation; either version 3 of the License, or |
8b93c638 JM |
10 | (at your option) any later version. |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
a9762ec7 | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
8b93c638 JM |
19 | |
20 | #ifndef CLI_OUT_H | |
21 | #define CLI_OUT_H | |
22 | ||
0a8fce9a | 23 | #include "ui-out.h" |
b9b118c3 | 24 | #include <vector> |
0a8fce9a PA |
25 | |
26 | /* These are exported so that they can be extended by other `ui_out' | |
27 | implementations, like TUI's. */ | |
28 | ||
29 | struct cli_ui_out_data | |
30 | { | |
b9b118c3 | 31 | std::vector<ui_file *> streams; |
0a8fce9a PA |
32 | int suppress_output; |
33 | }; | |
34 | ||
89de4da4 | 35 | extern const struct ui_out_impl cli_ui_out_impl; |
0a8fce9a | 36 | |
da3331ec | 37 | |
8b93c638 JM |
38 | extern struct ui_out *cli_out_new (struct ui_file *stream); |
39 | ||
0a8fce9a PA |
40 | extern void cli_out_data_ctor (struct cli_ui_out_data *data, |
41 | struct ui_file *stream); | |
42 | ||
4389a95a AC |
43 | extern struct ui_file *cli_out_set_stream (struct ui_out *uiout, |
44 | struct ui_file *stream); | |
45 | ||
82083d6d DE |
46 | extern void cli_display_match_list (char **matches, int len, int max); |
47 | ||
8b93c638 | 48 | #endif |