www.LinuxHowtos.org
ZIP_ADD
Section: C Library Functions (3)Index Return to Main Contents
BSD mandoc
NAME
zip_add zip_replace - add file to zip archive or replace file in zip archive (obsolete interface)LIBRARY
libzip -lzip)SYNOPSIS
In zip.h Ft zip_int64_t Fn zip_add zip_t *archive const char *name zip_source_t *source Ft int Fn zip_replace zip_t *archive zip_uint64_t index zip_source_t *sourceDESCRIPTION
The function Fn zip_add is the obsolete version of zip_file_add3. It is the same as calling zip_file_add3 with an empty flags argument. Similarly, the Fn zip_replace function is the obsolete version of zip_file_replace3. It is the same as calling zip_file_replace3 with an empty flags argument.SEE ALSO
libzip(3), zip_file_add3, zip_file_replace3HISTORY
Fn zip_add was added in libzip 0.6. In libzip 0.10 the return type was changed from Vt int to Vt zip_int64_t . It was deprecated in libzip 0.11, use Fn zip_file_add instead.Fn zip_replace was added in libzip 0.6. In libzip 0.10 the type of index was changed from Vt int to Vt zip_uint64_t . It was deprecated in libzip 0.11, use Fn zip_file_replace instead.
AUTHORS
An -nosplit An Dieter Baron Aq Mt dillo@nih.at and An Thomas Klausner Aq Mt wiz@gatalith.at