diff options
author | Alan Cox <alan@linux.intel.com> | 2009-09-19 13:13:25 -0700 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 13:13:25 -0700 |
commit | a5eb56242d1e2d82938a066219ac1cdf0d68adc8 (patch) | |
tree | 09e72d0ac44e7494499936fea0ad3fe1b5ce5633 /include/linux/vt_kern.h | |
parent | 8d233558cd99a888571bb5a88a74970879e0aba4 (diff) | |
download | op-kernel-dev-a5eb56242d1e2d82938a066219ac1cdf0d68adc8.zip op-kernel-dev-a5eb56242d1e2d82938a066219ac1cdf0d68adc8.tar.gz |
vt: move kernel stuff out of vt.h
We have vt_kern.h for this
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/vt_kern.h')
-rw-r--r-- | include/linux/vt_kern.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index 5b53efe..c0c4e11 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -13,6 +13,7 @@ #include <linux/console_struct.h> #include <linux/mm.h> #include <linux/consolemap.h> +#include <linux/notifier.h> /* * Presently, a lot of graphics programs do not restore the contents of @@ -118,4 +119,15 @@ 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 */ |