gdb/mi/mi-out.h - gdb

Macros defined

Source code

  1. /* MI Command Set - MI output generating routines for GDB.
  2.    Copyright (C) 2000-2015 Free Software Foundation, Inc.
  3.    Contributed by Cygnus Solutions (a Red Hat company).

  4.    This file is part of GDB.

  5.    This program is free software; you can redistribute it and/or modify
  6.    it under the terms of the GNU General Public License as published by
  7.    the Free Software Foundation; either version 3 of the License, or
  8.    (at your option) any later version.

  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.

  13.    You should have received a copy of the GNU General Public License
  14.    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

  15. #ifndef MI_OUT_H
  16. #define MI_OUT_H 1

  17. struct ui_out;
  18. struct ui_file;

  19. extern struct ui_out *mi_out_new (int mi_version);
  20. extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream);
  21. extern void mi_out_rewind (struct ui_out *uiout);
  22. extern void mi_out_buffered (struct ui_out *uiout, char *string);

  23. /* Return the version number of the current MI.  */
  24. extern int mi_version (struct ui_out *uiout);

  25. #endif /* MI_OUT_H */