]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/mi/mi-out.h
Copyright updates for 2007.
[thirdparty/binutils-gdb.git] / gdb / mi / mi-out.h
CommitLineData
fb40c209 1/* MI Command Set - MI output generating routines for GDB.
6aba47ca 2 Copyright (C) 2000, 2007 Free Software Foundation, Inc.
ab91fdd5 3 Contributed by Cygnus Solutions (a Red Hat company).
fb40c209
AC
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 2 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, write to the Free Software
1caae165
EZ
19 Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
fb40c209
AC
21
22#ifndef MI_OUT_H
23#define MI_OUT_H 1
24
fb40c209
AC
25struct ui_out;
26struct ui_file;
fb40c209 27
b30bf9ee 28extern struct ui_out *mi_out_new (int mi_version);
fb40c209
AC
29extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream);
30extern void mi_out_rewind (struct ui_out *uiout);
31extern void mi_out_buffered (struct ui_out *uiout, char *string);
32
c7ec4050
AC
33/* Return the version number of the current MI. */
34extern int mi_version (struct ui_out *uiout);
35
fb40c209 36#endif /* MI_OUT_H */