unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Archive Class Reference

#include <archive.hpp>

Inheritance diagram for Archive:
[legend]
Collaboration diagram for Archive:
[legend]

Public Member Functions

 Archive (RAROptions *InitCmd=NULL)
 
 ~Archive ()
 
bool IsArchive (bool EnableBroken)
 
size_t SearchBlock (HEADER_TYPE HeaderType)
 
size_t SearchSubBlock (const wchar *Type)
 
size_t SearchRR ()
 
size_t ReadHeader ()
 
void CheckArc (bool EnableBroken)
 
void CheckOpen (const wchar *Name)
 
bool WCheckOpen (const wchar *Name)
 
bool GetComment (Array< wchar > *CmtData)
 
void ViewComment ()
 
void SetLatestTime (RarTime *NewTime)
 
void SeekToNext ()
 
bool CheckAccess ()
 
bool IsArcDir ()
 
void ConvertAttributes ()
 
void VolSubtractHeaderSize (size_t SubSize)
 
uint FullHeaderSize (size_t Size)
 
int64 GetStartPos ()
 
void AddSubData (byte *SrcData, uint64 DataSize, File *SrcFile, const wchar *Name, uint Flags)
 
bool ReadSubData (Array< byte > *UnpData, File *DestFile, bool TestMode)
 
HEADER_TYPE GetHeaderType ()
 
RAROptionsGetRAROptions ()
 
void SetSilentOpen (bool Mode)
 
- Public Member Functions inherited from File
 File ()
 
virtual ~File ()
 
void operator= (File &SrcFile)
 
virtual bool Open (const wchar *Name, uint Mode=FMF_READ)
 
void TOpen (const wchar *Name)
 
bool WOpen (const wchar *Name)
 
bool Create (const wchar *Name, uint Mode=FMF_UPDATE|FMF_SHAREREAD)
 
void TCreate (const wchar *Name, uint Mode=FMF_UPDATE|FMF_SHAREREAD)
 
bool WCreate (const wchar *Name, uint Mode=FMF_UPDATE|FMF_SHAREREAD)
 
virtual bool Close ()
 
bool Delete ()
 
bool Rename (const wchar *NewName)
 
bool Write (const void *Data, size_t Size)
 
virtual int Read (void *Data, size_t Size)
 
int DirectRead (void *Data, size_t Size)
 
virtual void Seek (int64 Offset, int Method)
 
bool RawSeek (int64 Offset, int Method)
 
virtual int64 Tell ()
 
void Prealloc (int64 Size)
 
byte GetByte ()
 
void PutByte (byte Byte)
 
bool Truncate ()
 
void Flush ()
 
void SetOpenFileTime (RarTime *ftm, RarTime *ftc=NULL, RarTime *fta=NULL)
 
void SetCloseFileTime (RarTime *ftm, RarTime *fta=NULL)
 
void GetOpenFileTime (RarTime *ft)
 
virtual bool IsOpened ()
 
int64 FileLength ()
 
void SetHandleType (FILE_HANDLETYPE Type)
 
void SetLineInputMode (bool Mode)
 
FILE_HANDLETYPE GetHandleType ()
 
bool IsSeekable ()
 
bool IsDevice ()
 
FileHandle GetHandle ()
 
void SetHandle (FileHandle Handle)
 
void SetReadErrorMode (FILE_READ_ERROR_MODE Mode)
 
int64 Copy (File &Dest, int64 Length=INT64NDF)
 
void SetAllowDelete (bool Allow)
 
void SetExceptions (bool Allow)
 
void SetPreserveAtime (bool Preserve)
 
bool IsTruncatedAfterReadError ()
 

Static Public Member Functions

static RARFORMAT IsSignature (const byte *D, size_t Size)
 
- Static Public Member Functions inherited from File
static void SetCloseFileTimeByName (const wchar *Name, RarTime *ftm, RarTime *fta)
 
static bool RemoveCreated ()
 
static size_t CopyBufferSize ()
 

Public Attributes

BaseBlock ShortBlock
 
MarkHeader MarkHead
 
MainHeader MainHead
 
CryptHeader CryptHead
 
FileHeader FileHead
 
EndArcHeader EndArcHead
 
