1 #ifndef _VT_KERN_H
2 #define _VT_KERN_H
3
4
5
6
7
8
9 #include <linux/vt.h>
10
11 extern struct vt_struct {
12 int vc_num;
13 unsigned char vc_mode;
14 unsigned char vc_kbdraw;
15 unsigned char vc_kbde0;
16 unsigned char vc_kbdleds;
17 struct vt_mode vt_mode;
18 int vt_pid;
19 int vt_newvt;
20 struct wait_queue *paste_wait;
21 } *vt_cons[MAX_NR_CONSOLES];
22
23 void kd_mksound(unsigned int count, unsigned int ticks);
24 int vc_allocate(unsigned int console);
25 int vc_cons_allocated(unsigned int console);
26 int vc_resize(unsigned long lines, unsigned long cols);
27 void vc_disallocate(unsigned int console);
28
29 #endif