.TH "ZIP_SOURCE" "3" "August 2, 2014" "NiH" "Library Functions Manual" | |
.nh | |
.if n .ad l | |
.SH "NAME" | |
\fBzip_source\fR | |
\- zip data source structure | |
.SH "LIBRARY" | |
libzip (-lzip) | |
.SH "SYNOPSIS" | |
\fB#include <zip.h>\fR | |
.sp | |
\fIzip_source_t *zs\fR; | |
.SH "DESCRIPTION" | |
A | |
\fIstruct zip_source\fR | |
is a data source used by | |
libzip(3) | |
for adding or replacing file contents for a file in a zip archive. | |
It is created by calling one of | |
zip_source_buffer(3), | |
zip_source_file(3), | |
zip_source_filep(3), | |
zip_source_free(3), | |
zip_source_function(3), | |
or | |
zip_source_zip(3) | |
and passed to | |
zip_file_add(3) | |
or | |
zip_file_replace(3). | |
These functions will free the | |
\fIstruct zip_source\fR | |
when they are done using it, so | |
zip_source_free(3) | |
only needs to be called when these functions return an error. | |
.SH "SEE ALSO" | |
libzip(3), | |
zip_source_buffer(3), | |
zip_source_file(3), | |
zip_source_filep(3), | |
zip_source_free(3), | |
zip_source_function(3), | |
zip_source_zip(3) | |
.SH "AUTHORS" | |
Dieter Baron <\fIdillo@nih.at\fR> | |
and | |
Thomas Klausner <\fItk@giga.or.at\fR> |