pccons.h

Go to the documentation of this file.
00001 /*
00002 ** pccons.h for  in /root/work/lseosr2-0.0.17/libkern
00003 ** 
00004 ** Made by Vianney Rancurel
00005 ** Login   <vianney@epita.fr>
00006 ** 
00007 ** Started on  Thu Feb  5 13:47:55 2004 Vianney Rancurel
00008 ** Last update Mon Dec  6 12:21:31 2004 Vianney Rancurel
00009 */
00010 #ifndef __PCCONS_H__
00011 #define __PCCONS_H__    1
00012 #include <libc.h>
00013 
00014 #define CTRL(Ch)        ((Ch) - 'a' + 1)
00015 
00016 /* PROTO pccons.c */
00017 /* pccons.c */
00018 void do_kbd_except(void);
00019 void kbd_except(void);
00020 void create_kbd(void);
00021 int pccons_init(t_ttydev *ttydev, t_tty *tty, void **ttydev_data);
00022 void pccons_destroy(void *ttydev_data);
00023 ssize_t pccons_write(void *ttydev_data, char *buf, int len);
00024 int vcons_init(t_ttydev *ttydev, t_tty *tty, void **ttydev_data);
00025 void vcons_destroy(void *ttydev_data);
00026 int vcons_write(void *ttydev_data, char *buf, int len);
00027 void pccons_class_init(void);
00028 int lpscmd(int argc, char **argv);
00029 int debug_key(char c);
00030 #endif

Generated on Wed May 24 23:05:52 2006 for LSE/OS by  doxygen 1.4.6