X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fvt_kern.h;h=c0c4e1103a73e4c6e735de2c0ab22987a7e0326b;hb=53cddfcc0e760d2b364878b6dadbd0c6d087cfae;hp=f8c797d57c8b507c14ba5d0843e35b13c4ffdcfc;hpb=8b92e87d39bfd046e7581e1fe0f40eac40f88608;p=pandora-kernel.git diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index f8c797d57c8b..c0c4e1103a73 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -13,6 +13,7 @@ #include #include #include +#include /* * Presently, a lot of graphics programs do not restore the contents of @@ -117,4 +118,16 @@ struct vt_spawn_console { }; extern struct vt_spawn_console vt_spawn_con; +extern int vt_move_to_console(unsigned int vt, int alloc); + +/* Interfaces for VC notification of character events (for accessibility etc) */ + +struct vt_notifier_param { + struct vc_data *vc; /* VC on which the update happened */ + unsigned int c; /* Printed char */ +}; + +extern int register_vt_notifier(struct notifier_block *nb); +extern int unregister_vt_notifier(struct notifier_block *nb); + #endif /* _VT_KERN_H */