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)  

FileHeader Struct Reference

#include <headers.hpp>

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

Public Member Functions

void Reset (size_t SubDataSize=0)
 
bool CmpName (const wchar *Name)
 
FileHeaderoperator= (FileHeader &hd)
 
- Public Member Functions inherited from BaseBlock
void Reset ()
 

Public Attributes

byte HostOS
 
uint UnpVer
 
byte Method
 
union {
   uint   FileAttr
 
   uint   SubFlags
 
}; 
 
wchar FileName [NM]
 
Array< byteSubData
 
RarTime mtime
 
RarTime ctime
 
RarTime atime
 
int64 PackSize
 
int64 UnpSize
 
int64 MaxSize
 
HashValue FileHash
 
uint FileFlags
 
bool SplitBefore
 
bool SplitAfter
 
bool UnknownUnpSize
 
bool Encrypted
 
CRYPT_METHOD CryptMethod
 
bool SaltSet
 
byte Salt [SIZE_SALT50]
 
byte InitV [SIZE_INITV]
 
bool UsePswCheck
 
byte PswCheck [SIZE_PSWCHECK]
 
bool UseHashKey
 
byte HashKey [SHA256_DIGEST_SIZE]
 
uint Lg2Count
 
bool Solid
 
bool Dir
 
bool CommentInHeader
 
bool Version
 
size_t WinSize
 
bool Inherited
 
bool LargeFile
 
bool SubBlock
 
HOST_SYSTEM_TYPE HSType
 
FILE_SYSTEM_REDIRECT RedirType
 
wchar RedirName [NM]
 
bool DirTarget
 
bool UnixOwnerSet
 
bool UnixOwnerNumeric
 
bool UnixGroupNumeric
 
char UnixOwnerName [256]
 
char UnixGroupName [256]
 
uint UnixOwnerID
 
uint UnixGroupID
 
- Public Attributes inherited from BlockHeader
uint DataSize
 
- Public Attributes inherited from BaseBlock
uint HeadCRC
 
HEADER_TYPE HeaderType
 
uint Flags
 
uint HeadSize
 
bool SkipIfUnknown
 

Detailed Description

Definition at line 175 of file headers.hpp.

Member Function Documentation

◆ CmpName()

bool FileHeader::CmpName ( const wchar Name)
inline

◆ operator=()

FileHeader & FileHeader::operator= ( FileHeader hd)

Definition at line 40 of file headers.cpp.

References Array< T >::CleanData(), Array< T >::Reset(), and SubData.

◆ Reset()

Member Data Documentation

◆ 

union { ... } FileHeader::@7

◆ atime

◆ CommentInHeader

bool FileHeader::CommentInHeader

Definition at line 224 of file headers.hpp.

Referenced by Archive::ReadHeader15(), and Reset().

◆ CryptMethod

◆ ctime

◆ Dir

◆ DirTarget

bool FileHeader::DirTarget

Definition at line 240 of file headers.hpp.

Referenced by CreateReparsePoint(), Archive::ProcessExtra50(), RARReadHeaderEx(), and Reset().

◆ Encrypted

◆ FileAttr

◆ FileFlags

uint FileHeader::FileFlags

Definition at line 198 of file headers.hpp.

Referenced by Archive::ReadHeader50().

◆ FileHash

◆ FileName

◆ HashKey

◆ HostOS

byte FileHeader::HostOS

◆ HSType

◆ Inherited

bool FileHeader::Inherited

Definition at line 227 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ReadHeader15(), Archive::ReadHeader50(), and Reset().

◆ InitV

◆ LargeFile

bool FileHeader::LargeFile

Definition at line 230 of file headers.hpp.

Referenced by Archive::ReadHeader15(), Archive::ReadHeader50(), and Reset().

◆ Lg2Count

uint FileHeader::Lg2Count

◆ MaxSize

int64 FileHeader::MaxSize

Definition at line 194 of file headers.hpp.

Referenced by Archive::ReadHeader50().

◆ Method

◆ mtime

◆ PackSize

◆ PswCheck

◆ RedirName

◆ RedirType

◆ Salt

◆ SaltSet

bool FileHeader::SaltSet

◆ Solid

◆ SplitAfter

◆ SplitBefore

◆ SubBlock

bool FileHeader::SubBlock

Definition at line 234 of file headers.hpp.

Referenced by Archive::ReadHeader15(), Archive::ReadHeader50(), and Reset().

◆ SubData

◆ SubFlags

uint FileHeader::SubFlags

Definition at line 182 of file headers.hpp.

Referenced by Archive::ReadCommentData(), Archive::ReadHeader15(), and Reset().

◆ UnixGroupID

uint FileHeader::UnixGroupID

Definition at line 249 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), and SetUnixOwner().

◆ UnixGroupName

char FileHeader::UnixGroupName[256]

Definition at line 243 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), and SetUnixOwner().

◆ UnixGroupNumeric

bool FileHeader::UnixGroupNumeric

Definition at line 242 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), and SetUnixOwner().

◆ UnixOwnerID

uint FileHeader::UnixOwnerID

Definition at line 248 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), and SetUnixOwner().

◆ UnixOwnerName

char FileHeader::UnixOwnerName[256]

Definition at line 243 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), and SetUnixOwner().

◆ UnixOwnerNumeric

bool FileHeader::UnixOwnerNumeric

Definition at line 242 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), and SetUnixOwner().

◆ UnixOwnerSet

bool FileHeader::UnixOwnerSet

Definition at line 242 of file headers.hpp.

Referenced by ListFileHeader(), Archive::ProcessExtra50(), Reset(), and SetFileHeaderExtra().

◆ UnknownUnpSize

bool FileHeader::UnknownUnpSize

Definition at line 203 of file headers.hpp.

Referenced by Archive::ReadHeader15(), Archive::ReadHeader50(), and Reset().

◆ UnpSize

◆ UnpVer

◆ UseHashKey

◆ UsePswCheck

bool FileHeader::UsePswCheck

Definition at line 210 of file headers.hpp.

Referenced by CmdExtract::ExtractCurrentFile(), Archive::ProcessExtra50(), and Reset().

◆ Version

bool FileHeader::Version

◆ WinSize


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