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
12 ZZIP_DIR *
13 zzip_dir_open(zzip_char_t * filename, zzip_error_t * e)
14
15 ZZIP_DIR *
16 zzip_dir_open_ext_io(zzip_char_t * filename, zzip_error_t * e,
17 zzip_strings_t * ext, zzip_plugin_io_t io)
18
19 int
20 zzip_dir_read(ZZIP_DIR * dir, ZZIP_DIRENT * d)
21
22
23
24
26 The zzip_dir_open function opens the given zip-archive (if available).
27 The two ext_io arguments will default to use posix io and a set of
28 default fileext that can atleast add .zip ext itself.
29
30 the zzip_dir_open_ext_io function uses explicit ext and io instead of
31 the internal defaults. Setting these to zero is equivalent to
32 zzip_dir_open Note that the referenced ext_io plugin handlers structure
33 must be static as it is not copied to the returned ZZIP_DIR structure.
34
35 fills the dirent-argument with the values and increments the read-
36 pointer of the dir-argument.
37
38 returns 0 if there no entry (anymore).
39
40
41
43 Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
44
45
46
48 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
49
50
51
52
53
54zziplib 0.13.72 zzip_dir_open(3)