]>
Commit | Line | Data |
---|---|---|
32c9fc6d DWF |
1 | /* |
2 | * consoles.h Header file for routines to detect the system consoles | |
3 | * | |
4 | * Copyright (c) 2011 SuSE LINUX Products GmbH, All rights reserved. | |
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 2, or (at your option) | |
9 | * 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 (see the file COPYING); if not, write to the | |
18 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | |
19 | * MA 02110-1301, USA. | |
20 | * | |
21 | * Author: Werner Fink <werner@suse.de> | |
22 | */ | |
23 | ||
24 | #include <termios.h> | |
25 | ||
26 | struct console { | |
27 | char * tty; | |
28 | int tlock; | |
29 | struct termios ltio, otio; | |
30 | struct console *next; | |
31 | }; | |
32 | extern struct console *consoles; | |
33 | extern void detect_consoles(void); |