Status/Error/Corruption Codes for (File) Entries
Previous  Top  Next

Status/Error/Corruption Codes for (File) Entries

Used by

   
TestEntry() and FixEntry() methods. Also saved in the aFStatus iVar.

Values

Define
Value
or Bit Set

Description
XBZ_ENTRY_OK
0
Local Record and Data are OK (absolute value)
XBZ_CRC_WRONG
(Bit) 1
CRC of Data is wrong
XBZ_NO_CDREC
(Bit) 2
Central Directory Record not Found
XBZ_NO_LFDREC
(Bit) 3
Local File Record (and Data) not Found
XBZ_VER_DIFF
(Bit) 4
Different Version-to-Extract Flags
XBZ_GPFLAG_DIFF
(Bit) 5
Different General Purpose Flags
XBZ_METHOD_DIFF
(Bit) 6
Different Compression Methods
XBZ_FTIME_DIFF
(Bit) 7
Different File Times
XBZ_CRC_DIFF
(Bit) 8
Different CRCs
XBZ_CSIZE_DIFF
(Bit) 9
Different Compressed-Sizes
XBZ_OSIZE_DIFF
(Bit) 10
Different Original (Un-Compressed)-Sizes
XBZ_FNLEN_DIFF
(Bit) 11
Different File Name Lengths
XBZ_FNAME_DIFF
(Bit) 12
Different File Names
XBZ_MAX_ERROR_CODES
12
Number of currently used Error Status Bits (absolute value)
 
 
Bits 4 through 12 are set if the corresponding Fields/Values of the Central Directory and Local File Records differ from each other. The Extra Field and Extra Field Length can differ without this being a problem or Error!