1ZIP_SET_ARCHIVE_FLAG(3)    Library Functions Manual    ZIP_SET_ARCHIVE_FLAG(3)
2
3
4

NAME

6       zip_set_archive_flag - set zip archive flag
7

LIBRARY

9       libzip (-lzip)
10

SYNOPSIS

12       #include <zip.h>
13
14       int zip_set_archive_flag(struct zip *archive, int flag, int value);
15

DESCRIPTION

17       The  zip_set_archive_flag  function  sets the flag flag for the archive
18       archive to the value value.
19
20       Supported flags are:
21
22              ZIP_AFL_TORRENT      Create  a  torrent-zipped  archive.    This
23                                   restricts  the  values that can be set from
24                                   the application side.  In particular,  time
25                                   stamps  are  not saved and the order of the
26                                   files in the archive is  alphabetical.   No
27                                   file  comments  or  extended attributes are
28                                   allowed and the archive comment can not  be
29                                   chosen.
30

RETURN VALUES

32       Upon successful completion 0 is returned, and -1 if an error occurred.
33

SEE ALSO

35       libzip(3), zip_get_archive_flag(3)
36

AUTHORS

38       Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
39
40
41
42NiH                              June 4, 2008          ZIP_SET_ARCHIVE_FLAG(3)
Impressum