Skip Navigation Links
Skip Navigation LinksHome > ZipArchive > How to Use > API Documentation

_features.h File Reference


Defines

#define _BZIP2
#define _ZIP64
#define _ZIP_AES
#define _ZIP_SEEK
#define ZIP_ARCHIVE_BZIP2_INTERNAL   1
#define ZIP_ARCHIVE_USE_LOCKING

Detailed Description

Contains definitions that enable or disable certain features in the ZipArchive Library.

Define Documentation

#define _BZIP2

Make sure it is defined, if you use the BZIP2 algorithm for compression. Comment this out otherwise.

See also:
Compressing Data

#define _ZIP64

Make sure it is defined, if you use ZIP64. Comment this out otherwise.

See also:
Zip64 Format: Crossing the Limits of File Sizes and Number of Files and Segments

#define _ZIP_AES

Make sure it is defined, if you use AES. Comment this out otherwise.

See also:
Encryption Methods: How to Best Protect Your Data

#define _ZIP_SEEK

Make sure it is defined, if you want to create seekable data.

See also:
Creating Seekable Compressed Data

#define ZIP_ARCHIVE_USE_LOCKING

Make sure it is defined, if you use the AES encryption in a multithreaded environment or archive sharing (CZipArchive::OpenFrom). Comment this out otherwise.

See also:
Encryption Methods: How to Best Protect Your Data

Extracting Data and Testing Archives

Back To Top Up