summaryrefslogtreecommitdiff
path: root/console/console.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-06-05 02:00:32 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-06-05 02:00:32 +0000
commitcb387b25d318025c67c422d509253d824a7764f1 (patch)
tree671b4093bcce8ffe84524a4b52be00fb762274f6 /console/console.h
parent94d1c5884949b21303e66b80c00c1690ec0d9d60 (diff)
2002-06-05 Marcus Brinkmann <marcus@gnu.org>
* input.h: New file. * input.c: Likewise. * console.h: Likewise. * console.c: Likewise. * display.h: New development version. * display.c: Likewise. * Makefile (SRCS): Replace with files for new console server. (LCLHDRS): Likewise. (HURDLIBS): Likewise. (OBJS): Likewise.
Diffstat (limited to 'console/console.h')
-rw-r--r--console/console.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/console/console.h b/console/console.h
new file mode 100644
index 00000000..3642bfe4
--- /dev/null
+++ b/console/console.h
@@ -0,0 +1,35 @@
+/* console.h -- Interfaces for the console server.
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ Written by Marcus Brinkmann.
+
+ This program 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.
+
+ This program 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 this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#ifndef CONSOLE_H
+#define CONSOLE_H
+
+#include <hurd/netfs.h>
+#include <rwlock.h>
+#include <maptime.h>
+
+/* Handy source of time. */
+volatile struct mapped_time_value *console_maptime;
+
+/* A handle for a console device. */
+typedef struct cons *cons_t;
+
+/* A handle for a virtual console device. */
+typedef struct vcons *vcons_t;
+
+#endif /* CONSOLE_H */