Avoid find_thread_ptid with null_ptid
[deliverable/binutils-gdb.git] / gdb / tui / tui-io.h
CommitLineData
f377b406 1/* TUI support I/O functions.
bcdf1568 2
e2882c85 3 Copyright (C) 1998-2018 Free Software Foundation, Inc.
bcdf1568 4
f377b406
SC
5 Contributed by Hewlett-Packard Company.
6
7 This file is part of GDB.
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
a9762ec7 11 the Free Software Foundation; either version 3 of the License, or
f377b406
SC
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
a9762ec7 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
f377b406 21
bcdf1568
AC
22#ifndef TUI_IO_H
23#define TUI_IO_H
c906108c 24
bcdf1568 25struct ui_out;
112e8700 26class cli_ui_out;
c906108c 27
a198b876
SC
28/* Print the string in the curses command window. */
29extern void tui_puts (const char *);
c906108c 30
9753a2f6
PA
31/* Print LENGTH characters from the buffer pointed to by BUF to the
32 curses command window. */
33extern void tui_write (const char *buf, size_t length);
34
a198b876
SC
35/* Setup the IO for curses or non-curses mode. */
36extern void tui_setup_io (int mode);
37
38/* Initialize the IO for gdb in curses mode. */
39extern void tui_initialize_io (void);
40
e09d2eba
SC
41/* Readline callback.
42 Redisplay the command line with its prompt after readline has
43 changed the edited text. */
44extern void tui_redisplay_readline (void);
45
312809f8
EZ
46/* Expand TABs into spaces. */
47extern char *tui_expand_tabs (const char *, int);
48
2b68e2c5 49extern struct ui_out *tui_out;
112e8700 50extern cli_ui_out *tui_old_uiout;
c906108c 51
c5aa993b 52#endif
This page took 2.08505 seconds and 4 git commands to generate.