diff options
Diffstat (limited to 'gdb/tui/tuiIO.h')
-rw-r--r-- | gdb/tui/tuiIO.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gdb/tui/tuiIO.h b/gdb/tui/tuiIO.h index 303867c..2ad92ce 100644 --- a/gdb/tui/tuiIO.h +++ b/gdb/tui/tuiIO.h @@ -24,16 +24,17 @@ #include <stdio.h> -extern void tuiPuts_unfiltered (const char *, struct ui_file *); -extern unsigned int tuiGetc (void); -extern unsigned int tuiBufferGetc (void); -extern int tuiRead (int, char *, int); -extern void tuiStartNewLines (int); -extern void tui_vStartNewLines (va_list); -extern unsigned int tui_vwgetch (va_list); -extern void tuiTermSetup (int); -extern void tuiTermUnsetup (int, int); +/* Print the string in the curses command window. */ +extern void tui_puts (const char *); +/* Setup the IO for curses or non-curses mode. */ +extern void tui_setup_io (int mode); + +/* Initialize the IO for gdb in curses mode. */ +extern void tui_initialize_io (void); + +/* Get a character from the command window. */ +extern int tui_getc (FILE*); #define m_tuiStartNewLine tuiStartNewLines(1) @@ -58,4 +59,4 @@ extern void tuiTermUnsetup (int, int); #endif -/*_TUI_IO_H*/ + |