home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff225.lzh / AmigaTCP / src / cmdparse.h < prev    next >
C/C++ Source or Header  |  1989-06-24  |  401b  |  13 lines

  1. #define    NARG        10    /* Max number of args to commands */
  2.  
  3. struct cmds {
  4.     char *name;        /* Name of command */
  5.     int (*func)();        /* Function to execute command */
  6.         int  argcmin;        /* Minimum number of args */
  7.         char *argc_errmsg;    /* Message to print if insufficient args */
  8.         char *exec_errmsg;    /* Message to print if function fails */
  9. };
  10. #ifndef    NULLCHAR
  11. #define    NULLCHAR    (char *)0
  12. #endif
  13.