* Copyright (c) 1988 Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, Berkeley. The name of the
* University may not be used to endorse or promote products derived
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* @(#)externs.h 1.11 (Berkeley) %G%
extern int errno
; /* outside this world */
*strcpy(); /* outside this world */
flushout
, /* flush output */
connected
, /* Are we connected to the other side? */
globalmode
, /* Mode tty should be in */
In3270
, /* Are we in 3270 mode? */
telnetport
, /* Are we connected to the telnet port? */
localchars
, /* we recognize interrupt/quit */
donelclchars
, /* the user has set "localchars" */
tout
, /* Terminal output file descriptor */
crlf
, /* Should '\r' be mapped to <CR><LF> (or <CR><NUL>)? */
autoflush
, /* flush output when interrupting? */
autosynch
, /* send interrupt characters with SYNCH? */
SYNCHing
, /* Is the stream in telnet SYNCH mode? */
donebinarytoggle
, /* the user has put us in binary */
dontlecho
, /* do we suppress local echoing right now? */
netdata
, /* Print out network data flow */
echoc
, /* Toggle local echoing */
escape
, /* Escape to command mode */
*hostname
, /* Who are we connected to? */
*prompt
; /* Prompt for command. */
*NetTrace
; /* Where debugging output goes */
toplevel
; /* For error conditions. */
#endif /* !defined(NOT43) */
#endif /* defined(NOT43) */
/* Ring buffer structures which are shared */
HaveInput
, /* Whether an asynchronous I/O indication came in */
noasynch
, /* Don't do signals on I/O (SIGURG, SIGIO) */
shell_active
; /* Subshell is active */
*Ibackp
, /* Oldest byte of 3270 data */
Ibuf
[], /* 3270 buffer */
*Ifrontp
, /* Where next 3270 byte goes */
*transcom
; /* Transparent command */
#endif /* defined(TN3270) */