aboutsummaryrefslogtreecommitdiffstats
path: root/vt.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-24 09:12:54 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-24 09:12:54 +0100
commit519d0b165c38854e9ece43907e1dffc1c659dbb4 (patch)
treebf22247eb2d6a02771b351df421ee647128b2446 /vt.h
parent4ab7eba10ce61c902ee8949d71359a4f9878ed36 (diff)
downloadfbida-519d0b165c38854e9ece43907e1dffc1c659dbb4.tar.gz
move console handling to vt.c
Diffstat (limited to 'vt.h')
-rw-r--r--vt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vt.h b/vt.h
new file mode 100644
index 0000000..bbba2be
--- /dev/null
+++ b/vt.h
@@ -0,0 +1,7 @@
+extern int console_visible;
+
+int console_switch_init(int fd, void (*redraw)(void));
+int check_console_switch(void);
+
+void console_set_vt(int vtno);
+void console_restore_vt(void);