1ZZIP_DIR_OPEN(3) zziplib Function List ZZIP_DIR_OPEN(3)
2
3
4
6 zzip_dir_open, zzip_dir_open_ext_io, zzip_dir_read - open zip-archive.
7
9 #include <zzip/lib.h>
10
11 ZZIP_DIR * zzip_dir_open((zzip_char_t * filename, zzip_error_t * e));
12
13 ZZIP_DIR *
14 zzip_dir_open_ext_io((zzip_char_t * filename, zzip_error_t * e, zzip_strings_t * ext, zzip_plugin_io_t io));
15
16 int zzip_dir_read((ZZIP_DIR * dir, ZZIP_DIRENT * d));
17
19 The zzip_dir_open function opens the given zip-archive (if available).
20 The two ext_io arguments will default to use posix io and a set of
21 default fileext that can atleast add .zip ext itself.
22
23 the zzip_dir_open_ext_io function uses explicit ext and io instead of
24 the internal defaults. Setting these to zero is equivalent to
25 zzip_dir_open Note that the referenced ext_io plugin handlers structure
26 must be static as it is not copied to the returned ZZIP_DIR structure.
27
28 fills the dirent-argument with the values and increments the
29 read-pointer of the dir-argument.
30
31 returns 0 if there no entry (anymore).
32
34 ยท Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
35
37 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
38
39
40
41zziplib 0.13.71 ZZIP_DIR_OPEN(3)