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