summaryrefslogtreecommitdiff
path: root/init/ttys.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-06-13 21:02:55 +0000
committerRoland McGrath <roland@gnu.org>1999-06-13 21:02:55 +0000
commit839eaaea67dadbacfe916b7de3a6bd3deb6ddbbe (patch)
treed9c058a089bc7b3630eb22fdcaa9fce36811780c /init/ttys.h
parentaef967913aed7cb43f456a0c48b0b016207ef210 (diff)
1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
Diffstat (limited to 'init/ttys.h')
-rw-r--r--init/ttys.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/init/ttys.h b/init/ttys.h
new file mode 100644
index 00000000..db59f16d
--- /dev/null
+++ b/init/ttys.h
@@ -0,0 +1,22 @@
+/* Declarations for /etc/ttys support for Hurd init
+ Copyright (C) 1999 Free Software Foundation, Inc.
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with the GNU Hurd; see the file COPYING. If not, write to
+ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+int init_ttys (), startup_ttys ();
+void reread_ttys (), free_ttys ();
+
+void restart_terminal (pid_t pid);