Get number of files in archive
libzip (-lzip)
#include <zip.h>
int
zip_get_num_files(struct zip *archive);
This function is deprecated. Use zip_get_num_entries(3) instead.
The zip_get_num_files() function returns the number of files in archive.
zip_get_num_files() returns the number of files in the zip archive, or -1 if archive is NULL.
Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>