Upgrade GDB from 7.4.1 to 7.6.1 on the vendor branch
[dragonfly.git] / contrib / gdb-7 / gdb / mi / mi-out.h
CommitLineData
5796c8dc 1/* MI Command Set - MI output generating routines for GDB.
ef5ccd6c 2 Copyright (C) 2000-2013 Free Software Foundation, Inc.
5796c8dc
SS
3 Contributed by Cygnus Solutions (a Red Hat company).
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
9 the Free Software Foundation; either version 3 of the License, or
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
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20#ifndef MI_OUT_H
21#define MI_OUT_H 1
22
23struct ui_out;
24struct ui_file;
25
26extern struct ui_out *mi_out_new (int mi_version);
27extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream);
28extern void mi_out_rewind (struct ui_out *uiout);
29extern void mi_out_buffered (struct ui_out *uiout, char *string);
30
31/* Return the version number of the current MI. */
32extern int mi_version (struct ui_out *uiout);
33
34#endif /* MI_OUT_H */