— (zzip/dir.c) zzip_rewinddir, zzip_telldir, zzip_seekdir
#include <zzip/zzip.h> // or <zziplib.h>
void
zzip_rewinddir();
ZZIP_DIR * dir;
zzip_off_t
zzip_telldir();
ZZIP_DIR* dir;
void
zzip_seekdir( | , | |
); |
| ; | |
| ; |
The zzip_rewinddir function is the equivalent of a rewinddir(2) for a realdir or the zipfile in place of a directory. The ZZIP_DIR handle returned from zzip_opendir has a flag saying realdir or zipfile. As for a zipfile, the filenames will include the filesubpath, so take care.
The zzip_telldir function is the equivalent of telldir(2) for a realdir or zipfile.
The zzip_seekdir function is the equivalent of seekdir(2) for a realdir or zipfile.
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