SubBlockHeader SubBlockHead
 
FileHeader SubHead
 
CommentHeader CommHead
 
ProtectHeader ProtectHead
 
UnixOwnersHeader UOHead
 
EAHeader EAHead
 
StreamHeader StreamHead
 
int64 CurBlockPos
 
int64 NextBlockPos
 
RARFORMAT Format
 
bool Solid
 
bool Volume
 
bool MainComment
 
bool Locked
 
bool Signed
 
bool FirstVolume
 
bool NewNumbering
 
bool Protected
 
bool Encrypted
 
size_t SFXSize
 
bool BrokenHeader
 
bool FailedHeaderDecryption
 
byte ArcSalt [SIZE_SALT50]
 
bool Splitting
 
uint VolNumber
 
int64 VolWrite
 
uint64 AddingFilesSize
 
uint64 AddingHeadersSize
 
bool NewArchive
 
wchar FirstVolumeName [NM]
 
- Public Attributes inherited from File
wchar FileName [NM]
 
FILE_ERRORTYPE ErrorType
 

Private Member Functions

void UpdateLatestTime (FileHeader *CurBlock)
 
void ConvertNameCase (wchar *Name)
 
void ConvertFileHeader (FileHeader *hd)
 
size_t ReadHeader14 ()
 
size_t ReadHeader15 ()
 
size_t ReadHeader50 ()
 
void ProcessExtra50 (RawRead *Raw, size_t ExtraSize, BaseBlock *bb)
 
void RequestArcPassword ()
 
void UnexpEndArcMsg ()
 
void BrokenHeaderMsg ()
 
void UnkEncVerMsg (const wchar *Name, const wchar *Info)
 
bool DoGetComment (Array< wchar > *CmtData)
 
bool ReadCommentData (Array< wchar > *CmtData)
 

Private Attributes

CryptData HeadersCrypt
 
ComprDataIO SubDataIO
 
bool DummyCmd
 
RAROptionsCmd
 
RarTime LatestTime
 
int LastReadBlock
 
HEADER_TYPE CurHeaderType
 
bool SilentOpen
 

Additional Inherited Members

- Protected Attributes inherited from File
bool OpenShared
 

Detailed Description

Definition at line 26 of file archive.hpp.

Constructor & Destructor Documentation

◆ Archive()

◆ ~Archive()

Archive::~Archive ( )

Definition at line 56 of file archive.cpp.

References Cmd, and DummyCmd.

Member Function Documentation

◆ AddSubData()

void Archive::AddSubData ( byte SrcData,
uint64  DataSize,
File SrcFile,
const wchar Name,
uint  Flags 
)

◆ BrokenHeaderMsg()

void Archive::BrokenHeaderMsg ( )
private

◆ CheckAccess()

bool Archive::CheckAccess ( )

◆ CheckArc()

void Archive::CheckArc ( bool  EnableBroken)

◆ CheckOpen()

void Archive::CheckOpen ( const wchar Name)

Definition at line 77 of file archive.cpp.

References CheckArc(), and File::TOpen().

◆ ConvertAttributes()

void Archive::ConvertAttributes ( )

◆ ConvertFileHeader()

void Archive::ConvertFileHeader ( FileHeader hd)
private

◆ ConvertNameCase()

void Archive::ConvertNameCase ( wchar Name)
private

◆ DoGetComment()

◆ FullHeaderSize()

uint Archive::FullHeaderSize ( size_t  Size)

Definition at line 287 of file archive.cpp.

References ALIGN_VALUE, CRYPT_BLOCK_SIZE, Encrypted, Format, RARFMT50, SIZE_INITV, and SIZE_SALT30.

Referenced by GetStartPos(), ReadHeader15(), and ReadHeader50().

◆ GetComment()

bool Archive::GetComment ( Array< wchar > *  CmtData)

Definition at line 3 of file arccmt.cpp.

References DoGetComment(), MainComment, File::Seek(), and File::Tell().

Referenced by RAROpenArchiveEx(), and ViewComment().

◆ GetHeaderType()

◆ GetRAROptions()

RAROptions * Archive::GetRAROptions ( )
inline

Definition at line 86 of file archive.hpp.

References Cmd.

