xref: /original-bsd/usr.bin/telnet/types.h (revision c3e32dec)
1 /*
2  * Copyright (c) 1988, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)types.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 typedef struct {
11     char *modedescriptions;
12     char modetype;
13 } Modelist;
14 
15 extern Modelist modelist[];
16 
17 typedef struct {
18     int
19 	system,			/* what the current time is */
20 	echotoggle,		/* last time user entered echo character */
21 	modenegotiated,		/* last time operating mode negotiated */
22 	didnetreceive,		/* last time we read data from network */
23 	gotDM;			/* when did we last see a data mark */
24 } Clocks;
25 
26 extern Clocks clocks;
27