home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / VISIONS.ZIP / SHARLIST.H < prev    next >
Text File  |  1990-05-20  |  1KB  |  28 lines

  1. /*------------------------- SHARLIST.H -------------------------*/
  2. /*                                */
  3. /*  This file contains definitions used for the list library    */
  4. /*  that are needed both internally by the library and also    */
  5. /*  by the user of the library.                    */
  6. /*                                */
  7. /*        Copyright 1990 Dan Vogel & David Bernazzani        */
  8. /*                                */
  9. /*                                */
  10. /*        Revision History                */
  11. /*                                */
  12. /*  03/05/90   DCV    Release.                */
  13. /*                                */
  14. /*--------------------------------------------------------------*/
  15.  
  16. #include "USERWIND.H"            /* Window Library Definitions */
  17.  
  18.         /* Error Codes */
  19.  
  20. #define    BAD_LINK_PTR        -11    /* Pointer to list link is bad. */
  21. #define    BAD_HEAD_PTR        -12    /* Pointer to list head is bad. */
  22.  
  23. #define    UNABLE_TO_ALLOCATE_LINK    -21    /* Out of heap for link allocation. */
  24. #define    UNABLE_TO_ALLOCATE_LIST    -22    /* Out of heap for head allocation. */
  25. #define    LIST_TOO_SHORT        -23    /* List shorter than needed item #. */
  26. #define    LIST_ITEM_NOT_FOUND    -24    /* Searched item not found in list. */
  27.  
  28.