From f7691e3b7bce05e8f5d11c126243036cd0ba1343 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Aug 2001 20:45:26 +0000 Subject: 2001-08-16 Mike Siers * include/rtems/termiostypes.h, include/sys/ioccom.h: Update of PPPD to 2.3.11 from 2.3.5 touched these files. --- c/src/lib/include/rtems/termiostypes.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'c/src/lib/include/rtems') diff --git a/c/src/lib/include/rtems/termiostypes.h b/c/src/lib/include/rtems/termiostypes.h index 10baa9a15f..fe19bd4cb4 100644 --- a/c/src/lib/include/rtems/termiostypes.h +++ b/c/src/lib/include/rtems/termiostypes.h @@ -21,6 +21,14 @@ extern "C" { #endif +/* + * Wakeup callback data structure + */ +struct ttywakeup { + void (*sw_pfn)__P((struct termios *tty, void *arg)); + void *sw_arg; +}; + /* * Variables associated with the character buffer */ @@ -111,6 +119,12 @@ struct rtems_termios_tty { */ int t_line; /* id of line discipline */ void *t_sc; /* hook for discipline-specific data structure */ + /* + * Wakeup callback variables + */ + struct ttywakeup tty_snd; + struct ttywakeup tty_rcv; + int tty_rcvwakeup; }; struct linesw { -- cgit v1.2.3