ZIP_SOURCE_PASS_TO_LOWER_LAYER(3) Library Functions Manual ZIP_SOURCE_PASS_TO_LOWER_LAYER(3)

zip_source_pass_to_lower_layer — pass command to lower layer

libzip (-lzip)

#include <zip.h>

zip_int64_t
zip_source_pass_to_lower_layer(zip_source_t *source, void *data, zip_uint64_t length, zip_source_cmd_t command);

The functions () is used in a layered source callback to pass commands for which you don't want to change the result to the lower layer. You can use it in the default case of the callback.

The return value is meant to be returned by the callback.

libzip(3), zip_source(5), zip_source_layered(3)

zip_source_pass_to_lower_layer() was added in libzip 1.10.

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

December 5, 2022 NiH