make source match the man page, handle -number/+number more cleanly
[unix-history] / usr / src / usr.bin / telnet / types.h
CommitLineData
897ce52e
KB
1/*
2 * Copyright (c) 1988 Regents of the University of California.
3 * All rights reserved.
4 *
cb956e54 5 * %sccs.include.redist.c%
897ce52e 6 *
18773698 7 * @(#)types.h 5.1 (Berkeley) %G%
897ce52e
KB
8 */
9
695df23d
GM
10typedef struct {
11 char *modedescriptions;
12 char modetype;
13} Modelist;
14
15extern Modelist modelist[];
16
17typedef 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
26extern Clocks clocks;