[BACK]Return to externs.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/externs.h between version 1.1 and 1.2

version 1.1, 1995/10/18 08:46:14 version 1.2, 1996/03/27 19:33:01
Line 1 
Line 1 
   /*      $OpenBSD$       */
   /*      $NetBSD: externs.h,v 1.8 1996/02/28 21:03:58 thorpej Exp $      */
   
 /*  /*
  * Copyright (c) 1988, 1990, 1993   * Copyright (c) 1988, 1990, 1993
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
Line 30 
Line 33 
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      from: @(#)externs.h     8.1 (Berkeley) 6/6/93   *      from: @(#)externs.h     8.3 (Berkeley) 5/30/95
  *      $Id$  
  */   */
   
 #ifndef BSD  #ifndef BSD
Line 85 
Line 87 
   
 #ifndef NO_STRING_H  #ifndef NO_STRING_H
 #include <string.h>  #include <string.h>
 #endif  #else
 #include <strings.h>  #include <strings.h>
   #endif
   
 #ifndef _POSIX_VDISABLE  #ifndef _POSIX_VDISABLE
 # ifdef sun  # ifdef sun
Line 105 
Line 108 
 extern int errno;               /* outside this world */  extern int errno;               /* outside this world */
 #endif /* !CRAY */  #endif /* !CRAY */
   
 #if     !defined(P)  #include <sys/cdefs.h>
 # ifdef __STDC__  #define P __P
 #  define       P(x)    x  
 # else  
 #  define       P(x)    ()  
 # endif  
 #endif  
   
 extern int  extern int
     autologin,          /* Autologin enabled */      autologin,          /* Autologin enabled */
Line 120 
Line 118 
     flushout,           /* flush output */      flushout,           /* flush output */
     connected,          /* Are we connected to the other side? */      connected,          /* Are we connected to the other side? */
     globalmode,         /* Mode tty should be in */      globalmode,         /* Mode tty should be in */
     In3270,                     /* Are we in 3270 mode? */      In3270,             /* Are we in 3270 mode? */
     telnetport,         /* Are we connected to the telnet port? */      telnetport,         /* Are we connected to the telnet port? */
     localflow,          /* Flow control handled locally */      localflow,          /* Flow control handled locally */
     restartany,         /* If flow control, restart output on any character */      restartany,         /* If flow control, restart output on any character */
     localchars,         /* we recognize interrupt/quit */      localchars,         /* we recognize interrupt/quit */
     donelclchars,               /* the user has set "localchars" */      donelclchars,       /* the user has set "localchars" */
     showoptions,      showoptions,
     net,                /* Network file descriptor */      net,                /* Network file descriptor */
     tin,                /* Terminal input file descriptor */      tin,                /* Terminal input file descriptor */
Line 146 
Line 144 
 #endif  /* defined(TN3270) */  #endif  /* defined(TN3270) */
     termdata,           /* Print out terminal data flow */      termdata,           /* Print out terminal data flow */
 #endif  /* defined(unix) */  #endif  /* defined(unix) */
     debug,                      /* Debug level */      debug,              /* Debug level */
     clienteof;          /* Client received EOF */      clienteof;          /* Client received EOF */
   
 extern cc_t escape;     /* Escape to command mode */  extern cc_t escape;     /* Escape to command mode */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2