xref: /csrg-svn/usr.bin/telnet/types.h (revision 62313)
133686Sbostic /*
2*62313Sbostic  * Copyright (c) 1988, 1993
3*62313Sbostic  *	The Regents of the University of California.  All rights reserved.
433686Sbostic  *
542770Sbostic  * %sccs.include.redist.c%
633686Sbostic  *
7*62313Sbostic  *	@(#)types.h	8.1 (Berkeley) 06/06/93
833686Sbostic  */
933686Sbostic 
1032143Sminshall typedef struct {
1132143Sminshall     char *modedescriptions;
1232143Sminshall     char modetype;
1332143Sminshall } Modelist;
1432143Sminshall 
1532143Sminshall extern Modelist modelist[];
1632143Sminshall 
1732143Sminshall typedef struct {
1832143Sminshall     int
1932143Sminshall 	system,			/* what the current time is */
2032143Sminshall 	echotoggle,		/* last time user entered echo character */
2132143Sminshall 	modenegotiated,		/* last time operating mode negotiated */
2232143Sminshall 	didnetreceive,		/* last time we read data from network */
2332143Sminshall 	gotDM;			/* when did we last see a data mark */
2432143Sminshall } Clocks;
2532143Sminshall 
2632143Sminshall extern Clocks clocks;
27