From a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- libc/kernel/common/linux/tiocl.h | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libc/kernel/common/linux/tiocl.h (limited to 'libc/kernel/common/linux/tiocl.h') diff --git a/libc/kernel/common/linux/tiocl.h b/libc/kernel/common/linux/tiocl.h new file mode 100644 index 0000000..db15a8d --- /dev/null +++ b/libc/kernel/common/linux/tiocl.h @@ -0,0 +1,47 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _LINUX_TIOCL_H +#define _LINUX_TIOCL_H + +#define TIOCL_SETSEL 2 +#define TIOCL_SELCHAR 0 +#define TIOCL_SELWORD 1 +#define TIOCL_SELLINE 2 +#define TIOCL_SELPOINTER 3 +#define TIOCL_SELCLEAR 4 +#define TIOCL_SELMOUSEREPORT 16 +#define TIOCL_SELBUTTONMASK 15 + +struct tiocl_selection { + unsigned short xs; + unsigned short ys; + unsigned short xe; + unsigned short ye; + unsigned short sel_mode; +}; + +#define TIOCL_PASTESEL 3 +#define TIOCL_UNBLANKSCREEN 4 + +#define TIOCL_SELLOADLUT 5 + +#define TIOCL_GETSHIFTSTATE 6 +#define TIOCL_GETMOUSEREPORTING 7 +#define TIOCL_SETVESABLANK 10 +#define TIOCL_SETKMSGREDIRECT 11 +#define TIOCL_GETFGCONSOLE 12 +#define TIOCL_SCROLLCONSOLE 13 +#define TIOCL_BLANKSCREEN 14 +#define TIOCL_BLANKEDSCREEN 15 +#define TIOCL_GETKMSGREDIRECT 17 + +#endif -- cgit v1.1