home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / AZTEC-C / COMND004.ARK / COMNDI.H < prev    next >
Text File  |  1986-06-17  |  1KB  |  47 lines

  1. /* comndi.h    Internal (for implementation only) definitions for the
  2.         COMND services.
  3.  
  4.     Copyright (C) 1984, 1985 Mark E. Mallett
  5.  
  6.     Permission is hereby granted to distribute this file indiscriminately.
  7.  
  8. Edit history
  9.  
  10. When    Who    What
  11. ------    ---    --------------------------------
  12. 84xxxx    MEM    Create file.
  13.  
  14.  
  15.  
  16. */
  17.  
  18.  
  19.  
  20. /* Various constants, etc. */
  21.  
  22.  
  23.     /* Parse result codes, to be returned by function code parsers */
  24.  
  25. #define    _CPSUCC    0x0000            /* Success, causes immediate successful
  26.                        return to COMND caller. */
  27. #define    _CPABT    0x0001            /* Some severe error, causes immediate
  28.                        unsuccessful return to caller */
  29. #define    _CPNOP    0x0002            /* No parse... does not match.  May
  30.                        cause unsuccessful return to COMND
  31.                        caller if there are no better
  32.                        results in the CFB chain. */
  33. #define    _CPGVH    0x0003            /* Gave help... input might have
  34.                        parsed if it was completed. */
  35. #define    _CPAGN    0x0004            /* Try again.  Might match if it were
  36.                        complete. */
  37. #define    _CPCPE    0x0005            /* Completed with escape. */
  38.  
  39.  
  40.     /* Character codes passed around by COMND support routines */
  41.  
  42. #define    _CCHLP    0xFFFF            /* Help request */
  43. #define    _CCCMP    0xFFFE            /* Command complete, please? */
  44. #define    _CCINC    0xFFFD            /* Incomplete (get more) */
  45. #define    _CCEND    0xFFFC            /* End of input (CR found) */
  46. #define    _CCINV    0xFFFB            /* Invalid character in atom */
  47.