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 *source  

DESCRIPTION

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_replace3  

HISTORY

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 tk@giga.or.at


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO
HISTORY
AUTHORS

This document was created by man2html, using the manual pages.
Time: 08:08:37 GMT, May 18, 2024