zzip_dir_open(3)

NAME
zzip_dir_open, zzip_dir_open_ext_io, zzip_dir_read - open zip-archive.

SYNOPSIS

#include <zzip/lib.h>

b'ZZIP_DIR *\fInzzip_dir_open(zzip_char_t * filename, zzip_error_t * e)
b'ZZIP_DIR *\fInzzip_dir_open_ext_io(zzip_char_t * filename, zzip_error_t * e,                    zzip_strings_t * ext, zzip_plugin_io_t io)
b'int\fInzzip_dir_read(ZZIP_DIR * dir, ZZIP_DIRENT * d)n'

DESCRIPTION
b' The zzip_dir_open function opens the given zip-archive (if available).The two ext_io arguments will default to use posix io anda set of default fileext that can atleast add .zip ext itself.n'

b' the zzip_dir_open_ext_io function uses explicit ext and io instead of the internaldefaults. Setting these to zero is equivalent to zzip_dir_openNote that the referenced ext_io plugin handlers structure must be static as it is not copied to the returned ZZIP_DIR structure.n'

b' fills the dirent-argument with the values andincrements the read-pointer of the dir-argument.

b'returns 0 if there no entry (anymore).n

AUTHOR
b'Guido Draheim <guidod@gmx.de>Tomi Ollila <too@iki.fi>

COPYRIGHT
b'Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)n'