home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / c / lpc05b.zip / CPARSER.H < prev    next >
Text File  |  1992-05-22  |  962b  |  55 lines

  1. /*
  2. *-----------------------------------------------------------------------------
  3. *    file:    cparser.h
  4. *    desc:    simple command parser
  5. *    by:    patrick ko
  6. *    date:    22 aug 91
  7. *-----------------------------------------------------------------------------
  8. */
  9.  
  10. #define    CMD_NULL    0
  11.  
  12. typedef    struct    {
  13.     int    cmdno;
  14.     char    * cmdstr;
  15.     }       CMDTBL;
  16.  
  17. /*
  18. *    #define your own commands here starting from 1
  19. *    -* modifiable *-
  20. */
  21. #define    CMD_LPCORDER    1
  22. #define    CMD_LPCWSIZE    2
  23. #define    CMD_LPCWOVER    3
  24.  
  25. #define    CMD_DTYPEU8    4
  26. #define    CMD_DTYPEP16    5
  27.  
  28. #define    CMD_MSGQIN    6
  29. #define    CMD_MSGQOUT    7
  30.  
  31. #define    CMD_STDOUT    8
  32.  
  33. #define    CMD_NOACFILE    9
  34.  
  35. #define CMD_AUTOCOR    10
  36. #define    CMD_COVAR    11
  37. #define    CMD_CEPSTRUM    12
  38. #define    CMD_PARCOR    13 
  39.  
  40. #define    CMD_COMMENT    128
  41.  
  42. #ifdef    __TURBOC__
  43.  
  44. int    cmdsearch        (char *, char *);
  45. int    cmdinit            (int, char **);
  46. int     cmdget            (char *);
  47.  
  48. #else
  49.  
  50. int    cmdsearch        ( );
  51. int    cmdinit            ( );
  52. int     cmdget            ( );
  53.  
  54. #endif
  55.