Root/
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 | struct tty_struct; |
14 | |
15 | extern struct vc_data *sel_cons; |
16 | struct tty_struct; |
17 | |
18 | extern void clear_selection(void); |
19 | extern int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty); |
20 | extern int paste_selection(struct tty_struct *tty); |
21 | extern int sel_loadlut(char __user *p); |
22 | extern int mouse_reporting(void); |
23 | extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry); |
24 | |
25 | extern int console_blanked; |
26 | |
27 | extern unsigned char color_table[]; |
28 | extern int default_red[]; |
29 | extern int default_grn[]; |
30 | extern int default_blu[]; |
31 | |
32 | extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed); |
33 | extern u16 screen_glyph(struct vc_data *vc, int offset); |
34 | extern void complement_pos(struct vc_data *vc, int offset); |
35 | extern void invert_screen(struct vc_data *vc, int offset, int count, int shift); |
36 | |
37 | extern void getconsxy(struct vc_data *vc, unsigned char *p); |
38 | extern void putconsxy(struct vc_data *vc, unsigned char *p); |
39 | |
40 | extern u16 vcs_scr_readw(struct vc_data *vc, const u16 *org); |
41 | extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org); |
42 | extern void vcs_scr_updated(struct vc_data *vc); |
43 | |
44 | #endif |
45 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9