1ZIP_COMPRESSION_METHO... BSD Library Functions Manual ZIP_COMPRESSION_METHO...
2

NAME

4     zip_compression_method_supported — return if a compression method is sup‐
5     ported
6

LIBRARY

8     libzip (-lzip)
9

SYNOPSIS

11     #include <zip.h>
12
13     int
14     zip_compression_method_supported(zip_int32_t method, int compress);
15

DESCRIPTION

17     The zip_compression_method_supported() returns if the compression method
18     method is supported for compression (if compress is zero) or decompres‐
19     sion (otherwise).
20

RETURN VALUES

22     Returns 1 if the method is supported, 0 otherwise.
23

SEE ALSO

25     libzip(3), zip_encryption_method_supported(3),
26     zip_set_file_compression(3)
27

HISTORY

29     zip_compression_method_supported() was added in libzip 1.7.0.
30

AUTHORS

32     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
33
34BSD                              April 2, 2020                             BSD
Impressum