patch-2.4.22 linux-2.4.22/drivers/s390/char/ctrlchar.h
Next file: linux-2.4.22/drivers/s390/misc/chandev.c
Previous file: linux-2.4.22/drivers/s390/char/ctrlchar.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/s390/char/ctrlchar.h
- Orig date:
2001-07-25 14:12:02.000000000 -0700
diff -urN linux-2.4.21/drivers/s390/char/ctrlchar.h linux-2.4.22/drivers/s390/char/ctrlchar.h
@@ -7,9 +7,15 @@
*
*/
-#include <linux/config.h>
-#include <linux/types.h>
#include <linux/tty.h>
+extern unsigned int
+ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
extern void ctrlchar_init(void);
-extern char *ctrlchar_handle(const char *buf, int len, struct tty_struct *tty);
+
+
+#define CTRLCHAR_NONE (1 << 8)
+#define CTRLCHAR_CTRL (2 << 8)
+#define CTRLCHAR_SYSRQ (3 << 8)
+
+#define CTRLCHAR_MASK (~0xffu)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)