Referenced by QuickOpen::Load(), MergeArchive(), and ComprDataIO::ShowUnpRead().

◆ GetStartPos()

int64 Archive::GetStartPos ( )

◆ IsArcDir()

bool Archive::IsArcDir ( )

Definition at line 1299 of file arcread.cpp.

References FileHeader::Dir, and FileHead.

Referenced by CmdExtract::ExtractCurrentFile().

◆ IsArchive()

◆ IsSignature()

RARFORMAT Archive::IsSignature ( const byte D,
size_t  Size 
)
static

Definition at line 99 of file archive.cpp.

References RARFMT14, RARFMT15, RARFMT50, RARFMT_FUTURE, and RARFMT_NONE.

Referenced by IsArchive().

◆ ProcessExtra50()

void Archive::ProcessExtra50 ( RawRead Raw,
size_t  ExtraSize,
BaseBlock bb 
)
private

Definition at line 962 of file arcread.cpp.

References Array< T >::Addr(), RarTime::Adjust(), Array< T >::Alloc(), ASIZE, FileHeader::atime, BLAKE2_DIGEST_SIZE, CRYPT5_KDF_LG2_COUNT_MAX, CRYPT_RAR50, CRYPT_VERSION, FileHeader::CryptMethod, FileHeader::ctime, CurBlockPos, RawRead::DataLeft(), HashValue::Digest, FileHeader::DirTarget, FileHeader::Encrypted, FHEXTRA_CRYPT, FHEXTRA_CRYPT_HASHMAC, FHEXTRA_CRYPT_PSWCHECK, FHEXTRA_HASH, FHEXTRA_HASH_BLAKE2, FHEXTRA_HTIME, FHEXTRA_HTIME_ATIME, FHEXTRA_HTIME_CTIME, FHEXTRA_HTIME_MTIME, FHEXTRA_HTIME_UNIX_NS, FHEXTRA_HTIME_UNIXTIME, FHEXTRA_REDIR, FHEXTRA_REDIR_DIR, FHEXTRA_SUBDATA, FHEXTRA_UOWNER, FHEXTRA_UOWNER_GNAME, FHEXTRA_UOWNER_NUMGID, FHEXTRA_UOWNER_NUMUID, FHEXTRA_UOWNER_UNAME, FHEXTRA_VERSION, FileHeader::FileHash, FileHeader::FileName, RawRead::Get1(), RawRead::Get4(), RawRead::Get8(), RawRead::GetB(), RawRead::GetPos(), RawRead::GetV(), HASH_BLAKE2, HEAD_FILE, HEAD_MAIN, HEAD_SERVICE, BaseBlock::HeaderType, FileHeader::InitV, FileHeader::Lg2Count, MainHeader::Locator, MHEXTRA_LOCATOR, MHEXTRA_LOCATOR_QLIST, MHEXTRA_LOCATOR_RR, Min, FileHeader::mtime, FileHeader::PswCheck, MainHeader::QOpenOffset, FileHeader::RedirName, FileHeader::RedirType, MainHeader::RROffset, FileHeader::Salt, FileHeader::SaltSet, RawRead::SetPos(), RarTime::SetUnix(), RarTime::SetWin(), SHA256_DIGEST_SIZE, sha256_done(), sha256_init(), sha256_process(), RawRead::Size(), SIZE_INITV, SIZE_PSWCHECK, SIZE_PSWCHECK_CSUM, SIZE_SALT50, FileHeader::SubData, HashValue::Type, FileHeader::UnixGroupID, FileHeader::UnixGroupName, FileHeader::UnixGroupNumeric, FileHeader::UnixOwnerID, FileHeader::UnixOwnerName, FileHeader::UnixOwnerNumeric, FileHeader::UnixOwnerSet, UnixSlashToDos(), UnkEncVerMsg(), FileHeader::UseHashKey, FileHeader::UsePswCheck, UtfToWide(), FileHeader::Version, and wcsncatz().

Referenced by ReadHeader50().

◆ ReadCommentData()

◆ ReadHeader()

◆ ReadHeader14()

◆ ReadHeader15()

size_t Archive::ReadHeader15 ( )
private

Definition at line 137 of file arcread.cpp.

