1zzip_dir_stat(3)             zziplib Function List            zzip_dir_stat(3)
2
3
4

NAME

6       zzip_dir_stat, zzip_file_stat, zzip_fstat -     get meta infornation on
7       a zipped element.
8

SYNOPSIS

10       #include <zzip/lib.h>
11
12
13       int
14       zzip_dir_stat(ZZIP_DIR * dir, zzip_char_t * name, ZZIP_STAT * zs, int flags)
15
16       int
17       zzip_file_stat(ZZIP_FILE * file, ZZIP_STAT * zs)
18
19       int
20       zzip_fstat(ZZIP_FILE * file, ZZIP_STAT * zs)
21
22
23
24

DESCRIPTION

26        The zzip_dir_stat function obtains information about a filename in an
27       opened zip-archive without opening that file first. Mostly used to
28       obtain the uncompressed size of a file inside a zip-archive. see
29       zzip_dir_open.
30
31        The zzip_file_stat function will obtain information about a opened
32       file _within_ a zip-archive. The file is supposed to be open (otherwise
33       -1 is returned). The st_size stat-member contains the uncompressed
34       size. The optional d_name is never set here.
35
36        The zzip_fstat function will obtain information about a opened file
37       which may be either real/zipped. The file is supposed to be open
38       (otherwise -1 is returned). The st_size stat-member contains the
39       uncompressed size. The optional d_name is never set here. For a real
40       file, we do set the d_csize := st_size and d_compr := 0 for meaningful
41       defaults.
42
43
44

AUTHOR

46            Guido Draheim <guidod@gmx.de>      Tomi Ollila
47       <Tomi.Ollila@iki.fi>
48
49
50
52        Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
53
54
55
56
57
58zziplib                             0.13.72                   zzip_dir_stat(3)
Impressum