1: /*
2: * Copyright 1984, 1985 by the Regents of the University of
3: * California and by Gregory Glenn Minshall.
4: *
5: * Permission to use, copy, modify, and distribute these
6: * programs and their documentation for any purpose and
7: * without fee is hereby granted, provided that this
8: * copyright and permission appear on all copies and
9: * supporting documentation, the name of the Regents of
10: * the University of California not be used in advertising
11: * or publicity pertaining to distribution of the programs
12: * without specific prior permission, and notice be given in
13: * supporting documentation that copying and distribution is
14: * by permission of the Regents of the University of California
15: * and by Gregory Glenn Minshall. Neither the Regents of the
16: * University of California nor Gregory Glenn Minshall make
17: * representations about the suitability of this software
18: * for any purpose. It is provided "as is" without
19: * express or implied warranty.
20: */
21:
22:
23: /* this defines the state structure used by the key mapping routines */
24:
25: #define state struct State
26: struct State {
27: int match; /* character to match */
28: int result; /* 3270 control code */
29: state *next; /* next entry in this same state */
30: state *address; /* if goto, where is next state */
31: };
Defined struct's
State
defined in line
26;
never used
Defined macros
state
defined in line
25; used 24 times
Usage of this include