Unit packdefs

Classes

Functions

Types

TDirtype
TPackRec

Constants

unzip_CRCErr
unzip_DLLNotFound
unzip_Encrypted
unzip_InUse
unzip_NotSupported
unzip_Ok
unzip_ReadErr
unzip_UserAbort
unzip_WriteErr
unzip_ZipFileErr
zip_FileError
zip_InternalError
zip_NoMoreItems
zip_ok

Variables


Functions


Types


TDirtype=array[0..259] of char;
Structures and headers for unzip, unarj and unlzh
TPackRec = record
internal : array[0..11] of byte;
Time : Longint;
Size : Longint;
CompressSize : Longint;
headeroffset : Longint;
CRC : Longint;
FileName : tdirtype;
PackMethod : word;
Attr : word;
Flags : word;
end;

Constants

unzip_CRCErr = 1

Unpacked ok

unzip_DLLNotFound = -2

DLL in use by other program!

unzip_Encrypted = 7

ZIP Method not supported!

unzip_InUse = -1

Zipfile encrypted

unzip_NotSupported = 6

Aborted by user

unzip_Ok = 0

Error codes, delivered by unarjfile

unzip_ReadErr = 3

Error writing out file: maybe disk full

unzip_UserAbort = 5

Error in zip structure

unzip_WriteErr = 2

CRC error

unzip_ZipFileErr = 4

Error reading zip file

zip_FileError = -1

zip_InternalError = -2

Error reading zip file

zip_NoMoreItems = 1

Error in zip file format

zip_ok = 0

lo byte: arj_flags; hi byte: file_type

Variables