diff options
Diffstat (limited to 'C/Archive/7z/7zItem.h')
-rwxr-xr-x | C/Archive/7z/7zItem.h | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/C/Archive/7z/7zItem.h b/C/Archive/7z/7zItem.h index ede1a8c3..9f1366cd 100755 --- a/C/Archive/7z/7zItem.h +++ b/C/Archive/7z/7zItem.h @@ -1,30 +1,16 @@ /* 7zItem.h -- 7z Items -2008-07-09 -Igor Pavlov -Copyright (c) 1999-2008 Igor Pavlov -Read LzmaDec.h for license options */ +2008-10-04 : Igor Pavlov : Public domain */ #ifndef __7Z_ITEM_H #define __7Z_ITEM_H #include "../../7zBuf.h" -/* #define _SZ_FILE_SIZE_32 */ -/* You can define _SZ_FILE_SIZE_32, if you don't need support for files larger than 4 GB*/ - -#ifdef _SZ_FILE_SIZE_32 -typedef UInt32 CFileSize; -#else -typedef UInt64 CFileSize; -#endif - -typedef UInt64 CMethodID; - typedef struct { UInt32 NumInStreams; UInt32 NumOutStreams; - CMethodID MethodID; + UInt64 MethodID; CBuf Props; } CSzCoderInfo; @@ -42,7 +28,7 @@ typedef struct CSzCoderInfo *Coders; CBindPair *BindPairs; UInt32 *PackStreams; - CFileSize *UnpackSizes; + UInt64 *UnpackSizes; UInt32 NumCoders; UInt32 NumBindPairs; UInt32 NumPackStreams; @@ -53,10 +39,10 @@ typedef struct } CSzFolder; void SzFolder_Init(CSzFolder *p); -CFileSize SzFolder_GetUnpackSize(CSzFolder *p); +UInt64 SzFolder_GetUnpackSize(CSzFolder *p); int SzFolder_FindBindPairForInStream(CSzFolder *p, UInt32 inStreamIndex); UInt32 SzFolder_GetNumOutStreams(CSzFolder *p); -CFileSize SzFolder_GetUnpackSize(CSzFolder *p); +UInt64 SzFolder_GetUnpackSize(CSzFolder *p); typedef struct { @@ -67,7 +53,7 @@ typedef struct typedef struct { CNtfsFileTime MTime; - CFileSize Size; + UInt64 Size; char *Name; UInt32 FileCRC; @@ -82,7 +68,7 @@ void SzFile_Init(CSzFileItem *p); typedef struct { - CFileSize *PackSizes; + UInt64 *PackSizes; Byte *PackCRCsDefined; UInt32 *PackCRCs; CSzFolder *Folders; |