zzip_dirhandle(3)

NAME
zzip_dirhandle, zzip_dirfd - get handle.

SYNOPSIS

#include <zzip/lib.h>

b'ZZIP_DIR *\fInzzip_dirhandle(ZZIP_FILE * fp)
b'int\fInzzip_dirfd(ZZIP_DIR * dir)n'

DESCRIPTION
b' The zzip_dirhandle function will just return the fp->dir value.

b'If a ZZIP_FILE is contained within a zip-file that one will be a validpointer, otherwise a NULL is returned and the ZZIP_FILE wraps a real file.n'

b' The zzip_dirfd function will just return dir->fd

b'If a ZZIP_DIR does point to a zipfile then the file-descriptor of thatzipfile is returned, otherwise a NULL is returned and the ZZIP_DIR wrapsa real directory DIR (if you have dirent on your system).n

AUTHOR
b'Guido Draheim <guidod@gmx.de>

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