source: svn/trunk/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/linux/selection.h @ 48

Last change on this file since 48 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 1.2 KB
Line 
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
13extern struct vc_data *sel_cons;
14
15extern void clear_selection(void);
16extern int set_selection(const struct tiocl_selection *sel, struct tty_struct *tty);
17extern int paste_selection(struct tty_struct *tty);
18extern int sel_loadlut(char *p);
19extern int mouse_reporting(void);
20extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry);
21
22extern int console_blanked;
23
24extern unsigned char color_table[];
25extern int default_red[];
26extern int default_grn[];
27extern int default_blu[];
28
29extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed);
30extern __u16 screen_glyph(struct vc_data *vc, int offset);
31extern void complement_pos(struct vc_data *vc, int offset);
32extern void invert_screen(struct vc_data *vc, int offset, int count, int shift);
33
34extern void getconsxy(struct vc_data *vc, unsigned char *p);
35extern void putconsxy(struct vc_data *vc, unsigned char *p);
36
37extern __u16 vcs_scr_readw(struct vc_data *vc, const __u16 *org);
38extern void vcs_scr_writew(struct vc_data *vc, __u16 val, __u16 *org);
39
40#endif
Note: See TracBrowser for help on using the repository browser.