home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 37 / hot37.iso / FICHEROS / 9TOOL / ADDZIP.ZIP / vprolog / addzip.con next >
Text File  |  1998-05-26  |  3KB  |  104 lines

  1. /******************************************************
  2.     Constant definitions for the addZIP compression libraries
  3. ******************************************************/
  4.  
  5. CONSTANTS
  6.  
  7. % constants for addZIP_CreateSFX(...)
  8.   azSFX_NO            = 0x00
  9.   azSFX_DOS16            = 0x01
  10.   azSFX_DOS32            = 0x02
  11.   azSFX_WIN16            = 0x03
  12.   azSFX_WIN32            = 0x04
  13.  
  14. % constants for addZIP_SetCompressionLevel(...)
  15.   azCOMPRESSION_NONE        = 0x00
  16.   azCOMPRESSION_MINIMUM        = 0x01
  17.   azCOMPRESSION_NORMAL        = 0x02
  18.   azCOMPRESSION_MAXIMUM        = 0x03
  19.  
  20. % constants for addZIP_SaveStructure(...)
  21.   azSTRUCTURE_NONE        = 0x00
  22.   azSTRUCTURE_RELATIVE        = 0x01
  23.   azSTRUCTURE_ABSOLUTE        = 0x02
  24.  
  25. % constants for addZIP/addUNZIP_Overwrite(...)
  26.   azOVERWRITE_QUERY        = 0x0a
  27.   azOVERWRITE_ALL        = 0x0b
  28.   azOVERWRITE_NONE        = 0x0c
  29.  
  30. % constants for addZIP_SetArchiveDate()
  31.   date_original            = 0x00
  32.   date_today            = 0x01
  33.   date_oldest            = 0x02
  34.   date_newest            = 0x03
  35.  
  36. % constants for addZIP_IncludeXXX attribute functions
  37.   azNEVER            = 0x00        % files must never have this attribute set
  38.   azYES                = 0x01        % files may or may not have this attribute set
  39.   azALWAYS            = 0xff        % files must always have this attribute set
  40.  
  41. % constants for addZIP_Clear/addUNZIP_RestoreAttributes(...)
  42.   azATTR_NONE            = 0
  43.   azATTR_READONLY        = 1
  44.   azATTR_HIDDEN            = 2
  45.   azATTR_SYSTEM            = 4
  46.   azATTR_ARCHIVE        = 32
  47.   azATTR_ALL            = 39
  48.  
  49. % constants used in messages to identify library
  50.   azLIBRARY_ADDZIP        = 0
  51.   azLIBRARY_ADDUNZIP        = 1
  52.   
  53. % addZIP & addUNZIP messages
  54.   am_searching            = 0x0a
  55.   am_zippcomment        = 0x0b
  56.   am_zipping            = 0x0c
  57.   am_zipped            = 0x0d
  58.   am_unzipping            = 0x0e
  59.   am_unzipped            = 0x0f
  60.   am_testing            = 0x10
  61.   am_tested            = 0x11
  62.   am_deleting            = 0x12
  63.   am_deleted            = 0x13
  64.   am_diskchange            = 0x14
  65.   am_view            = 0x15
  66.   am_error            = 0x16
  67.   am_warning            = 0x17
  68.   am_queryoverwrite        = 0x18
  69.   am_copying            = 0x19
  70.   am_copied            = 0x1a
  71.   am_abort            = 0xff
  72. %  am_repairing            = 0x1b
  73. %  am_filecomment        = 0x1c
  74. %  am_password            = 0x1d
  75.  
  76. % constants for compression method in AM_VIEW
  77.   azCM_NONE            = 0x00
  78.   azCM_SHRUNK            = 0x0a
  79.   azCM_REDUCED_1        = 0x14
  80.   azCM_REDUCED_2        = 0x1e
  81.   azCM_REDUCED_3        = 0x28
  82.   azCM_REDUCED_4        = 0x32
  83.   azCM_IMPLODED            = 0x3c
  84.   azCM_TOKENISED        = 0x46
  85.   azCM_DEFLATED_NORMAL        = 0x50
  86.   azCM_DEFLATED_MAXIMUM        = 0x51
  87.   azCM_DEFLATED_FAST        = 0x52
  88.   azCM_DEFLATED_SUPERFAST    = 0x53
  89.   azCM_UNKNOWN            = 0xff
  90.  
  91. % constants for whether file is encrypted or not in AM_VIEW
  92.   azFT_NOT_ENCRYPTED        = 0x00
  93.   azFT_ENCRYPTED        = 0x01
  94.  
  95. % constants for whether file is text or binary in AM_VIEW
  96.   azFT_TEXT            = 0x00
  97.   azFT_BINARY            = 0x01
  98.  
  99. % constants used in returning from a AM_QUERYOVERWRITE message
  100.   azOW_YES            = 0x00
  101.   azOW_YES_TO_ALL        = 0x01
  102.   azOW_NO            = 0x02
  103.   azOW_NO_TO_ALL        = 0x03
  104.