diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/selection.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/linux/selection.h')
-rw-r--r-- | include/linux/selection.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/linux/selection.h b/include/linux/selection.h new file mode 100644 index 000000000000..ed3408b400f1 --- /dev/null +++ b/include/linux/selection.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * selection.h | ||
3 | * | ||
4 | * Interface between console.c, tty_io.c, vt.c, vc_screen.c and selection.c | ||
5 | */ | ||
6 | |||
7 | #ifndef _LINUX_SELECTION_H_ | ||
8 | #define _LINUX_SELECTION_H_ | ||
9 | |||
10 | #include <linux/tiocl.h> | ||
11 | #include <linux/vt_buffer.h> | ||
12 | |||
13 | extern struct vc_data *sel_cons; | ||
14 | |||
15 | extern void clear_selection(void); | ||
16 | extern int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty); | ||
17 | extern int paste_selection(struct tty_struct *tty); | ||
18 | extern int sel_loadlut(char __user *p); | ||
19 | extern int mouse_reporting(void); | ||
20 | extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry); | ||
21 | |||
22 | extern int console_blanked; | ||
23 | |||
24 | extern unsigned char color_table[]; | ||
25 | extern int default_red[]; | ||
26 | extern int default_grn[]; | ||
27 | extern int default_blu[]; | ||
28 | |||
29 | extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed); | ||
30 | extern u16 screen_glyph(struct vc_data *vc, int offset); | ||
31 | extern void complement_pos(struct vc_data *vc, int offset); | ||
32 | extern void invert_screen(struct vc_data *vc, int offset, int count, int shift); | ||
33 | |||
34 | extern void getconsxy(struct vc_data *vc, unsigned char *p); | ||
35 | extern void putconsxy(struct vc_data *vc, unsigned char *p); | ||
36 | |||
37 | extern u16 vcs_scr_readw(struct vc_data *vc, const u16 *org); | ||
38 | extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org); | ||
39 | |||
40 | #endif | ||