zzip_file_open(3)

NAME
zzip_file_open - start usage.

SYNOPSIS

#include <zzip/lib.h>

b'ZZIP_FILE *\fInzzip_file_open(ZZIP_DIR * dir, zzip_char_t * name, int o_mode)n'

DESCRIPTION
b' The zzip_file_open function opens an ZZIP_FILE from an already open ZZIP_DIR handle. Since we have a chance to reuse a cached buf32k and ZZIP_FILE memchunkthis is the best choice to unpack multiple files.

b'Note: the zlib supports 2..15 bit windowsize, hence we provide a 32kmemchunk here... just to be safe.

b'On error it returns null and sets errcode in the ZZIP_DIR.n

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

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