aboutsummaryrefslogtreecommitdiff
path: root/include/terminal.h
blob: 1215d8b7e1fd3c0b6b14dbee1a393e0f79c42422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _SEATD_TERMINAL_H
#define _SEATD_TERMINAL_H

#include <stdbool.h>

int terminal_open(int vt);

int terminal_set_process_switching(int fd, bool enable);
int terminal_current_vt(int fd);
int terminal_switch_vt(int fd, int vt);
int terminal_ack_switch(int fd);
int terminal_set_keyboard(int fd, bool enable);
int terminal_set_graphics(int fd, bool enable);

#endif