#include <zzip/lib.h> int zzip_file_close(ZZIP_FILE * fp)
The zzip_file_close function is the direct call of zzip_close(fp). It will cleanup the inflate-portion of zlib and free the structure given.
it is called quite from the error-cleanup parts of the various _open functions.
the .refcount is decreased and if zero the fp->dir is closed just as well.
Guido Draheim <firstname.lastname@example.org> Tomi Ollila <Tomi.Ollila@iki.fi>
Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)