aboutsummaryrefslogtreecommitdiff
path: root/include/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/terminal.h')
-rw-r--r--include/terminal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/terminal.h b/include/terminal.h
new file mode 100644
index 0000000..c2a49ff
--- /dev/null
+++ b/include/terminal.h
@@ -0,0 +1,14 @@
+#ifndef _SEATD_TERMINAL_H
+#define _SEATD_TERMINAL_H
+
+#include <stdbool.h>
+
+int terminal_setup(int vt);
+int terminal_teardown(int vt);
+int terminal_current_vt(void);
+int terminal_switch_vt(int vt);
+int terminal_ack_switch(void);
+int terminal_set_keyboard(int vt, bool enable);
+int terminal_set_graphics(int vt, bool enable);
+
+#endif