1ZIP_GET_ARCHIVE_FLAG(3) Library Functions Manual ZIP_GET_ARCHIVE_FLAG(3)
2
3
4
6 zip_get_archive_flag - get status flags for zip
7
9 libzip (-lzip)
10
12 #include <zip.h>
13
14 int zip_get_archive_flag(struct zip *archive, int flag, int flags);
15
17 The zip_get_archive_flag function returns if the flag flag is set for
18 the archive archive. The archive flags might have been changed with
19 zip_set_archive_flag; if flags is set to ZIP_FL_UNCHANGED, the original
20 unchanged flags are tested.
21
22 Supported flags are:
23
24 ZIP_AFL_TORRENT The archive is torrent-zipped.
25
27 zip_get_archive_flag returns 1 if flag is set for archive, 0 if not,
28 and -1 if an error occurred.
29
31 libzip(3), zip_set_archive_flag(3)
32
34 Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
35
36
37
38NiH June 4, 2008 ZIP_GET_ARCHIVE_FLAG(3)