summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/termiostypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/include/rtems/termiostypes.h')
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index 10baa9a15f..fe19bd4cb4 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/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 {