summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-30 22:35:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-30 22:35:17 +0000
commit4f177286939c17594eecb77b73c6fd4b9219fc5f (patch)
tree965a31ad849efd6124a26c4644eaecb32d52c0f8
parent63e7800217bfc228816fd89953664688c9b32c8a (diff)
(struct bottomhalf): New type.
(bottom, devio_bottom): New vars.
-rw-r--r--term/term.h18
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 */