zzip_file_real(3)

NAME
zzip_file_real, zzip_dir_real, zzip_realdir, zzip_realfd - check real or zipped file.

SYNOPSIS

#include <zzip/lib.h>

b'int\fInzzip_file_real(ZZIP_FILE * fp)
b'int\fInzzip_dir_real(ZZIP_DIR * dir)
b'void *\fInzzip_realdir(ZZIP_DIR * dir)
b'int\fInzzip_realfd(ZZIP_FILE * fp)n'

DESCRIPTION
b" The zzip_file_real function checks if the ZZIP_FILE-handle is wrappinga real file or a zip-contained file.Returns 1 for a stat'able file, and 0 for a file inside a zip-archive.n"

b" The zzip_dir_real function checks if the ZZIP_DIR-handle is wrappinga real directory or a zip-archive.Returns 1 for a stat'able directory, and 0 for a handle to zip-archive.n"

b' The zzip_realdir function returns the posix DIR* handle (if one exists).Check before with zzip_dir_real if thethe ZZIP_DIR points to a real directory.n'

b' The zzip_realfd function returns the posix file descriptor (if one exists).Check before with zzip_file_real if thethe ZZIP_FILE points to a real file.n

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

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