Skip to content

zip_source_make_command_bitmap(3)

Name

zip_source_make_command_bitmapcreate bitmap of supported source operations

Library

libzip (-lzip)

Synopsis

#include <zip.h>

zip_int64_t
zip_source_make_command_bitmap(zip_source_cmd_t command, ...);

Description

The zip_source_make_command_bitmap() function returns a bitmap of source commands suitable as return value for ZIP_SOURCE_SUPPORTS. It includes all the commands from the argument list, which must be terminated by -1.

See Also

libzip(3), zip_source_function(3)

History

zip_source_make_command_bitmap() was added in libzip 1.0.

Authors

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>