~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/selection.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*
  3  * selection.h
  4  *
  5  * Interface between console.c, tty_io.c, vt.c, vc_screen.c and selection.c
  6  */
  7 
  8 #ifndef _LINUX_SELECTION_H_
  9 #define _LINUX_SELECTION_H_
 10 
 11 #include <linux/tiocl.h>
 12 #include <linux/vt_buffer.h>
 13 
 14 struct tty_struct;
 15 struct vc_data;
 16 
 17 void clear_selection(void);
 18 int set_selection_user(const struct tiocl_selection __user *sel,
 19                        struct tty_struct *tty);
 20 int set_selection_kernel(struct tiocl_selection *v, struct tty_struct *tty);
 21 int paste_selection(struct tty_struct *tty);
 22 int sel_loadlut(u32 __user *lut);
 23 int mouse_reporting(void);
 24 void mouse_report(struct tty_struct *tty, int butt, int mrx, int mry);
 25 
 26 bool vc_is_sel(const struct vc_data *vc);
 27 
 28 extern int console_blanked;
 29 
 30 extern const unsigned char color_table[];
 31 extern unsigned char default_red[];
 32 extern unsigned char default_grn[];
 33 extern unsigned char default_blu[];
 34 
 35 unsigned short *screen_pos(const struct vc_data *vc, int w_offset, bool viewed);
 36 u16 screen_glyph(const struct vc_data *vc, int offset);
 37 u32 screen_glyph_unicode(const struct vc_data *vc, int offset);
 38 void complement_pos(struct vc_data *vc, int offset);
 39 void invert_screen(struct vc_data *vc, int offset, int count, bool viewed);
 40 
 41 void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]);
 42 void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]);
 43 
 44 u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org);
 45 void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org);
 46 void vcs_scr_updated(struct vc_data *vc);
 47 
 48 int vc_uniscr_check(struct vc_data *vc);
 49 void vc_uniscr_copy_line(const struct vc_data *vc, void *dest, bool viewed,
 50                          unsigned int row, unsigned int col, unsigned int nr);
 51 
 52 #endif
 53 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php