diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 20:45:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 20:45:26 +0000 |
commit | f7691e3b7bce05e8f5d11c126243036cd0ba1343 (patch) | |
tree | 1e63145e4f616c27138d6260885c2e9a08ffdb87 /c/src/exec/libcsupport/include | |
parent | 2001-08-16 Mike Siers <mikes@poliac.com> (diff) | |
download | rtems-f7691e3b7bce05e8f5d11c126243036cd0ba1343.tar.bz2 |
2001-08-16 Mike Siers <mikes@poliac.com>
* include/rtems/termiostypes.h, include/sys/ioccom.h:
Update of PPPD to 2.3.11 from 2.3.5 touched these files.
Diffstat (limited to 'c/src/exec/libcsupport/include')
-rw-r--r-- | c/src/exec/libcsupport/include/rtems/termiostypes.h | 14 | ||||
-rw-r--r-- | c/src/exec/libcsupport/include/sys/ioccom.h | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/termiostypes.h b/c/src/exec/libcsupport/include/rtems/termiostypes.h index 10baa9a15f..fe19bd4cb4 100644 --- a/c/src/exec/libcsupport/include/rtems/termiostypes.h +++ b/c/src/exec/libcsupport/include/rtems/termiostypes.h @@ -22,6 +22,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 */ struct rtems_termios_rawbuf { @@ -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/exec/libcsupport/include/sys/ioccom.h b/c/src/exec/libcsupport/include/sys/ioccom.h index 0d15d34b0e..60e16a6c8a 100644 --- a/c/src/exec/libcsupport/include/sys/ioccom.h +++ b/c/src/exec/libcsupport/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. */ |