home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / pplib_414.lzh / PPLib / include / libraries / ppbase.h < prev    next >
C/C++ Source or Header  |  1990-12-15  |  959b  |  49 lines

  1. #ifndef LIBRARIES_PPBASE_H
  2. #define LIBRARIES_PPBASE_H
  3. /*
  4. **    $Filename: libraries/ppbase.h $
  5. **    $Release: 1.1a $
  6. **
  7. **    (C) Copyright 1990 Nico François
  8. **        All Rights Reserved
  9. */
  10.  
  11. #ifndef    EXEC_TYPES_H
  12. #include    <exec/types.h>
  13. #endif    /* EXEC_TYPES_H */
  14.  
  15. #ifndef    EXEC_LISTS_H
  16. #include    <exec/lists.h>
  17. #endif    /* EXEC_LISTS_H */
  18.  
  19. #ifndef    EXEC_LIBRARIES_H
  20. #include    <exec/libraries.h>
  21. #endif    /* EXEC_LIBRARIES_H */
  22.  
  23. #define    PPNAME        "powerpacker.library"
  24. #define    PPVERSION    34L
  25.  
  26. struct PPBase {
  27.     struct Library LibNode;
  28.     UBYTE pp_Flags;
  29.     UBYTE pad;
  30.     BPTR pp_SegList;
  31.     };
  32.  
  33. /* decrunch colors for ppLoadData and ppDecrunchBuffer */
  34. #define DECR_COL0        0L
  35. #define DECR_COL1        1L
  36. #define DECR_POINTER        2L
  37. #define DECR_SCROLL        3L
  38. #define DECR_NONE        4L
  39.  
  40. /* error codes returned by ppLoadData */
  41. #define PP_OPENERR        -1L
  42. #define PP_READERR        -2L
  43. #define PP_NOMEMORY        -3L
  44. #define PP_CRYPTED        -4L
  45. #define PP_PASSERR        -5L
  46. #define PP_UNKNOWNPP        -6L
  47.  
  48. #endif    /* LIBRARIES_PPBASE_H */
  49.