1: /*
2: * @(#)lcmd.h 3.5 4/24/85
3: */
4:
5: /*
6: * Copyright (c) 1983 Regents of the University of California,
7: * All rights reserved. Redistribution permitted subject to
8: * the terms of the Berkeley Software License Agreement.
9: */
10:
11: #define LCMD_NARG 20 /* maximum number of arguments */
12:
13: struct lcmd_tab {
14: char *lc_name;
15: int lc_minlen;
16: int (*lc_func)();
17: struct lcmd_arg *lc_arg;
18: };
19:
20: struct lcmd_arg {
21: char *arg_name;
22: int arg_minlen;
23: int arg_flags;
24: };
25:
26: /* arg_flags bits */
27: #define ARG_TYPE 0x0f /* type of arg */
28: #define ARG_ANY 0x00 /* any type */
29: #define ARG_NUM 0x01 /* must be a number */
30: #define ARG_STR 0x02 /* must be a string */
31: #define ARG_LIST 0x10 /* this arg can be a list */
32:
33: struct lcmd_tab *lcmd_lookup();
Defined struct's
lcmd_arg
defined in line
20; used 79 times
- in line 17
- in /usr/src/ucb/window/lcmd.c line
37-55(38)
- in /usr/src/ucb/window/lcmd1.c line
17(2),
84(2),
98(2),
117(2),
130(2),
151(2),
171(2),
195(2),
208(2),
224(2),
251(2),
271(2),
286(2)
- in /usr/src/ucb/window/lcmd2.c line
52(2),
199(2),
238(2),
306(2),
319(2)
- in /usr/src/ucb/window/parser2.c line
27-28(4)
Defined macros
Usage of this include