root/drivers/char/vt_kern.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _VT_KERN_H
   2 #define _VT_KERN_H
   3 
   4 /*
   5  * this really is an extension of the vc_cons structure in console.c, but
   6  * with information needed by the vt package
   7  */
   8 
   9 #include <linux/vt.h>
  10 
  11 extern struct vt_struct {
  12         int vc_num;                             /* The console number */
  13         unsigned char   vc_mode;                /* KD_TEXT, ... */
  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 /* _VT_KERN_H */

/* [previous][next][first][last][top][bottom][index][help] */