From 4f177286939c17594eecb77b73c6fd4b9219fc5f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 30 Nov 1995 22:35:17 +0000 Subject: (struct bottomhalf): New type. (bottom, devio_bottom): New vars. --- term/term.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'term') diff --git a/term/term.h b/term/term.h index 175e6ed5..433990ea 100644 --- a/term/term.h +++ b/term/term.h @@ -95,6 +95,24 @@ char *pterm_name; /* The queues we use */ struct queue *inputq, *rawq, *outputq; + +/* Functions a bottom half defines */ +struct bottomhalf +{ + void (*start_output) (void); + void (*set_break) (void); + void (*clear_break) (void); + void (*abandon_physical_output) (void); + void (*pending_output_size) (void); + error_t (*assert_dtr) (void); + void (*desert_dtr) (void); + void (*set_bits) (void); + void (*mdmctl) (int, int); + int (*mdmstate) (void); +}; + +struct bottomhalf *bottom; +extern struct bottomhalf *devio_bottom; /* Character queues */ -- cgit v1.2.3