summaryrefslogtreecommitdiff
path: root/usr.bin/telnet/externs.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-12 17:31:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-12 17:31:45 +0000
commit80fef7aaf92b4b0b4a55c8f915d422670f89af55 (patch)
treecab2387b6c9c1889185891c82b9847667fad5a0c /usr.bin/telnet/externs.h
parentda4f6e72b9dec750ea01a6630dcd519f57e2f920 (diff)
repair tn3270
Diffstat (limited to 'usr.bin/telnet/externs.h')
-rw-r--r--usr.bin/telnet/externs.h29
1 files changed, 28 insertions, 1 deletions
diff --git a/usr.bin/telnet/externs.h b/usr.bin/telnet/externs.h
index de15608e0d7..187b9b78d75 100644
--- a/usr.bin/telnet/externs.h
+++ b/usr.bin/telnet/externs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: externs.h,v 1.3 1998/03/12 04:57:31 art Exp $ */
+/* $OpenBSD: externs.h,v 1.4 1998/03/12 17:31:32 deraadt Exp $ */
/* $KTH: externs.h,v 1.16 1997/11/29 02:28:35 joda Exp $ */
/*
@@ -80,6 +80,10 @@ extern int
crmod,
netdata, /* Print out network data flow */
prettydump, /* Print "netdata" output in user readable format */
+#if defined(TN3270)
+ cursesdata, /* Print out curses data flow */
+ apitrace, /* Trace API transactions */
+#endif /* defined(TN3270) */
termdata, /* Print out terminal data flow */
debug; /* Debug level */
@@ -429,3 +433,26 @@ extern Ring
ttyoring,
ttyiring;
+/* Tn3270 section */
+#if defined(TN3270)
+
+extern int
+ HaveInput, /* Whether an asynchronous I/O indication came in */
+ noasynchtty, /* Don't do signals on I/O (SIGURG, SIGIO) */
+ noasynchnet, /* Don't do signals on I/O (SIGURG, SIGIO) */
+ sigiocount, /* Count of SIGIO receptions */
+ shell_active; /* Subshell is active */
+
+extern char
+ *Ibackp, /* Oldest byte of 3270 data */
+ Ibuf[], /* 3270 buffer */
+ *Ifrontp, /* Where next 3270 byte goes */
+ tline[],
+ *transcom; /* Transparent command */
+
+extern int
+ settranscom P((int, char**));
+
+extern void
+ inputAvailable P((int));
+#endif /* defined(TN3270) */