Skip Navigation Links
Skip Navigation LinksHome > ZipArchive > How to Use > API Documentation
_features.h File Reference

Macros

#define _ZIP_AES
 
#define _ZIP_BZIP2
 
#define _ZIP_BZIP2_INTERNAL   1
 
#define _ZIP_FILE_IMPLEMENTATION   ZIP_ZFI_DEFAULT
 
#define _ZIP_SEEK
 
#define _ZIP_UNICODE
 
#define _ZIP_UNICODE_CUSTOM
 
#define _ZIP_UNICODE_NORMALIZE
 
#define _ZIP_USE_LOCKING
 
#define _ZIP_ZIP64
 
#define ZIP_ZFI_DEFAULT   0
 
#define ZIP_ZFI_STL   1
 
#define ZIP_ZFI_WIN   2
 
#define ZIPARCHIVE_FEATURES_DOT_H
 

Detailed Description

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

Macro Definition Documentation

#define _ZIP_AES

Define it, if you use AES.

See Also
Encryption Methods: How to Best Protect Your Data
#define _ZIP_BZIP2

Define it, if you use the BZIP2 algorithm for compression.

See Also
Compressing Data
#define _ZIP_BZIP2_INTERNAL   1

Define it, if you want to use the bzip2 sources that come with the ZipArchive Library.

See Also
Compressing Data
#define _ZIP_FILE_IMPLEMENTATION   ZIP_ZFI_DEFAULT

Active implementation of CZipFile class.

See Also
Compilation of the ZipArchive Library and Integration with Applications
#define _ZIP_SEEK

Define it, if you want to create seekable data.

See Also
Creating Seekable Compressed Data
#define _ZIP_UNICODE

Define it, if you want to use Unicode support for filenames and comments (WinZip compatible). This functionality is available in the Full Version only. Under Windows, this functionality requires Unicode compilation.

See Also
Unicode Support: Using Non-English Characters in Filenames, Comments and Passwords
#define _ZIP_UNICODE_CUSTOM

Define it, if you want to use custom Unicode support for filenames and comments provided by the ZipArchive Library. This functionality is available only under Windows and is deprecated. Requires Unicode compilation.

See Also
Unicode Support: Using Non-English Characters in Filenames, Comments and Passwords
#define _ZIP_UNICODE_NORMALIZE

Define it, if you use Unicode and under Windows you decompress archives from systems that use different Unicode Normalization form for filenames (like OS X). This functionality is available only under Windows and requires Unicode compilation.

See Also
Unicode Support: Using Non-English Characters in Filenames, Comments and Passwords
#define _ZIP_USE_LOCKING

Define it, if you use the AES encryption in a multithreaded environment or archive sharing (CZipArchive::OpenFrom).

See Also
Encryption Methods: How to Best Protect Your Data
Extracting Data and Testing Archives
#define _ZIP_ZIP64
#define ZIP_ZFI_DEFAULT   0

Default implementation of CZipFile class.

See Also
Compilation of the ZipArchive Library and Integration with Applications
#define ZIP_ZFI_STL   1

STL implementation of CZipFile class.

See Also
Compilation of the ZipArchive Library and Integration with Applications
#define ZIP_ZFI_WIN   2

Windows API implementation of CZipFile class.

See Also
Compilation of the ZipArchive Library and Integration with Applications
Back To Top Up