diff options
Diffstat (limited to 'term/term.h')
-rw-r--r-- | term/term.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 */ |