References ACTW_OEM, Array< T >::Alloc(), ArcCharToWide(), EndArcHeader::ArcDataCRC, ASIZE, FileHeader::atime, BrokenHeader, BrokenHeaderMsg(), CharToWide(), Cmd, FileHeader::CmpName(), CommentHeader::CommCRC, MainHeader::CommentInHeader, FileHeader::CommentInHeader, CommHead, ConvertFileHeader(), ConvertNameCase(), HashValue::CRC32, CRYPT_NONE, CRYPT_RAR13, CRYPT_RAR15, CRYPT_RAR20, CRYPT_RAR30, FileHeader::CryptMethod, FileHeader::ctime, CurBlockPos, CurHeaderType, EndArcHeader::DataCRC, BlockHeader::DataSize, EncodeFileName::Decode(), FileHeader::Dir, EAHeader::EACRC, EAHead, EARC_DATACRC, EARC_NEXT_VOLUME, EARC_REVSPACE, EARC_VOLNUMBER, Encrypted, FileHeader::Encrypted, EndArcHead, ErrHandler, FailedHeaderDecryption, FileHeader::FileAttr, FileHeader::FileHash, FileHead, File::FileName, FileHeader::FileName, FirstVolume, BaseBlock::Flags, FSREDIR_NONE, FSREDIR_UNIXSYMLINK, FullHeaderSize(), RawRead::Get1(), RawRead::Get2(), RawRead::Get4(), RawRead::GetB(), File::GetByte(), RawRead::GetCRC15(), RarTime::GetLocal(), UnixOwnersHeader::GroupName, UnixOwnersHeader::GroupNameSize, HASH_CRC32, HEAD3_AV, HEAD3_CMT, HEAD3_ENDARC, HEAD3_FILE, HEAD3_MAIN, HEAD3_OLDSERVICE, HEAD3_PROTECT, HEAD3_SERVICE, HEAD3_SIGN, HEAD_ENDARC, HEAD_FILE, HEAD_MAIN, HEAD_SERVICE, BaseBlock::HeadCRC, HeadersCrypt, BaseBlock::HeaderType, BaseBlock::HeadSize, MainHeader::HighPosAV, HOST_BEOS, HOST_MAX, HOST_UNIX, FileHeader::HostOS, FileHeader::HSType, HSYS_UNIX, HSYS_UNKNOWN, HSYS_WINDOWS, FileHeader::Inherited, INT32TO64, INT64NDF, FileHeader::LargeFile, SubBlockHeader::Level, LHD_COMMENT, LHD_DIRECTORY, LHD_EXTTIME, LHD_LARGE, LHD_PASSWORD, LHD_SALT, LHD_SOLID, LHD_SPLIT_AFTER, LHD_SPLIT_BEFORE, LHD_UNICODE, LHD_VERSION, LHD_WINDOWMASK, Locked, LONG_BLOCK, MainComment, MainHead, ProtectHeader::Mark, FileHeader::Method, CommentHeader::Method, EAHeader::Method, StreamHeader::Method, MHD_COMMENT, MHD_FIRSTVOLUME, MHD_LOCK, MHD_NEWNUMBERING, MHD_PASSWORD, MHD_PROTECT, MHD_SOLID, MHD_VOLUME, Min, FileHeader::mtime, NewNumbering, NextBlockPos, EndArcHeader::NextVolume, NTACL_HEAD, UnixOwnersHeader::OwnerName, UnixOwnersHeader::OwnerNameSize, FileHeader::PackSize, RAROptions::Password, MainHeader::PosAV, Protected, ProtectHead, RARX_CRC, RARX_WARNING, RawRead::Read(), File::Read(), ProtectHeader::RecSectors, FileHeader::RedirName, FileHeader::RedirType, RarLocalTime::Reminder, RarTime::REMINDER_PRECISION, RequestArcPassword(), BaseBlock::Reset(), MainHeader::Reset(), FileHeader::Reset(), EndArcHeader::RevSpace, SafeAdd(), FileHeader::Salt, FileHeader::SaltSet, RarLocalTime::Second, File::Seek(), RawRead::SetCrypt(), CryptData::SetCryptKeys(), RarTime::SetDos(), ErrorHandler::SetErrorCode(), RarTime::SetLocal(), SFXSize, ShortBlock, Signed, RawRead::Size(), SIZE_SALT30, SIZEOF_COMMHEAD, SIZEOF_FILEHEAD3, SIZEOF_MAINHEAD3, SIZEOF_MARKHEAD3, SIZEOF_SHORTBLOCKHEAD, SKIP_IF_UNKNOWN, BaseBlock::SkipIfUnknown, Solid, FileHeader::Solid, FileHeader::SplitAfter, FileHeader::SplitBefore, EndArcHeader::StoreVolNumber, STREAM_HEAD, StreamHeader::StreamCRC, StreamHead, StreamHeader::StreamName, StreamHeader::StreamNameSize, FileHeader::SubBlock, SubBlockHead, FileHeader::SubData, FileHeader::SubFlags, SubHead, SUBHEAD_FLAGS_INHERITED, SUBHEAD_TYPE_CMT, SubBlockHeader::SubType, File::Tell(), ProtectHeader::TotalBlocks, HashValue::Type, UIERROR_CHECKSUMENC, UIERROR_FHEADERBROKEN, uiMsg(), UnexpEndArcMsg(), FileHeader::UnknownUnpSize, FileHeader::UnpSize, CommentHeader::UnpSize, EAHeader::UnpSize, StreamHeader::UnpSize, FileHeader::UnpVer, CommentHeader::UnpVer, EAHeader::UnpVer, StreamHeader::UnpVer, UO_HEAD, UOHead, FileHeader::Version, ProtectHeader::Version, VolNumber, EndArcHeader::VolNumber, Volume, and FileHeader::WinSize.

