— (../../zzip/dir.c) zzip_readdir
#include <zziplib.h>
ZZIP_DIRENT*
zzip_readdir( | ) ; |
; |
The zzip_readdir function is the equivalent of a readdir(2) for a realdir or a zipfile referenced by the ZZIP_DIR returned from zzip_opendir.
The ZZIP_DIR handle (as returned by zzip_opendir) contains a few more entries than being copied into the ZZIP_DIRENT. The only valid fields in a ZZIP_DIRENT are d_name (the file name), d_compr (compression), d_csize (compressed size), st_size (uncompressed size).
Guido Draheim <guidod@gmx.de>
(c) 1999,2000,2001,2002 Guido Draheim All rights reserved, use under the restrictions of the Lesser GNU General Public License note the additional license information that can be found in COPYING.ZZIP