Blame view
include/linux/selection.h
1.81 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4c Linux-2.6.12-rc2 |
2 3 4 5 6 7 8 9 10 11 12 |
/* * selection.h * * Interface between console.c, tty_io.c, vt.c, vc_screen.c and selection.c */ #ifndef _LINUX_SELECTION_H_ #define _LINUX_SELECTION_H_ #include <linux/tiocl.h> #include <linux/vt_buffer.h> |
120c0b6d5 vt: Fix warnings ... |
13 |
struct tty_struct; |
dce05aa6e vt: selection, in... |
14 |
struct vc_data; |
1da177e4c Linux-2.6.12-rc2 |
15 16 |
extern void clear_selection(void); |
496124e5e vt: selection: al... |
17 18 19 20 |
extern int set_selection_user(const struct tiocl_selection __user *sel, struct tty_struct *tty); extern int set_selection_kernel(struct tiocl_selection *v, struct tty_struct *tty); |
1da177e4c Linux-2.6.12-rc2 |
21 22 23 24 |
extern int paste_selection(struct tty_struct *tty); extern int sel_loadlut(char __user *p); extern int mouse_reporting(void); extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry); |
dce05aa6e vt: selection, in... |
25 26 |
bool vc_is_sel(struct vc_data *vc); |
1da177e4c Linux-2.6.12-rc2 |
27 28 |
extern int console_blanked; |
8ede5cce4 tty: vt, make col... |
29 |
extern const unsigned char color_table[]; |
91e74ca5e tty: vt, use prop... |
30 31 32 |
extern unsigned char default_red[]; extern unsigned char default_grn[]; extern unsigned char default_blu[]; |
1da177e4c Linux-2.6.12-rc2 |
33 |
|
d73568c4c vt: make vc_data ... |
34 |
extern unsigned short *screen_pos(const struct vc_data *vc, int w_offset, |
b8209f694 vc: propagate "vi... |
35 |
bool viewed); |
d73568c4c vt: make vc_data ... |
36 37 |
extern u16 screen_glyph(const struct vc_data *vc, int offset); extern u32 screen_glyph_unicode(const struct vc_data *vc, int offset); |
1da177e4c Linux-2.6.12-rc2 |
38 |
extern void complement_pos(struct vc_data *vc, int offset); |
b8209f694 vc: propagate "vi... |
39 |
extern void invert_screen(struct vc_data *vc, int offset, int count, bool viewed); |
1da177e4c Linux-2.6.12-rc2 |
40 |
|
a5c6bd806 vt: declare xy fo... |
41 42 |
extern void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]); extern void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]); |
1da177e4c Linux-2.6.12-rc2 |
43 |
|
d73568c4c vt: make vc_data ... |
44 |
extern u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org); |
1da177e4c Linux-2.6.12-rc2 |
45 |
extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org); |
432c9ed22 vcs: invoke the v... |
46 |
extern void vcs_scr_updated(struct vc_data *vc); |
1da177e4c Linux-2.6.12-rc2 |
47 |
|
d21b0be24 vt: introduce uni... |
48 |
extern int vc_uniscr_check(struct vc_data *vc); |
d73568c4c vt: make vc_data ... |
49 |
extern void vc_uniscr_copy_line(const struct vc_data *vc, void *dest, |
b8209f694 vc: propagate "vi... |
50 |
bool viewed, |
d21b0be24 vt: introduce uni... |
51 52 |
unsigned int row, unsigned int col, unsigned int nr); |
1da177e4c Linux-2.6.12-rc2 |
53 |
#endif |