Referenced by ReadHeader().

◆ ReadHeader50()

size_t Archive::ReadHeader50 ( )
private

Definition at line 549 of file arcread.cpp.

References ASIZE, BrokenHeader, BrokenHeaderMsg(), CHFL_CRYPT_PSWCHECK, SecPassword::Clean(), Cmd, FileHeader::CmpName(), ConvertFileHeader(), ConvertNameCase(), HashValue::CRC32, CRYPT5_KDF_LG2_COUNT_MAX, CRYPT_NONE, CRYPT_RAR50, CRYPT_VERSION, CryptHead, FileHeader::CryptMethod, CurBlockPos, CurHeaderType, EndArcHeader::DataCRC, FileHeader::Dir, EHFL_NEXTVOLUME, Encrypted, FileHeader::Encrypted, EndArcHead, ERAR_BAD_PASSWORD, ErrHandler, ErrorHandler::Exit(), FailedHeaderDecryption, FCI_SOLID, FHFL_CRC32, FHFL_DIRECTORY, FHFL_UNPUNKNOWN, FHFL_UTIME, FileHeader::FileAttr, FileHeader::FileFlags, FileHeader::FileHash, FileHead, File::FileName, FileHeader::FileName, FirstVolume, BaseBlock::Flags, FSREDIR_NONE, FullHeaderSize(), RawRead::Get1(), RawRead::Get4(), RawRead::GetB(), RawRead::GetCRC50(), RawRead::GetV(), RawRead::GetVSize(), HASH_CRC32, HASH_NONE, HEAD_CRYPT, HEAD_ENDARC, HEAD_FILE, HEAD_MAIN, HEAD_SERVICE, BaseBlock::HeadCRC, HeadersCrypt, BaseBlock::HeaderType, BaseBlock::HeadSize, HFL_CHILD, HFL_DATA, HFL_EXTRA, HFL_INHERITED, HFL_SKIPIFUNKNOWN, HFL_SPLITAFTER, HFL_SPLITBEFORE, HOST5_UNIX, HOST5_WINDOWS, FileHeader::HostOS, FileHeader::HSType, HSYS_UNIX, HSYS_UNKNOWN, HSYS_WINDOWS, FileHeader::Inherited, INT64NDF, SecPassword::IsSet(), FileHeader::LargeFile, CryptHeader::Lg2Count, MainHeader::Locator, Locked, MainComment, MainHead, Max, FileHeader::MaxSize, FileHeader::Method, MHFL_LOCK, MHFL_PROTECT, MHFL_SOLID, MHFL_VOLNUMBER, MHFL_VOLUME, Min, FileHeader::mtime, NewNumbering, NextBlockPos, EndArcHeader::NextVolume, FileHeader::PackSize, RAROptions::Password, ProcessExtra50(), Protected, CryptHeader::PswCheck, QOPEN_NONE, MainHeader::QOpenOffset, RARX_BADPWD, RARX_CRC, RawRead::Read(), File::Read(), FileHeader::RedirType, RequestArcPassword(), BaseBlock::Reset(), MainHeader::Reset(), FileHeader::Reset(), EndArcHeader::RevSpace, SafeAdd(), CryptHeader::Salt, RawRead::SetCrypt(), CryptData::SetCryptKeys(), ErrorHandler::SetErrorCode(), RarTime::SetUnix(), SFXSize, SHA256_DIGEST_SIZE, sha256_done(), sha256_init(), sha256_process(), ShortBlock, Signed, Array< T >::Size(), RawRead::Size(), SIZE_INITV, SIZE_PSWCHECK, SIZE_PSWCHECK_CSUM, SIZE_SALT50, SIZEOF_MARKHEAD5, SIZEOF_SHORTBLOCKHEAD5, RAROptions::SkipEncrypted, BaseBlock::SkipIfUnknown, Solid, FileHeader::Solid, FileHeader::SplitAfter, FileHeader::SplitBefore, EndArcHeader::StoreVolNumber, FileHeader::SubBlock, FileHeader::SubData, SubHead, SUBHEAD_TYPE_CMT, SUBHEAD_TYPE_RR, HashValue::Type, UIERROR_BADPSW, UIERROR_CHECKSUMENC, UIERROR_FHEADERBROKEN, uiIsGlobalPasswordSet(), uiMsg(), UIMSG_SKIPENCARC, UIWAIT_BADPSW, UnexpEndArcMsg(), UnkEncVerMsg(), FileHeader::UnknownUnpSize, FileHeader::UnpSize, FileHeader::UnpVer, CryptHeader::UsePswCheck, UtfToWide(), VER_UNKNOWN, VolNumber, Volume, and FileHeader::WinSize.

