# 2.11BSD#431 - /usr/src/ucb/window/lcmd.h

##### Macros

    ARG_ANY           X
    ARG_LIST          X
    ARG_NUM           X
    ARG_STR           X
    ARG_TYPE          X
    LCMD_NARG         X

##### struct's

    lcmd_arg          X
    lcmd_tab          X

       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)

lcmd_tab defined in line 13; used 10 times

- in line 33(2)
- in /usr/src/ucb/window/lcmd.c line 57(2), 82-86(4)
- in /usr/src/ucb/window/parser2.c line 25(2)

#### Defined macros

ARG_ANY defined in line 28; used 11 times

- in /usr/src/ucb/window/lcmd1.c line 24-26(3), 118, 173, 196, 226, 252, 287
- in /usr/src/ucb/window/lcmd2.c line 200, 321

ARG_LIST defined in line 31; used 7 times

- in /usr/src/ucb/window/lcmd1.c line 27, 226, 252
- in /usr/src/ucb/window/lcmd2.c line 200, 240, 321
- in /usr/src/ucb/window/parser2.c line 107

ARG_NUM defined in line 29; used 13 times

- in /usr/src/ucb/window/lcmd1.c line 18-22(5), 85, 99, 152, 172, 225, 272
- in /usr/src/ucb/window/lcmd2.c line 320
- in /usr/src/ucb/window/parser2.c line 123

ARG_STR defined in line 30; used 11 times

- in /usr/src/ucb/window/lcmd1.c line 23-27(2), 131, 153, 209
- in /usr/src/ucb/window/lcmd2.c line 53, 239-240(2), 307, 314
- in /usr/src/ucb/window/parser2.c line 125

ARG_TYPE defined in line 27; used 2 times

- in /usr/src/ucb/window/parser2.c line 123-125(2)

LCMD_NARG defined in line 11; used 5 times

- in /usr/src/ucb/window/parser2.c line 30, 43, 61, 170-174(2)

#### Usage of this include

lcmd.h used 4 times

- in /usr/src/ucb/window/lcmd.c line 13
- in /usr/src/ucb/window/lcmd1.c line 14
- in /usr/src/ucb/window/lcmd2.c line 15
- in /usr/src/ucb/window/parser2.c line 13

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 449 |