home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume26 / op / part01 / defs.h < prev    next >
C/C++ Source or Header  |  1992-12-26  |  870b  |  22 lines

  1. /* +-------------------------------------------------------------------+ */
  2. /* | Copyright 1991, David Koblas.                                     | */
  3. /* |   Permission to use, copy, modify, and distribute this software   | */
  4. /* |   and its documentation for any purpose and without fee is hereby | */
  5. /* |   granted, provided that the above copyright notice appear in all | */
  6. /* |   copies and that both that copyright notice and this permission  | */
  7. /* |   notice appear in supporting documentation.  This software is    | */
  8. /* |   provided "as is" without express or implied warranty.           | */
  9. /* +-------------------------------------------------------------------+ */
  10.  
  11. typedef struct cmd_s {
  12.     char        *name;
  13.     int        nargs, nopts;
  14.     int        margs, mopts;
  15.     char        **args, **opts;
  16.     struct cmd_s    *next;
  17. } cmd_t;
  18.  
  19. extern cmd_t    *First, *Build();
  20.  
  21. #define MAXSTRLEN    256
  22.