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
lcmd_tab defined in line 13; used 10 times

Defined macros

ARG_ANY defined in line 28; used 11 times
ARG_NUM defined in line 29; used 13 times
ARG_STR defined in line 30; used 11 times
ARG_TYPE defined in line 27; used 2 times
LCMD_NARG defined in line 11; used 5 times

Usage of this include

Last modified: 1987-02-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 983
Valid CSS Valid XHTML 1.0 Strict