aboutsummaryrefslogtreecommitdiff
path: root/include/terminal.h
blob: fb46ce3a806a34783e6eed24e83ba9c2532073a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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_release(int fd);
int terminal_ack_acquire(int fd);
int terminal_set_keyboard(int fd, bool enable);
int terminal_set_graphics(int fd, bool enable);

#endif