FFSM++
1.1.0
French Forest Sector Model ++
|
#include <unzip_p.h>
Public Member Functions | |
UnzipPrivate () | |
UnZip::ErrorCode | openArchive (QIODevice *device) |
UnZip::ErrorCode | seekToCentralDirectory () |
UnZip::ErrorCode | parseCentralDirectoryRecord () |
UnZip::ErrorCode | parseLocalHeaderRecord (const QString &path, ZipEntryP &entry) |
void | closeArchive () |
UnZip::ErrorCode | extractFile (const QString &path, ZipEntryP &entry, const QDir &dir, UnZip::ExtractionOptions options) |
UnZip::ErrorCode | extractFile (const QString &path, ZipEntryP &entry, QIODevice *device, UnZip::ExtractionOptions options) |
UnZip::ErrorCode | testPassword (quint32 *keys, const QString &file, const ZipEntryP &header) |
bool | testKeys (const ZipEntryP &header, quint32 *keys) |
bool | createDirectory (const QString &path) |
void | decryptBytes (quint32 *keys, char *buffer, qint64 read) |
quint32 | getULong (const unsigned char *data, quint32 offset) const |
quint64 | getULLong (const unsigned char *data, quint32 offset) const |
quint16 | getUShort (const unsigned char *data, quint32 offset) const |
int | decryptByte (quint32 key2) const |
void | updateKeys (quint32 *keys, int c) const |
void | initKeys (const QString &pwd, quint32 *keys) const |
QDateTime | convertDateTime (const unsigned char date[2], const unsigned char time[2]) const |
Public Attributes | |
QString | password |
bool | skipAllEncrypted |
QMap< QString, ZipEntryP * > * | headers |
QIODevice * | device |
char | buffer1 [UNZIP_READ_BUFFER] |
char | buffer2 [UNZIP_READ_BUFFER] |
unsigned char * | uBuffer |
const quint32 * | crcTable |
quint32 | cdOffset |
quint32 | eocdOffset |
quint16 | cdEntryCount |
quint16 | unsupportedEntryCount |
QString | comment |
UnzipPrivate | ( | ) |
void closeArchive | ( | ) |
Definition at line 948 of file unzip.cpp.
Referenced by UnZip::closeArchive().
|
inline |
Definition at line 1345 of file unzip.cpp.
Referenced by UnZip::entryList().
|
inline |
|
inline |
UnZip::ErrorCode extractFile | ( | const QString & | path, |
ZipEntryP & | entry, | ||
const QDir & | dir, | ||
UnZip::ExtractionOptions | options | ||
) |
Definition at line 972 of file unzip.cpp.
Referenced by UnZip::extractAll(), and UnZip::extractFile().
UnZip::ErrorCode extractFile | ( | const QString & | path, |
ZipEntryP & | entry, | ||
QIODevice * | device, | ||
UnZip::ExtractionOptions | options | ||
) |
Encryption header size
Definition at line 1043 of file unzip.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
UnZip::ErrorCode openArchive | ( | QIODevice * | device | ) |
Definition at line 500 of file unzip.cpp.
Referenced by UnZip::openArchive().
UnZip::ErrorCode parseCentralDirectoryRecord | ( | ) |
Definition at line 837 of file unzip.cpp.
UnZip::ErrorCode parseLocalHeaderRecord | ( | const QString & | path, |
ZipEntryP & | entry | ||
) |
Definition at line 574 of file unzip.cpp.
UnZip::ErrorCode seekToCentralDirectory | ( | ) |
Definition at line 713 of file unzip.cpp.
bool testKeys | ( | const ZipEntryP & | header, |
quint32 * | keys | ||
) |
UnZip::ErrorCode testPassword | ( | quint32 * | keys, |
const QString & | file, | ||
const ZipEntryP & | header | ||
) |
Definition at line 1298 of file unzip.cpp.
|
inline |
char buffer1[UNZIP_READ_BUFFER] |
char buffer2[UNZIP_READ_BUFFER] |
QString comment |
Definition at line 82 of file unzip_p.h.
Referenced by UnZip::archiveComment().
QIODevice* device |
Definition at line 63 of file unzip_p.h.
Referenced by UnZip::archiveComment(), UnZip::extractAll(), and UnZip::isOpen().
QMap<QString,ZipEntryP*>* headers |
Definition at line 61 of file unzip_p.h.
Referenced by UnZip::contains(), UnZip::entryList(), UnZip::extractAll(), UnZip::extractFile(), and UnZip::fileList().
QString password |
Definition at line 57 of file unzip_p.h.
Referenced by UnZip::setPassword().
bool skipAllEncrypted |
Definition at line 59 of file unzip_p.h.
Referenced by UnZip::extractAll().