Referenced by ReadHeader().

◆ ReadSubData()

◆ RequestArcPassword()

◆ SearchBlock()

size_t Archive::SearchBlock ( HEADER_TYPE  HeaderType)

◆ SearchRR()

◆ SearchSubBlock()

size_t Archive::SearchSubBlock ( const wchar Type)

◆ SeekToNext()

◆ SetLatestTime()

void Archive::SetLatestTime ( RarTime NewTime)

◆ SetSilentOpen()

void Archive::SetSilentOpen ( bool  Mode)
inline

Definition at line 87 of file archive.hpp.

References SilentOpen.

◆ UnexpEndArcMsg()

void Archive::UnexpEndArcMsg ( )
private

◆ UnkEncVerMsg()

void Archive::UnkEncVerMsg ( const wchar Name,
const wchar Info 
)
private

◆ UpdateLatestTime()

void Archive::UpdateLatestTime ( FileHeader CurBlock)
private

◆ ViewComment()

void Archive::ViewComment ( )

◆ VolSubtractHeaderSize()

void Archive::VolSubtractHeaderSize ( size_t  SubSize)

◆ WCheckOpen()

bool Archive::WCheckOpen ( const wchar Name)

Definition at line 85 of file archive.cpp.

References File::Close(), File::FileName, IsArchive(), UIERROR_BADARCHIVE, uiMsg(), and File::WOpen().

Referenced by RecVolumes3::Restore().

Member Data Documentation

◆ AddingFilesSize

uint64 Archive::AddingFilesSize

Definition at line 139 of file archive.hpp.

Referenced by Archive().

◆ AddingHeadersSize

uint64 Archive::AddingHeadersSize

Definition at line 140 of file archive.hpp.

Referenced by Archive().

◆ ArcSalt

byte Archive::ArcSalt[SIZE_SALT50]

Definition at line 132 of file archive.hpp.

◆ BrokenHeader

◆ Cmd

◆ CommHead

CommentHeader Archive::CommHead

Definition at line 108 of file archive.hpp.

