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 ++++++++++++++ c/src/lib/include/sys/ioccom.h | 2 ++ 2 files changed, 16 insertions(+) (limited to 'c/src/lib/include') 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 { diff --git a/c/src/lib/include/sys/ioccom.h b/c/src/lib/include/sys/ioccom.h index 0d15d34b0e..60e16a6c8a 100644 --- a/c/src/lib/include/sys/ioccom.h +++ b/c/src/lib/include/sys/ioccom.h @@ -69,6 +69,8 @@ #define RTEMS_IO_GET_ATTRIBUTES 1 #define RTEMS_IO_SET_ATTRIBUTES 2 #define RTEMS_IO_TCDRAIN 3 +#define RTEMS_IO_RCVWAKEUP 4 +#define RTEMS_IO_SNDWAKEUP 5 /* copied from libnetworking/sys/filio.h and commented out there */ /* Generic file-descriptor ioctl's. */ -- cgit v1.2.3