GDB (xrefs)

/tmp/gdb-8.1/gdb/terminal.h
Go to the documentation of this file.
1 /* Terminal interface definitions for GDB, the GNU Debugger.
2 Copyright (C) 1986-2018 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18
19 #if !defined (TERMINAL_H)
20 #define TERMINAL_H 1
21
22 struct inferior;
23
24 extern void new_tty_prefork (const char *);
25
26 extern void new_tty (void);
27
28 extern void new_tty_postfork (void);
29
30 extern void copy_terminal_info (struct inferior *to, struct inferior *from);
31
32 extern pid_t create_tty_session (void);
33
34 /* Set up a serial structure describing standard input. In inflow.c. */
35 extern void initialize_stdin_serial (void);
36
37 extern void gdb_save_tty_state (void);
38
39 /* Take a snapshot of our initial tty state before readline/ncurses
40 have had a chance to alter it. */
41 extern void set_initial_gdb_ttystate (void);
42
43 #endif /* !defined (TERMINAL_H) */
initialize_stdin_serial
void initialize_stdin_serial(void)
Definition: inflow.c:762
inferior
Definition: inferior.h:310
new_tty_prefork
void new_tty_prefork(const char *)
Definition: inflow.c:587
create_tty_session
pid_t create_tty_session(void)
Definition: inflow.c:736
set_initial_gdb_ttystate
void set_initial_gdb_ttystate(void)
Definition: inflow.c:158
new_tty_postfork
void new_tty_postfork(void)
Definition: inflow.c:671
gdb_save_tty_state
void gdb_save_tty_state(void)
Definition: inflow.c:229
copy_terminal_info
void copy_terminal_info(struct inferior *to, struct inferior *from)
Definition: inflow.c:466
new_tty
void new_tty(void)
Definition: inflow.c:610