home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / util / pplib-1.6.lha / PPlib / include / libraries / ppbase.i < prev   
Text File  |  1993-12-21  |  1KB  |  64 lines

  1.     IFND LIBRARIES_PPBASE_I
  2. LIBRARIES_PPBASE_I    SET    1
  3. **
  4. **    $Filename: libraries/ppbase.i $
  5. **    $Release: 1.6 $
  6. **
  7. **    (C) Copyright 1991-1993 Nico François
  8. **        All Rights Reserved
  9. **
  10.  
  11.     IFND EXEC_LISTS_I
  12.     include "exec/lists.i"
  13.     ENDC
  14.  
  15.     IFND EXEC_LIBRARIES_I
  16.     include "exec/libraries.i"
  17.     ENDC
  18.  
  19. PPNAME    MACRO
  20.     dc.b "powerpacker.library",0
  21.     ENDM
  22.  
  23. PPVERSION    equ    35
  24.  
  25.     STRUCTURE PPBase,LIB_SIZE
  26.         UBYTE pp_Flags
  27.         UBYTE pp_pad
  28.         ULONG pp_SegList
  29.         LABEL PPBase_SIZE
  30.  
  31. * decrunch colors for ppLoadData and ppDecrunchBuffer
  32. DECR_COL0        equ     0
  33. DECR_COL1        equ     1
  34. DECR_POINTER        equ     2
  35. DECR_SCROLL        equ     3
  36. DECR_NONE        equ     4
  37.  
  38. * error codes returned by ppLoadData
  39. PP_OPENERR        equ    -1
  40. PP_READERR        equ    -2
  41. PP_NOMEMORY        equ    -3
  42. PP_CRYPTED        equ    -4
  43. PP_PASSERR        equ    -5
  44. PP_UNKNOWNPP        equ    -6
  45. PP_EMPTYFILE        equ    -7
  46.  
  47. * size of speedup buffer
  48. SPEEDUP_BUFFLARGE    equ     0
  49. SPEEDUP_BUFFMEDIUM    equ     1
  50. SPEEDUP_BUFFSMALL    equ     2
  51.  
  52. * crunching efficiency
  53. CRUN_FAST        equ     0
  54. CRUN_MEDIOCRE        equ     1
  55. CRUN_GOOD        equ     2
  56. CRUN_VERYGOOD        equ     3
  57. CRUN_BEST        equ     4
  58.  
  59. * possible return values from ppCrunchBuffer and ppCrunchBufferDest
  60. PP_CRUNCHABORTED    equ     0
  61. PP_BUFFEROVERFLOW    equ    -1
  62.  
  63.     ENDC    ; LIBRARIES_PPBASE_I
  64.