gdb/
[deliverable/binutils-gdb.git] / gdb / cli-out.h
CommitLineData
8b93c638 1/* Output generating routines for GDB CLI.
7b6bb8da 2 Copyright (C) 1999, 2000, 2007, 2008, 2009, 2010, 2011
4c38e0a4 3 Free Software Foundation, Inc.
8b93c638
JM
4 Contributed by Cygnus Solutions.
5
6 This file is part of GDB.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
a9762ec7 10 the Free Software Foundation; either version 3 of the License, or
8b93c638
JM
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
a9762ec7 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
8b93c638
JM
20
21#ifndef CLI_OUT_H
22#define CLI_OUT_H
23
0a8fce9a 24#include "ui-out.h"
14dba4b4
JK
25#include "vec.h"
26
27/* Used for cli_ui_out_data->streams. */
28
29typedef struct ui_file *ui_filep;
30DEF_VEC_P (ui_filep);
0a8fce9a
PA
31
32/* These are exported so that they can be extended by other `ui_out'
33 implementations, like TUI's. */
34
35struct cli_ui_out_data
36 {
14dba4b4 37 VEC (ui_filep) *streams;
0a8fce9a
PA
38 int suppress_output;
39 };
40
41extern struct ui_out_impl cli_ui_out_impl;
42
da3331ec 43
8b93c638
JM
44extern struct ui_out *cli_out_new (struct ui_file *stream);
45
0a8fce9a
PA
46extern void cli_out_data_ctor (struct cli_ui_out_data *data,
47 struct ui_file *stream);
48
4389a95a
AC
49extern struct ui_file *cli_out_set_stream (struct ui_out *uiout,
50 struct ui_file *stream);
51
8b93c638 52#endif
This page took 0.672328 seconds and 4 git commands to generate.