1ZZIP_DIR_ALLOC_EXT_I(3) zziplib Function List ZZIP_DIR_ALLOC_EXT_I(3)
2
3
4
6 zzip_dir_alloc_ext_io, zzip_dir_alloc - start usage.
7
9 #include <zzip/lib.h>
10
11 ZZIP_DIR *
12 zzip_dir_alloc_ext_io((zzip_strings_t * ext, const zzip_plugin_io_t io));
13
14 ZZIP_DIR * zzip_dir_alloc((zzip_strings_t * fileext));
15
17 The zzip_dir_alloc_ext_io function allocates a new ZZIP_DIR handle and
18 do basic initializations before usage by zzip_dir_fdopen zzip_dir_open
19 zzip_file_open or through zzip_open (ext==null flags uses { ".zip" ,
20 ".ZIP" } ) (io ==null flags use of posix io defaults)
21
22 The zzip_dir_alloc function is obsolete - it was generally used for
23 implementation and exported to let other code build on it. It is now
24 advised to use zzip_dir_alloc_ext_io now on explicitly, just set that
25 second argument to zero to achieve the same functionality as the old
26 style.
27
29 ยท Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
30
32 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
33
35 zzip_dir_free
36
37
38
39zziplib 0.13.71 ZZIP_DIR_ALLOC_EXT_I(3)