Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetoot...
[linux-2.6-block.git] / drivers / s390 / char / ctrlchar.h
CommitLineData
1da177e4 1/*
1da177e4
LT
2 * Unified handling of special chars.
3 *
a53c8fab 4 * Copyright IBM Corp. 2001
1da177e4
LT
5 * Author(s): Fritz Elfert <felfert@millenux.com> <elfert@de.ibm.com>
6 *
7 */
8
9#include <linux/tty.h>
10
11extern unsigned int
12ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
13
14
15#define CTRLCHAR_NONE (1 << 8)
16#define CTRLCHAR_CTRL (2 << 8)
17#define CTRLCHAR_SYSRQ (3 << 8)
18
19#define CTRLCHAR_MASK (~0xffu)