Referenced by DoGetComment(), and ReadHeader15().

◆ CryptHead

CryptHeader Archive::CryptHead

Definition at line 103 of file archive.hpp.

Referenced by Archive(), GetStartPos(), and ReadHeader50().

◆ CurBlockPos

◆ CurHeaderType

HEADER_TYPE Archive::CurHeaderType
private

◆ DummyCmd

bool Archive::DummyCmd
private

Definition at line 47 of file archive.hpp.

Referenced by Archive(), and ~Archive().

◆ EAHead

EAHeader Archive::EAHead

Definition at line 111 of file archive.hpp.

Referenced by ExtractACL20(), and ReadHeader15().

◆ Encrypted

bool Archive::Encrypted

◆ EndArcHead

◆ FailedHeaderDecryption

bool Archive::FailedHeaderDecryption

◆ FileHead

◆ FirstVolume

bool Archive::FirstVolume

◆ FirstVolumeName

wchar Archive::FirstVolumeName[NM]

Definition at line 144 of file archive.hpp.

Referenced by Archive(), CmdExtract::ExtrPrepareName(), and IsArchive().

◆ Format

◆ HeadersCrypt

CryptData Archive::HeadersCrypt
private

Definition at line 44 of file archive.hpp.

Referenced by ReadHeader15(), and ReadHeader50().

◆ LastReadBlock

int Archive::LastReadBlock
private

Definition at line 52 of file archive.hpp.

Referenced by Archive().

◆ LatestTime

RarTime Archive::LatestTime
private

Definition at line 51 of file archive.hpp.

Referenced by Archive().

◆ Locked

bool Archive::Locked

◆ MainComment

bool Archive::MainComment

◆ MainHead

◆ MarkHead

MarkHeader Archive::MarkHead

Definition at line 101 of file archive.hpp.

Referenced by GetStartPos(), and IsArchive().

◆ NewArchive

bool Archive::NewArchive

Definition at line 142 of file archive.hpp.

Referenced by Archive().

◆ NewNumbering

◆ NextBlockPos

◆ Protected

bool Archive::Protected

Definition at line 125 of file archive.hpp.

Referenced by Archive(), ListArchive(), RAROpenArchiveEx(), ReadHeader15(), and ReadHeader50().

◆ ProtectHead

ProtectHeader Archive::ProtectHead

Definition at line 109 of file archive.hpp.

Referenced by ReadHeader15().

◆ SFXSize

◆ ShortBlock

BaseBlock Archive::ShortBlock

Definition at line 100 of file archive.hpp.

Referenced by ReadHeader15(), and ReadHeader50().

◆ Signed

bool Archive::Signed

Definition at line 122 of file archive.hpp.

Referenced by Archive(), RAROpenArchiveEx(), ReadHeader15(), and ReadHeader50().

◆ SilentOpen

bool Archive::SilentOpen
private

Definition at line 55 of file archive.hpp.

Referenced by Archive(), IsArchive(), and SetSilentOpen().

◆ Solid

◆ Splitting

bool Archive::Splitting

Definition at line 135 of file archive.hpp.

Referenced by Archive().

◆ StreamHead

StreamHeader Archive::StreamHead

Definition at line 112 of file archive.hpp.

Referenced by ReadHeader15().

◆ SubBlockHead

SubBlockHeader Archive::SubBlockHead

Definition at line 106 of file archive.hpp.

Referenced by ReadHeader15(), and SetExtraInfo20().

◆ SubDataIO

ComprDataIO Archive::SubDataIO
private

Definition at line 46 of file archive.hpp.

Referenced by ReadSubData().

◆ SubHead

◆ UOHead

UnixOwnersHeader Archive::UOHead

Definition at line 110 of file archive.hpp.

Referenced by ExtractUnixOwner20(), and ReadHeader15().

◆ VolNumber

uint Archive::VolNumber

Definition at line 137 of file archive.hpp.

Referenced by Archive(), ListArchive(), ReadHeader15(), and ReadHeader50().

◆ Volume

◆ VolWrite

int64 Archive::VolWrite

Definition at line 138 of file archive.hpp.

Referenced by Archive().


The documentation for this class was generated from the following files: