Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Archive/Zip/ZipHeader.h')
-rwxr-xr-x7zip/Archive/Zip/ZipHeader.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/7zip/Archive/Zip/ZipHeader.h b/7zip/Archive/Zip/ZipHeader.h
index 7d023715..ac98ea76 100755
--- a/7zip/Archive/Zip/ZipHeader.h
+++ b/7zip/Archive/Zip/ZipHeader.h
@@ -20,8 +20,9 @@ namespace NSignature
static const UInt32 kMarkerSize = 4;
}
-const UInt32 kZip64EndOfCentralDirRecordSize = 44;
-
+const UInt32 kEcdSize = 22;
+const UInt32 kZip64EcdSize = 44;
+const UInt32 kZip64EcdLocatorSize = 20;
/*
struct CEndOfCentralDirectoryRecord
{
@@ -68,7 +69,8 @@ namespace NFileHeader
kPKImploding = 10,
kBZip2 = 12,
- kWinZipPPMd = 0x62
+ kWzPPMd = 0x62,
+ kWzAES = 0x63
};
const int kNumCompressionMethods = 11;
const Byte kMadeByProgramVersion = 20;
@@ -79,6 +81,15 @@ namespace NFileHeader
const Byte kSupportedVersion = 20;
}
+ namespace NExtraID
+ {
+ enum
+ {
+ kZip64 = 0x01,
+ kWzAES = 0x9901
+ };
+ }
+
const UInt32 kLocalBlockSize = 26;
/*
struct CLocalBlock